/* Profile Page Specific Styles */

/* ===== PUBLIC NAVBAR RESPONSIVE STYLES ===== */
.public-navbar {
    background-color: #EDDCD9;
    border-bottom: 2px solid #264143;
    box-shadow: 0 2px 10px rgba(38, 65, 67, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

.navbar-left {
    flex: 0 0 auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: #264143;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand i {
    font-size: 28px;
}

.navbar-brand span {
    font-family: 'Arial', sans-serif;
}

.navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* When navbar-center is hidden (authenticated users), adjust layout */
.navbar-container:not(:has(.navbar-center)) {
    justify-content: space-between;
}

.navbar-container:not(:has(.navbar-center)) .navbar-left {
    flex: 1;
}

.navbar-container:not(:has(.navbar-center)) .navbar-right {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.navbar-card-link {
    text-decoration: none;
}

.navbar-card {
    background-color: #EDDCD9;
    border: 2px solid #264143;
    border-radius: 12px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 0px 1px #E99F4C;
    min-width: 160px;
}

.navbar-card:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0px 2px #E99F4C;
    border-color: #DE5499;
}

.btn-home {
    background: linear-gradient(135deg, #264143 0%, #3a5c5f 100%);
    color: white;
}

.btn-home:hover {
    background: linear-gradient(135deg, #3a5c5f 0%, #264143 100%);
}

.card-section {
    text-align: center;
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.card-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

.navbar-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.navbar-user-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #264143;
    color: white;
    border: 2px solid #E99F4C;
    border-radius: 25px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 2px 2px 0px 1px #DE5499;
}

.navbar-user-btn:hover {
    background: #3a5c5f;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px 2px #DE5499;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: #DE5499;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar i {
    font-size: 16px;
    color: white;
}

.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown Menu */
.navbar-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #EDDCD9;
    border: 2px solid #264143;
    border-radius: 12px;
    box-shadow: 5px 5px 0px 2px #E99F4C;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1100;
}

.navbar-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 20px;
    border-bottom: 2px solid #E99F4C;
}

.user-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar-large {
    width: 50px;
    height: 50px;
    background: #DE5499;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #264143;
    overflow: hidden;
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar-large i {
    font-size: 24px;
    color: white;
}

.user-details .user-name {
    font-size: 16px;
    font-weight: 600;
    color: #264143;
    margin-bottom: 4px;
    max-width: none;
}

.user-details .user-email {
    font-size: 14px;
    color: #666;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #264143;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(222, 84, 153, 0.1);
    color: #DE5499;
}

.dropdown-item i {
    font-size: 16px;
    width: 20px;
}

.dropdown-divider {
    height: 1px;
    background: #E99F4C;
    margin: 8px 0;
}

.logout-btn {
    color: #DC3545 !important;
}

.logout-btn:hover {
    background: rgba(220, 53, 69, 0.1) !important;
}

/* Guest Actions */
.navbar-actions {
    display: flex;
    gap: 12px;
}

.btn-login {
    background: linear-gradient(135deg, #DE5499 0%, #c9458a 100%);
    color: white;
}

.btn-login:hover {
    background: linear-gradient(135deg, #c9458a 0%, #DE5499 100%);
}

.btn-register {
    background: linear-gradient(135deg, #E99F4C 0%, #d18a35 100%);
    color: white;
}

.btn-register:hover {
    background: linear-gradient(135deg, #d18a35 0%, #E99F4C 100%);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: #264143;
    color: white;
    border: 2px solid #E99F4C;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #3a5c5f;
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #EDDCD9;
    border-top: 2px solid #264143;
    box-shadow: 0 5px 15px rgba(38, 65, 67, 0.2);
    z-index: 1050;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-card-link {
    display: block;
    text-decoration: none;
    margin-bottom: 15px;
}

.mobile-card {
    background-color: #EDDCD9;
    border: 2px solid #264143;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 0px 1px #E99F4C;
    text-align: center;
}

.mobile-card:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px 2px #E99F4C;
}

.mobile-card-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mobile-card-icon {
    font-size: 20px;
}

.mobile-card-title {
    font-size: 16px;
    font-weight: 600;
}

.mobile-card-subtitle {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    color: #264143;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(38, 65, 67, 0.1);
    transition: all 0.3s ease;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.mobile-menu-item:hover {
    color: #DE5499;
    padding-left: 10px;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-divider {
    height: 2px;
    background: #E99F4C;
    margin: 15px 0;
}

.mobile-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 15px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 15px;
        height: 60px;
    }

    .navbar-center {
        display: none;
    }

    .navbar-actions {
        display: none;
    }

    .user-name {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .navbar-brand i {
        font-size: 24px;
    }

    .navbar-dropdown {
        right: -10px;
        min-width: 280px;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu.show {
        display: block;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 10px;
        height: 55px;
    }

    .navbar-brand {
        font-size: 18px;
    }

    .navbar-brand i {
        font-size: 20px;
    }

    .navbar-dropdown {
        right: -15px;
        left: 15px;
        min-width: auto;
    }

    .mobile-cards-container {
        grid-template-columns: 1fr;
    }

    .mobile-card-section {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 360px) {
    .navbar-container {
        padding: 0 8px;
    }

    .navbar-brand span {
        font-size: 16px;
    }

    .user-avatar {
        width: 28px;
        height: 28px;
    }

    .navbar-user-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-title {
    color: #264143;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-subtitle {
    color: #264143;
    font-size: 16px;
    opacity: 0.8;
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-card {
    background-color: #EDDCD9;
    border: 2px solid #264143;
    border-radius: 20px;
    box-shadow: 3px 4px 0px 1px #E99F4C;
    padding: 30px;
    margin-bottom: 30px;
}

/* Avatar Section */
.avatar-section {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #E99F4C;
}

.avatar-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.current-avatar {
    width: 120px;
    height: 120px;
    background-color: #E99F4C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    border: 3px solid #264143;
    box-shadow: 2px 2px 0px 1px #DE5499;
}

.avatar-upload-btn {
    background: #DE5499;
    color: white;
    border: 2px solid #264143;
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 2px 2px 0px 1px #E99F4C;
}

.avatar-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px 1px #E99F4C;
    background: #c9458a;
}

.upload-hint {
    color: #264143;
    font-size: 12px;
    opacity: 0.7;
    text-align: center;
    margin-top: 5px;
    display: block;
}

.current-avatar {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.current-avatar:hover {
    transform: scale(1.02);
}

.current-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.current-avatar:hover::before {
    opacity: 1;
}

.current-avatar::after {
    content: '\f030';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.current-avatar:hover::after {
    opacity: 1;
}

/* Form Sections */
.form-section {
    margin-bottom: 25px;
}

.section-title {
    color: #264143;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(38, 65, 67, 0.2);
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    color: #264143;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #264143;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    background: white;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #DE5499;
    box-shadow: 2px 2px 0px 1px #E99F4C;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.form-hint {
    color: #666;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    font-style: italic;
    line-height: 1.4;
}

/* Info Items */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(38, 65, 67, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #264143;
    font-weight: 600;
    font-size: 14px;
}

.info-value {
    color: #264143;
    font-weight: 500;
    font-size: 14px;
}

.status-active {
    color: #059669;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #E99F4C;
}

.btn-cancel,
.btn-save {
    padding: 12px 20px;
    border: 2px solid #264143;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    min-width: 150px;
    justify-content: center;
    box-shadow: 2px 2px 0px 1px #E99F4C;
}

.btn-cancel {
    background: #9CA3AF;
    color: white;
}

.btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px 1px #E99F4C;
    background: #6B7280;
}

.btn-save {
    background: #10B981;
    color: white;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px 1px #E99F4C;
    background: #059669;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-container {
        max-width: 90%;
        margin: 0 auto;
    }

    .page-header {
        padding: 0 20px;
    }

    .profile-card {
        margin: 0 20px;
    }
}

@media (max-width: 768px) {
    .profile-container {
        max-width: 95%;
        padding: 8px;
        margin: 0 auto;
    }

    .page-header {
        padding: 0 15px;
        text-align: center;
        margin-bottom: 15px;
    }

    .page-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .profile-card {
        margin: 0;
        padding: 15px;
        border-radius: 15px;
        margin-bottom: 15px;
    }

    /* Avatar section responsive */
    .avatar-section {
        text-align: center;
        margin-bottom: 20px;
    }

    .current-avatar {
        width: 100px;
        height: 100px;
        font-size: 40px;
        margin: 0 auto 15px;
    }

    .avatar-upload-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .upload-hint {
        font-size: 12px;
        margin-top: 8px;
    }

    .avatar-upload-btn {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        padding: 10px 15px;
        font-size: 14px;
    }

    .upload-hint {
        font-size: 11px;
        text-align: center;
    }

    /* Form sections responsive */
    .form-section {
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 15px;
        text-align: center;
        color: #264143;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .form-input,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 15px;
        border-radius: 10px;
    }

    .form-textarea {
        min-height: 80px;
    }

    /* Info items responsive */
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px 15px;
        margin-bottom: 10px;
        background: #F8F9FA;
        border-radius: 8px;
        border: 1px solid #E5E7EB;
    }

    .info-label {
        font-size: 12px;
        font-weight: 600;
        color: #6B7280;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .info-value {
        font-size: 14px;
        font-weight: 500;
        color: #374151;
    }

    /* Form actions responsive */
    .form-actions {
        flex-direction: column;
        gap: 10px;
        position: sticky;
        bottom: 0;
        background: white;
        padding: 15px;
        margin: -15px;
        border-top: 1px solid #E5E7EB;
        border-radius: 0 0 16px 16px;
    }

    .btn-cancel,
    .btn-save {
        min-width: auto;
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 10px;
    }

    .btn-save {
        order: -1; /* Put save button first on mobile */
    }
}

@media (max-width: 480px) {
    .profile-container {
        padding: 5px;
    }

    .page-header {
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .page-title {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .page-subtitle {
        font-size: 12px;
    }

    .profile-card {
        margin: 0;
        padding: 15px;
        border-radius: 15px;
        margin-bottom: 15px;
    }

    /* Avatar section - extra small screens */
    .current-avatar {
        width: 100px;
        height: 100px;
        font-size: 36px;
        margin: 0 auto 10px;
    }

    .avatar-upload-btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    .upload-hint {
        font-size: 11px;
    }

    .avatar-upload-btn {
        font-size: 12px;
        padding: 8px 12px;
        max-width: 180px;
    }

    /* Form elements - extra small screens */
    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-label {
        font-size: 13px;
        margin-bottom: 5px;
        font-weight: 600;
    }

    .form-input,
    .form-textarea {
        padding: 10px 12px;
        font-size: 16px;
        border-radius: 8px;
        border: 2px solid #264143;
        background: white;
    }

    .form-input:focus,
    .form-textarea:focus {
        outline: none;
        border-color: #DE5499;
        box-shadow: 0 0 0 3px rgba(222, 84, 153, 0.1);
    }

    .form-textarea {
        min-height: 70px;
        resize: vertical;
    }

    .form-hint {
        font-size: 11px;
        color: #666;
        margin-top: 4px;
        line-height: 1.3;
    }

    /* Info items - extra small screens */
    .info-item {
        padding: 10px 12px;
        margin-bottom: 8px;
    }

    .info-label {
        font-size: 11px;
    }

    .info-value {
        font-size: 13px;
    }

    /* Form actions - extra small screens */
    .form-actions {
        padding: 12px;
        margin: -10px;
    }

    .btn-cancel,
    .btn-save {
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 8px;
    }
}

/* Additional responsive utilities */
.mobile-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-full-width {
    width: 100%;
}

.mobile-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

    /* Form sections responsive */
    .form-section {
        margin-bottom: 20px;
        padding: 15px;
        background: white;
        border-radius: 12px;
        border: 2px solid #264143;
        box-shadow: 1px 2px 0px 0px #E99F4C;
    }

    .section-title {
        font-size: 16px;
        margin-bottom: 15px;
        color: #264143;
        font-weight: 700;
    }

    /* Form groups responsive */
    .form-group {
        margin-bottom: 20px;
    }

    .form-label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #264143;
        font-size: 14px;
    }

    .form-input,
    .form-textarea,
    .form-select {
        width: 100%;
        padding: 12px;
        border: 2px solid #264143;
        border-radius: 8px;
        font-size: 16px;
        background: white;
        box-sizing: border-box;
    }

    .form-input:focus,
    .form-textarea:focus,
    .form-select:focus {
        outline: none;
        border-color: #DE5499;
        box-shadow: 0 0 0 3px rgba(222, 84, 153, 0.1);
    }

    .form-textarea {
        min-height: 80px;
        resize: vertical;
    }

    .form-hint {
        font-size: 12px;
        color: #666;
        margin-top: 5px;
        line-height: 1.4;
    }

    .form-note {
        background: #E8F4FD;
        border: 2px solid #17a2b8;
        border-radius: 8px;
        padding: 12px;
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 13px;
        color: #0c5460;
    }

    /* Input groups responsive */
    .input-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .btn-verify-inline {
        width: 100%;
        padding: 10px;
        background: linear-gradient(135deg, #17a2b8, #138496);
        color: white;
        border: 2px solid #138496;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: all 0.3s ease;
    }

    .btn-verify-inline:hover {
        background: linear-gradient(135deg, #138496, #117a8b);
        transform: translateY(-2px);
    }

    .verification-status {
        margin-top: 8px;
    }

    .verification-status.verified {
        color: #28a745;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
    }

    /* Info items responsive */
    .info-item {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 15px;
        padding: 12px;
        background: rgba(237, 220, 217, 0.3);
        border-radius: 8px;
        border: 1px solid #dee2e6;
    }

    .info-label {
        font-weight: 600;
        color: #666;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .info-value {
        font-weight: 600;
        color: #264143;
        font-size: 14px;
    }

    .status-active {
        color: #28a745;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* KTP Verification Section Responsive */
    .verification-status {
        margin-bottom: 20px;
    }

    .status-verified,
    .status-pending,
    .status-rejected {
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .status-verified {
        background: rgba(40, 167, 69, 0.1);
        border: 2px solid #28a745;
        color: #155724;
    }

    .status-pending {
        background: rgba(255, 193, 7, 0.1);
        border: 2px solid #ffc107;
        color: #856404;
    }

    .status-rejected {
        background: rgba(220, 53, 69, 0.1);
        border: 2px solid #dc3545;
        color: #721c24;
    }

    .status-verified i,
    .status-pending i,
    .status-rejected i {
        font-size: 16px;
        margin-right: 6px;
    }

    .status-description {
        font-size: 13px;
        margin-top: 5px;
        opacity: 0.8;
    }

    .rejection-reason {
        background: rgba(220, 53, 69, 0.15);
        padding: 10px;
        border-radius: 6px;
        margin: 8px 0;
        font-weight: 600;
        font-size: 13px;
    }

    .ktp-info {
        margin-top: 10px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 6px;
        font-size: 13px;
    }

    /* KTP Upload Form Responsive */
    .ktp-upload-form {
        margin-top: 20px;
    }

    .file-upload-area {
        border: 2px dashed #264143;
        border-radius: 10px;
        padding: 30px 20px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background: #f8f9fa;
    }

    .file-upload-area:hover {
        border-color: #DE5499;
        background: #f0f8ff;
        transform: scale(1.02);
    }

    .upload-preview {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .upload-icon {
        font-size: 32px;
        color: #666;
        margin-bottom: 10px;
    }

    .upload-preview p {
        margin: 0;
        color: #666;
        font-size: 14px;
    }

    .btn-verify {
        width: 100%;
        padding: 12px 20px;
        background: linear-gradient(135deg, #28a745, #20c997);
        color: white;
        border: 2px solid #20c997;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s ease;
        margin-top: 15px;
    }

    .btn-verify:hover {
        background: linear-gradient(135deg, #20c997, #1eb885);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
    }

    /* Form actions responsive */
    .form-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 25px;
        padding-top: 20px;
        border-top: 2px solid #E5E7EB;
    }

    .btn-cancel,
    .btn-save {
        width: 100%;
        padding: 12px 20px;
        border: 2px solid;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .btn-cancel {
        background: #6c757d;
        color: white;
        border-color: #6c757d;
        order: 2;
    }

    .btn-cancel:hover {
        background: #5a6268;
        border-color: #5a6268;
        transform: translateY(-2px);
    }

    .btn-save {
        background: linear-gradient(135deg, #28a745, #20c997);
        color: white;
        border-color: #20c997;
        order: 1;
    }

    .btn-save:hover {
        background: linear-gradient(135deg, #20c997, #1eb885);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
    }

@media (max-width: 480px) {
    /* Extra small screen optimizations */
    .profile-card {
        padding: 12px;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .form-section {
        padding: 12px;
        margin-bottom: 15px;
    }

    /* Force full width for all form elements */
    .form-input,
    .form-textarea,
    .form-select {
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
        font-size: 16px;
    }

    .form-label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-hint {
        font-size: 11px;
    }

    .form-note {
        padding: 10px;
        font-size: 12px;
    }

    /* Input groups extra small */
    .input-group {
        gap: 6px;
    }

    .btn-verify-inline {
        padding: 8px;
        font-size: 13px;
    }

    /* Info items extra small */
    .info-item {
        padding: 10px;
        margin-bottom: 12px;
    }

    .info-label {
        font-size: 11px;
    }

    .info-value {
        font-size: 13px;
    }

    /* Verification status extra small */
    .status-verified,
    .status-pending,
    .status-rejected {
        padding: 12px;
        font-size: 13px;
    }

    .status-description {
        font-size: 12px;
    }

    .rejection-reason {
        padding: 8px;
        font-size: 12px;
    }

    /* File upload area extra small */
    .file-upload-area {
        padding: 20px 15px;
    }

    .upload-icon {
        font-size: 28px;
    }

    .upload-preview p {
        font-size: 13px;
    }

    /* Buttons extra small */
    .btn-verify {
        padding: 10px 16px;
        font-size: 13px;
    }

    .form-actions {
        gap: 8px;
        margin-top: 20px;
        padding-top: 15px;
    }

    .btn-cancel,
    .btn-save {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices - larger tap targets */
    .avatar-upload-btn {
        min-height: 44px;
        padding: 12px 20px;
    }

    .btn-verify,
    .btn-cancel,
    .btn-save {
        min-height: 44px;
        padding: 12px 20px;
    }

    .file-upload-area {
        min-height: 120px;
        padding: 30px 20px;
    }

    .form-input,
    .form-textarea {
        min-height: 44px;
        padding: 12px 15px;
    }

    /* Remove hover effects on touch devices */
    .btn-verify:hover,
    .btn-cancel:hover,
    .btn-save:hover,
    .avatar-upload-btn:hover,
    .file-upload-area:hover {
        transform: none;
        box-shadow: initial;
        background: initial;
        border-color: initial;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .status-verified,
    .status-unverified,
    .status-pending,
    .status-rejected {
        border-width: 3px;
        font-weight: 700;
    }

    .form-input,
    .form-textarea {
        border-width: 2px;
    }

    .btn-verify,
    .btn-cancel,
    .btn-save {
        border-width: 3px;
        font-weight: 700;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .btn-verify:hover,
    .btn-cancel:hover,
    .btn-save:hover {
        transform: none;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    .profile-card {
        background: #1F2937;
        color: #F9FAFB;
        border-color: #374151;
    }

    .form-input,
    .form-textarea {
        background: #374151;
        color: #F9FAFB;
        border-color: #6B7280;
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: #9CA3AF;
    }

    .section-title {
        color: #F9FAFB;
    }

    .form-label {
        color: #E5E7EB;
    }

    .info-item {
        background: #374151;
        border-color: #4B5563;
    }

    .info-label {
        color: #9CA3AF;
    }

    .info-value {
        color: #F9FAFB;
    }

    .ktp-upload-form {
        background: #374151;
        border-color: #4B5563;
    }

    .file-upload-area {
        background: #4B5563;
        border-color: #6B7280;
    }

    .file-upload-area:hover {
        background: #6B7280;
    }

    .upload-preview p {
        color: #D1D5DB;
    }

    .form-hint {
        color: #9CA3AF;
    }
}

/* Verification Sections */
.verification-status {
    margin-top: 15px;
}

.status-verified,
.status-unverified,
.status-pending,
.status-rejected {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid;
    box-shadow: 3px 4px 0px 1px;
}

.status-verified {
    background: linear-gradient(135deg, #10B981, #059669);
    border-color: #047857;
    box-shadow-color: #065F46;
    color: white;
}

.status-unverified {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-color: #B45309;
    box-shadow-color: #92400E;
    color: white;
}

.status-pending {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border-color: #1D4ED8;
    box-shadow-color: #1E40AF;
    color: white;
}

.status-rejected {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border-color: #B91C1C;
    box-shadow-color: #991B1B;
    color: white;
}

.status-verified i,
.status-unverified i,
.status-pending i,
.status-rejected i {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.status-verified span,
.status-unverified span,
.status-pending span,
.status-rejected span {
    font-weight: 600;
    font-size: 16px;
}

.status-description {
    margin: 8px 0;
    font-size: 14px;
    opacity: 0.9;
}

.rejection-reason {
    margin: 8px 0;
    font-size: 14px;
    opacity: 0.9;
    font-style: italic;
}

.ktp-info,
.phone-info {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.ktp-info p,
.phone-info p {
    margin: 5px 0;
    font-size: 14px;
}

.phone-verification-form {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* Verification Buttons */
.btn-verify {
    background: #DE5499;
    color: white;
    border: 2px solid #BE185D;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 2px 3px 0px 0px #9D174D;
    margin-top: 10px;
}

.btn-verify:hover {
    transform: translateY(1px);
    box-shadow: 1px 2px 0px 0px #9D174D;
}

.btn-verify:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 2px 3px 0px 0px #9D174D;
}

/* KTP Upload Form */
.ktp-upload-form {
    margin-top: 20px;
    padding: 20px;
    background: #F8F9FA;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 2px 3px 0px 0px #D1D5DB;
}

.file-upload-area {
    border: 2px dashed #9CA3AF;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.file-upload-area:hover {
    border-color: #DE5499;
    background: #FEF7F0;
}

.upload-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-icon {
    font-size: 48px;
    color: #9CA3AF;
    margin-bottom: 10px;
}

.upload-preview p {
    margin: 0;
    color: #6B7280;
    font-weight: 500;
}

.form-hint {
    color: #6B7280;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Responsive for verification sections */
@media (max-width: 768px) {
    /* Verification status cards */
    .status-verified,
    .status-unverified,
    .status-pending,
    .status-rejected {
        padding: 12px 15px;
        gap: 10px;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .status-verified i,
    .status-unverified i,
    .status-pending i,
    .status-rejected i {
        font-size: 18px;
        margin-top: 0;
    }

    .status-verified span,
    .status-unverified span,
    .status-pending span,
    .status-rejected span {
        font-size: 14px;
        line-height: 1.3;
    }

    .status-description,
    .rejection-reason {
        font-size: 12px;
        margin: 6px 0;
        line-height: 1.4;
    }

    .ktp-info {
        margin-top: 8px;
        padding: 8px;
        border-radius: 6px;
    }

    .ktp-info p {
        font-size: 12px;
    }

    /* KTP upload form responsive */
    .ktp-upload-form {
        padding: 15px;
        border-radius: 10px;
        margin-top: 15px;
    }

    .file-upload-area {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .upload-icon {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .upload-preview p {
        font-size: 13px;
    }

    .form-hint {
        font-size: 11px;
        line-height: 1.3;
        margin-top: 4px;
    }

    .btn-verify {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 8px;
        width: 100%;
        max-width: none;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens - verification sections */
    .status-verified,
    .status-unverified,
    .status-pending,
    .status-rejected {
        padding: 10px 12px;
        gap: 8px;
        margin-bottom: 10px;
        border-radius: 8px;
        flex-direction: column;
        text-align: center;
    }

    .status-verified i,
    .status-unverified i,
    .status-pending i,
    .status-rejected i {
        font-size: 24px;
        margin: 0 0 8px 0;
        align-self: center;
    }

    .status-verified span,
    .status-unverified span,
    .status-pending span,
    .status-rejected span {
        font-size: 13px;
        font-weight: 700;
        text-align: center;
    }

    .status-description,
    .rejection-reason {
        font-size: 11px;
        margin: 4px 0;
        text-align: center;
        line-height: 1.3;
    }

    .ktp-info {
        margin-top: 6px;
        padding: 6px;
        text-align: left;
    }

    .ktp-info p {
        font-size: 11px;
    }

    /* KTP form extra small screens */
    .ktp-upload-form {
        padding: 12px;
        border-radius: 8px;
        margin-top: 12px;
    }

    .file-upload-area {
        padding: 15px 10px;
        border-radius: 8px;
    }

    .upload-icon {
        font-size: 28px;
        margin-bottom: 6px;
    }

    .upload-preview p {
        font-size: 12px;
    }

    .form-hint {
        font-size: 10px;
        line-height: 1.2;
        text-align: center;
    }

    .btn-verify {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 6px;
        margin-top: 10px;
    }

    /* KTP preview image responsive */
    .upload-preview img {
        max-width: 150px !important;
        max-height: 90px !important;
        border-radius: 6px !important;
    }

    #ktpPreview img {
        max-width: 150px !important;
        max-height: 90px !important;
        border-radius: 6px !important;
    }
}

/* Inline Verification Styles */
.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-group .form-input {
    flex: 1;
}

.btn-verify-inline {
    background: #DE5499;
    color: white;
    border: 2px solid #BE185D;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 2px 3px 0px 0px #9D174D;
    white-space: nowrap;
    height: fit-content;
}

.btn-verify-inline:hover {
    transform: translateY(1px);
    box-shadow: 1px 2px 0px 0px #9D174D;
}

.btn-verify-inline:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 2px 3px 0px 0px #9D174D;
}

.btn-verify-inline i {
    margin-right: 6px;
}

.verification-status.verified {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border: 2px solid #047857;
    box-shadow: 2px 3px 0px 0px #065F46;
}

.verification-status.verified i {
    font-size: 16px;
}

/* Responsive for inline verification */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .btn-verify-inline,
    .verification-status.verified {
        width: 100%;
        justify-content: center;
        font-size: 13px;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .btn-verify-inline,
    .verification-status.verified {
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 6px;
    }

    .btn-verify-inline i,
    .verification-status.verified i {
        font-size: 14px;
        margin-right: 4px;
    }
}

/* ================================
   SETTINGS & SECURITY PAGE STYLES
   ================================ */

/* Page title with icon */
.page-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.page-title i {
    color: #DE5499;
    font-size: 24px;
}

/* ================================
   SECURITY PAGE SPECIFIC STYLES
   ================================ */

/* Security Score Section */
.security-score-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.security-score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 6px solid;
    position: relative;
}

.score-circle-inner {
    text-align: center;
}

.score-number {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.score-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.security-score-info {
    flex: 1;
}

.security-score-title {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.security-score-description {
    margin-bottom: 15px;
    color: #264143;
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.4;
}

/* Security Progress Bar */
.security-progress-bar {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.security-progress-fill {
    height: 100%;
    transition: width 0.8s ease;
    border-radius: 4px;
}

/* Security Items Lists */
.security-items-section {
    margin-bottom: 15px;
}

.security-items-title {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-item-entry {
    padding: 4px 0;
    font-size: 13px;
    color: #264143;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-item-entry i {
    font-size: 12px;
    flex-shrink: 0;
}

/* Completed items styling */
.security-items-section.completed .security-items-title {
    color: #28a745;
}

.security-items-section.completed .security-item-entry i {
    color: #28a745;
}

/* Pending items styling */
.security-items-section.pending .security-items-title {
    color: #ffc107;
}

.security-items-section.pending .security-item-entry i {
    color: #ffc107;
}

/* Current Session Highlight */
.session-current {
    background: rgba(233, 159, 76, 0.1) !important;
    margin: 0 -20px !important;
    padding: 15px 20px !important;
    border-radius: 10px !important;
}

/* Verification Status Badges */
.verification-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    white-space: nowrap;
}

.verification-status.verified {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid #10B981;
}

.verification-status.current {
    background: rgba(233, 159, 76, 0.2);
    color: #E99F4C;
    border: 1px solid #E99F4C;
}

.verification-status i {
    font-size: 11px;
}

/* 2FA Input Group */
.twofa-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.twofa-input-group .form-input {
    flex: 1;
}

.twofa-description {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* ================================
   SECURITY PAGE FORM ENHANCEMENTS
   ================================ */

/* Enhanced form inputs for Security page */
.security-form-input {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #264143;
    box-shadow: inset 1px 1px 3px rgba(38, 65, 67, 0.1);
    transition: all 0.3s ease;
}

.security-form-input:focus {
    background: white !important;
    border-color: #DE5499;
    box-shadow: 2px 2px 0px 1px #E99F4C, inset 1px 1px 3px rgba(222, 84, 153, 0.1);
}

/* Enhanced info items */
.security-info-item {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(38, 65, 67, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.security-info-item:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(38, 65, 67, 0.2);
    transform: translateY(-1px);
}

/* ================================
   STYLISH CARD VARIANTS
   ================================ */

/* Primary Security Card - Pink/Rose Theme */
.security-card-primary {
    background: linear-gradient(135deg, #FDF2F8 0%, #FCE7F3 50%, #F3E8FF 100%);
    border: 2px solid #BE185D;
    border-radius: 20px;
    box-shadow: 5px 6px 0px 2px #EC4899, inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
}

.security-card-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #BE185D, #EC4899, #F472B6, #EC4899, #BE185D);
    border-radius: 18px 18px 0 0;
    animation: shimmer 3s ease-in-out infinite;
}

.security-card-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.security-card-primary:hover::after {
    opacity: 1;
}

/* Secondary Security Card - Blue/Teal Theme */
.security-card-secondary {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #ECFDF5 100%);
    border: 2px solid #0369A1;
    border-radius: 20px;
    box-shadow: 5px 6px 0px 2px #0EA5E9, inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
}

.security-card-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0369A1, #0EA5E9, #06B6D4, #0EA5E9, #0369A1);
    border-radius: 18px 18px 0 0;
    animation: shimmer 3s ease-in-out infinite reverse;
}

/* Tertiary Security Card - Orange/Yellow Theme */
.security-card-tertiary {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FEF9C3 100%);
    border: 2px solid #D97706;
    border-radius: 20px;
    box-shadow: 5px 6px 0px 2px #F59E0B, inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
}

.security-card-tertiary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D97706, #F59E0B, #FBBF24, #F59E0B, #D97706);
    border-radius: 18px 18px 0 0;
    animation: shimmer 3s ease-in-out infinite;
}

/* Quaternary Security Card - Green Theme */
.security-card-success {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 50%, #D1FAE5 100%);
    border: 2px solid #166534;
    border-radius: 20px;
    box-shadow: 5px 6px 0px 2px #22C55E, inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
}

.security-card-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #166534, #22C55E, #4ADE80, #22C55E, #166534);
    border-radius: 18px 18px 0 0;
    animation: shimmer 3s ease-in-out infinite reverse;
}

/* Purple Theme Card */
.security-card-purple {
    background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 50%, #EDE9FE 100%);
    border: 2px solid #7C2D92;
    border-radius: 20px;
    box-shadow: 5px 6px 0px 2px #A855F7, inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
}

.security-card-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7C2D92, #A855F7, #C084FC, #A855F7, #7C2D92);
    border-radius: 18px 18px 0 0;
    animation: shimmer 3s ease-in-out infinite;
}

/* Shimmer Animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Hover Effects for All Card Types */
.security-card-primary:hover,
.security-card-secondary:hover,
.security-card-tertiary:hover,
.security-card-success:hover,
.security-card-purple:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 8px 12px 0px 3px currentColor, 0 10px 30px rgba(0, 0, 0, 0.15);
}

.security-card-primary:hover { box-shadow: 8px 12px 0px 3px #EC4899, 0 10px 30px rgba(236, 72, 153, 0.25); }
.security-card-secondary:hover { box-shadow: 8px 12px 0px 3px #0EA5E9, 0 10px 30px rgba(14, 165, 233, 0.25); }
.security-card-tertiary:hover { box-shadow: 8px 12px 0px 3px #F59E0B, 0 10px 30px rgba(245, 158, 11, 0.25); }
.security-card-success:hover { box-shadow: 8px 12px 0px 3px #22C55E, 0 10px 30px rgba(34, 197, 94, 0.25); }
.security-card-purple:hover { box-shadow: 8px 12px 0px 3px #A855F7, 0 10px 30px rgba(168, 85, 247, 0.25); }

/* Enhanced card sections - legacy support */
.security-card-enhanced {
    background: linear-gradient(135deg, #EDDCD9 0%, rgba(237, 220, 217, 0.9) 100%);
    border: 2px solid #264143;
    border-radius: 20px;
    box-shadow: 3px 4px 0px 1px #E99F4C, inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

.security-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #DE5499, #E99F4C, #DE5499);
    border-radius: 18px 18px 0 0;
}

/* Security section highlights */
.security-section-highlight {
    background: rgba(222, 84, 153, 0.05);
    border-left: 4px solid #DE5499;
    padding: 15px 20px;
    margin: 15px -15px;
    border-radius: 0 12px 12px 0;
}

/* Enhanced toggle switches */
.security-toggle-enhanced .slider {
    background: linear-gradient(135deg, #D1D5DB, #9CA3AF);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.security-toggle-enhanced input:checked + .slider {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.security-toggle-enhanced .slider:before {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Security activity enhancement */
.security-activity-item {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(38, 65, 67, 0.05);
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.security-activity-item:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(38, 65, 67, 0.1);
    transform: translateX(3px);
}

/* Section titles with icons */
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #DE5499;
    font-size: 16px;
}

/* Info items for settings */
.item-info {
    flex: 1;
}

.item-info h4 {
    color: #264143;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    margin: 0;
}

.item-info p {
    color: #264143;
    font-size: 14px;
    opacity: 0.8;
    margin: 2px 0 0 0;
    line-height: 1.4;
}

/* Action buttons */
.btn-action {
    background: #E99F4C;
    color: #264143;
    border: 2px solid #264143;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    box-shadow: 2px 2px 0px 1px #DE5499;
    white-space: nowrap;
}

.btn-action:hover {
    transform: translateY(-1px);
    box-shadow: 3px 3px 0px 1px #DE5499;
    background: #d88a3c;
}

.btn-danger {
    background: #EF4444;
    color: white;
    border: 2px solid #264143;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 2px 2px 0px 1px #E99F4C;
    text-decoration: none;
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 3px 3px 0px 1px #E99F4C;
    background: #DC2626;
}

.btn-outline {
    background: transparent;
    color: #264143;
    border: 2px solid #264143;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    box-shadow: 2px 2px 0px 1px #E99F4C;
}

.btn-outline:hover {
    background: #264143;
    color: #EDDCD9;
    transform: translateY(-1px);
    box-shadow: 3px 3px 0px 1px #E99F4C;
}

/* Form select elements */
.form-select {
    padding: 8px 12px;
    border: 2px solid #264143;
    border-radius: 8px;
    background: white;
    color: #264143;
    font-size: 14px;
    font-weight: 500;
    min-width: 120px;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #DE5499;
    box-shadow: 2px 2px 0px 1px #E99F4C;
}

.form-select:disabled {
    background: #f3f4f6;
    color: #6B7280;
    cursor: not-allowed;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #D1D5DB;
    transition: 0.4s;
    border-radius: 24px;
    border: 2px solid #264143;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #10B981;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Security Score Circle */
.security-score {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.score-number {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.score-label {
    font-size: 10px;
    font-weight: 600;
    text-align: center;
}

.score-description {
    flex: 1;
}

.score-description h4 {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
}

.score-description p {
    margin-bottom: 15px;
    color: #264143;
    opacity: 0.8;
    line-height: 1.4;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #EDDCD9;
    border: 2px solid #264143;
    border-radius: 15px;
    box-shadow: 3px 4px 0px 1px #E99F4C;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    background-color: #264143;
    color: #EDDCD9;
    padding: 20px 25px;
    border-radius: 13px 13px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #EDDCD9;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(237, 220, 217, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
    color: #264143;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.form-hint {
    color: #6B7280;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Warning message styling */
.warning-message {
    text-align: center;
    color: #264143;
}

.warning-message i {
    color: #dc3545;
    font-size: 48px;
    margin-bottom: 15px;
}

.warning-message ul {
    text-align: left;
    margin: 15px 0;
    padding-left: 20px;
}

.warning-message li {
    margin-bottom: 5px;
    color: #264143;
}

/* Danger zone styling */
.danger-zone {
    border: 2px solid #dc3545 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    background: rgba(220, 53, 69, 0.05) !important;
    margin-bottom: 0 !important;
}

.danger-zone h4 {
    color: #dc3545 !important;
}

/* Activity log styles */
.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(38, 65, 67, 0.1);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.activity-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.activity-icon.info {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

.activity-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.activity-info h4 {
    color: #264143;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    margin: 0 0 2px 0;
}

.activity-info p {
    color: #264143;
    font-size: 13px;
    opacity: 0.8;
    margin: 0 0 2px 0;
}

.activity-info small {
    color: #264143;
    font-size: 11px;
    opacity: 0.6;
}

/* ================================
   RESPONSIVE STYLES FOR STYLISH CARDS
   ================================ */

@media (max-width: 768px) {
    /* All stylish cards responsive */
    .security-card-primary,
    .security-card-secondary,
    .security-card-tertiary,
    .security-card-success,
    .security-card-purple {
        margin: 0 15px 25px;
        padding: 20px;
        border-radius: 16px;
    }

    .security-card-primary::before,
    .security-card-secondary::before,
    .security-card-tertiary::before,
    .security-card-success::before,
    .security-card-purple::before {
        height: 3px;
        border-radius: 14px 14px 0 0;
    }

    .security-card-primary:hover,
    .security-card-secondary:hover,
    .security-card-tertiary:hover,
    .security-card-success:hover,
    .security-card-purple:hover {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 4px 6px 0px 2px currentColor, 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    /* Extra small screens - stylish cards */
    .security-card-primary,
    .security-card-secondary,
    .security-card-tertiary,
    .security-card-success,
    .security-card-purple {
        margin: 0 10px 20px;
        padding: 15px;
        border-radius: 12px;
    }

    .security-card-primary::before,
    .security-card-secondary::before,
    .security-card-tertiary::before,
    .security-card-success::before,
    .security-card-purple::before {
        height: 2px;
        border-radius: 10px 10px 0 0;
    }

    /* Disable hover effects on very small screens */
    .security-card-primary:hover,
    .security-card-secondary:hover,
    .security-card-tertiary:hover,
    .security-card-success:hover,
    .security-card-purple:hover {
        transform: none;
        box-shadow: 3px 4px 0px 1px currentColor;
    }
}

/* Touch devices - disable animations */
@media (hover: none) and (pointer: coarse) {
    .security-card-primary,
    .security-card-secondary,
    .security-card-tertiary,
    .security-card-success,
    .security-card-purple {
        transition: none;
    }

    .security-card-primary::before,
    .security-card-secondary::before,
    .security-card-tertiary::before,
    .security-card-success::before,
    .security-card-purple::before {
        animation: none;
    }

    .security-card-primary:hover,
    .security-card-secondary:hover,
    .security-card-tertiary:hover,
    .security-card-success:hover,
    .security-card-purple:hover {
        transform: none;
        box-shadow: 3px 4px 0px 1px currentColor;
    }
}

/* Dark mode support for stylish cards */
@media (prefers-color-scheme: dark) {
    .security-card-primary {
        background: linear-gradient(135deg, #1F1B24 0%, #2D1B69 50%, #1E1B3A 100%);
        border-color: #BE185D;
    }

    .security-card-secondary {
        background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F1419 100%);
        border-color: #0369A1;
    }

    .security-card-tertiary {
        background: linear-gradient(135deg, #1C1917 0%, #292524 50%, #1C1B1A 100%);
        border-color: #D97706;
    }

    .security-card-success {
        background: linear-gradient(135deg, #0F1419 0%, #14532D 50%, #1A2E1A 100%);
        border-color: #166534;
    }

    .security-card-purple {
        background: linear-gradient(135deg, #1E1B3A 0%, #2D1B69 50%, #1F1B24 100%);
        border-color: #7C2D92;
    }
}

/* ================================
   RESPONSIVE STYLES FOR SECURITY PAGE
   ================================ */

@media (max-width: 768px) {
    /* Security Score responsive */
    .security-score-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .security-score-circle {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .score-number {
        font-size: 28px;
    }

    .security-score-info {
        text-align: center;
    }

    /* Security items responsive */
    .security-items-section {
        margin-bottom: 20px;
    }

    .security-items-title {
        font-size: 13px;
        justify-content: center;
    }

    .security-item-entry {
        font-size: 12px;
        justify-content: center;
    }

    /* 2FA input responsive */
    .twofa-input-group {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .twofa-description {
        font-size: 13px;
        text-align: center;
    }

    /* Session current responsive */
    .session-current {
        margin: 0 -15px !important;
        padding: 12px 15px !important;
    }

    /* Verification status responsive */
    .verification-status {
        padding: 8px 12px;
        font-size: 11px;
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    /* Extra small screens - Security */
    .security-score-circle {
        width: 80px;
        height: 80px;
    }

    .score-number {
        font-size: 24px;
    }

    .score-label {
        font-size: 9px;
    }

    .security-score-title {
        font-size: 15px;
    }

    .security-score-description {
        font-size: 13px;
    }

    .security-progress-bar {
        height: 6px;
    }

    .security-items-title {
        font-size: 12px;
    }

    .security-item-entry {
        font-size: 11px;
        padding: 3px 0;
    }

    .twofa-description {
        font-size: 12px;
    }

    .verification-status {
        padding: 6px 10px;
        font-size: 10px;
    }

    /* Session current extra small */
    .session-current {
        margin: 0 -10px !important;
        padding: 10px !important;
        border-radius: 8px !important;
    }
}

/* ================================
   RESPONSIVE STYLES FOR SETTINGS & SECURITY
   ================================ */

@media (max-width: 768px) {
    /* Page title responsive */
    .page-title {
        flex-direction: column;
        gap: 8px;
        font-size: 24px;
    }

    .page-title i {
        font-size: 20px;
    }

    /* Info items responsive */
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 0;
    }

    .item-info h4 {
        font-size: 15px;
    }

    .item-info p {
        font-size: 13px;
    }

    /* Buttons responsive */
    .btn-action,
    .btn-danger {
        align-self: flex-start;
        font-size: 12px;
        padding: 8px 12px;
    }

    .toggle-switch {
        align-self: flex-start;
    }

    /* Security score responsive */
    .security-score {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .score-circle {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .score-number {
        font-size: 28px;
    }

    /* Modal responsive */
    .modal-content {
        width: 95%;
        margin: 10px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 8px;
    }

    .modal-actions button {
        width: 100%;
        min-height: 44px;
    }

    /* Activity items responsive */
    .activity-item {
        padding: 12px 0;
        gap: 12px;
    }

    .activity-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .activity-info h4 {
        font-size: 13px;
    }

    .activity-info p {
        font-size: 12px;
    }

    .activity-info small {
        font-size: 10px;
    }

    /* Form select responsive */
    .form-select {
        width: 100%;
        padding: 10px 12px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .page-title {
        font-size: 20px;
        gap: 6px;
    }

    .page-title i {
        font-size: 18px;
    }

    .section-title {
        font-size: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .section-title i {
        font-size: 14px;
    }

    /* Profile card adjustments */
    .profile-card {
        padding: 15px;
        border-radius: 12px;
    }

    /* Info items extra small */
    .info-item {
        padding: 12px 0;
        gap: 8px;
    }

    .item-info h4 {
        font-size: 14px;
    }

    .item-info p {
        font-size: 12px;
    }

    /* Buttons extra small */
    .btn-action,
    .btn-danger,
    .btn-outline {
        font-size: 11px;
        padding: 6px 10px;
        border-radius: 6px;
    }

    /* Security score extra small */
    .score-circle {
        width: 80px;
        height: 80px;
    }

    .score-number {
        font-size: 24px;
    }

    .score-label {
        font-size: 9px;
    }

    /* Modal extra small */
    .modal-content {
        width: 98%;
        margin: 5px;
        border-radius: 12px;
    }

    .modal-header {
        padding: 15px;
    }

    .modal-header h3 {
        font-size: 16px;
    }

    .modal-body {
        padding: 15px;
    }

    .modal-actions {
        margin: 15px 0;
        gap: 6px;
    }

    .modal-actions button {
        padding: 10px;
        font-size: 14px;
        border-radius: 8px;
    }

    /* Activity list extra small */
    .activity-list {
        max-height: 250px;
    }

    .activity-item {
        padding: 10px 0;
        gap: 10px;
    }

    .activity-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .activity-info h4 {
        font-size: 12px;
    }

    .activity-info p {
        font-size: 11px;
    }

    .activity-info small {
        font-size: 9px;
    }

    /* Toggle switch smaller */
    .toggle-switch {
        width: 40px;
        height: 20px;
    }

    .slider:before {
        height: 12px;
        width: 12px;
        left: 2px;
        bottom: 2px;
    }

    input:checked + .slider:before {
        transform: translateX(18px);
    }

    /* Warning message extra small */
    .warning-message i {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .warning-message ul {
        margin: 10px 0;
        padding-left: 15px;
    }

    .warning-message li {
        margin-bottom: 3px;
        font-size: 12px;
    }
}

/* Touch-friendly improvements for settings/security */
@media (hover: none) and (pointer: coarse) {
    .btn-action,
    .btn-danger,
    .btn-outline,
    .btn-verify,
    .toggle-switch {
        min-height: 44px;
        min-width: 44px;
    }

    .btn-action,
    .btn-danger,
    .btn-outline {
        padding: 12px 16px;
    }

    .info-item {
        padding: 15px 0;
        min-height: 60px;
    }

    /* Remove hover effects on touch devices */
    .btn-action:hover,
    .btn-danger:hover,
    .btn-outline:hover {
        transform: none;
        box-shadow: initial;
        background: initial;
    }
}

/* Dark mode support for settings/security */
@media (prefers-color-scheme: dark) {
    .item-info h4,
    .item-info p,
    .activity-info h4,
    .activity-info p,
    .activity-info small {
        color: #F9FAFB;
    }

    .item-info p {
        opacity: 0.8;
    }

    .activity-info p,
    .activity-info small {
        opacity: 0.7;
    }

    .form-select {
        background: #374151;
        color: #F9FAFB;
        border-color: #6B7280;
    }

    .form-select:disabled {
        background: #1F2937;
        color: #6B7280;
    }

    .slider {
        background-color: #4B5563;
        border-color: #6B7280;
    }

    .modal-content {
        background: #1F2937;
        color: #F9FAFB;
        border-color: #374151;
    }

    .modal-body {
        color: #F9FAFB;
    }

    .warning-message,
    .warning-message li {
        color: #F9FAFB;
    }
}

/* ================================
   PAYMENT METHOD STATUS TOGGLE
   ================================ */

/* Status Toggle Container */
.status-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
}

/* Hide default checkbox */
.method-switch {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Switch Label - The toggle background */
.switch-label {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Switch Slider - The visible toggle */
.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border: 2px solid #264143;
    border-radius: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 2px 2px 0px 0px rgba(38, 65, 67, 0.2);
}

/* The slider button */
.switch-slider:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 2px;
    background: white;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Add icons to the slider */
.switch-slider:after {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    color: white;
    font-size: 11px;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* Checked state - slider moves and changes color */
.method-switch:checked + .switch-label .switch-slider {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 2px 2px 0px 0px rgba(5, 150, 105, 0.3);
}

.method-switch:checked + .switch-label .switch-slider:before {
    transform: translateX(26px);
}

.method-switch:checked + .switch-label .switch-slider:after {
    content: '\f00c';
    left: auto;
    right: 8px;
}

/* Hover effect */
.switch-label:hover .switch-slider {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 3px 3px 0px 0px rgba(38, 65, 67, 0.3);
    transform: translateY(-1px);
}

/* Focus state for accessibility */
.method-switch:focus + .switch-label .switch-slider {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 2px 2px 0px 0px rgba(38, 65, 67, 0.2), 0 0 0 3px rgba(222, 84, 153, 0.3);
}

/* Status Text Styles */
.status-text {
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.status-active {
    color: #059669;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-active:before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    color: #10B981;
}

.status-inactive {
    color: #DC2626;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-inactive:before {
    content: '\f057';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    color: #EF4444;
}

/* Payment Method Info Cell */
.method-info-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.method-icon-inline {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #264143;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 2px 2px 0px 0px rgba(233, 159, 76, 0.3);
}

.method-icon-inline i {
    font-size: 18px;
}

.method-details-inline {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.method-name {
    font-weight: 600;
    color: #264143;
    font-size: 14px;
    line-height: 1.2;
}

.method-code {
    font-size: 11px;
    color: #666;
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

/* Method Category Badge */
.method-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid;
    white-space: nowrap;
}

/* Category colors */
.method-category.virtual-account {
    background: rgba(59, 130, 246, 0.1);
    color: #1D4ED8;
    border-color: #3B82F6;
}

.method-category.e-wallet {
    background: rgba(16, 185, 129, 0.1);
    color: #065F46;
    border-color: #10B981;
}

.method-category.convenience-store {
    background: rgba(245, 158, 11, 0.1);
    color: #92400E;
    border-color: #F59E0B;
}

.method-category.retail {
    background: rgba(236, 72, 153, 0.1);
    color: #9F1239;
    border-color: #EC4899;
}

.method-category.credit-card,
.method-category.online-to-offline {
    background: rgba(139, 92, 246, 0.1);
    color: #5B21B6;
    border-color: #8B5CF6;
}

/* Fee Cell */
.fee-cell {
    font-weight: 600;
    color: #264143;
    font-size: 13px;
}

/* Responsive Payment Method Toggle */
@media (max-width: 768px) {
    /* Status toggle responsive */
    .status-toggle {
        gap: 8px;
        justify-content: flex-start;
    }

    .switch-label {
        width: 48px;
        height: 24px;
    }

    .switch-slider:before {
        height: 16px;
        width: 16px;
        left: 2px;
        bottom: 2px;
    }

    .method-switch:checked + .switch-label .switch-slider:before {
        transform: translateX(24px);
    }

    .switch-slider:after {
        font-size: 10px;
        left: 6px;
    }

    .method-switch:checked + .switch-label .switch-slider:after {
        right: 6px;
    }

    .status-text {
        font-size: 12px;
    }

    .status-active:before,
    .status-inactive:before {
        font-size: 12px;
    }

    /* Method info cell responsive */
    .method-info-cell {
        gap: 10px;
    }

    .method-icon-inline {
        width: 32px;
        height: 32px;
    }

    .method-icon-inline i {
        font-size: 16px;
    }

    .method-name {
        font-size: 13px;
    }

    .method-code {
        font-size: 10px;
    }

    /* Category badge responsive */
    .method-category {
        padding: 3px 8px;
        font-size: 10px;
    }

    .fee-cell {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .switch-label {
        width: 44px;
        height: 22px;
    }

    .switch-slider:before {
        height: 14px;
        width: 14px;
        left: 2px;
        bottom: 2px;
    }

    .method-switch:checked + .switch-label .switch-slider:before {
        transform: translateX(22px);
    }

    .switch-slider:after {
        font-size: 9px;
        left: 5px;
    }

    .method-switch:checked + .switch-label .switch-slider:after {
        right: 5px;
    }

    .status-text {
        font-size: 11px;
    }

    .status-active:before,
    .status-inactive:before {
        font-size: 11px;
    }

    .method-info-cell {
        gap: 8px;
    }

    .method-icon-inline {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    .method-icon-inline i {
        font-size: 14px;
    }

    .method-name {
        font-size: 12px;
    }

    .method-code {
        font-size: 9px;
    }

    .method-category {
        padding: 2px 6px;
        font-size: 9px;
    }

    .fee-cell {
        font-size: 11px;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .switch-label {
        min-width: 54px;
        min-height: 32px;
    }

    .switch-label:hover .switch-slider {
        transform: none;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 2px 2px 0px 0px rgba(38, 65, 67, 0.2);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .method-name,
    .fee-cell {
        color: #F9FAFB;
    }

    .method-code {
        color: #D1D5DB;
    }

    .method-icon-inline {
        background: #374151;
        border-color: #6B7280;
    }

    .switch-slider {
        border-color: #6B7280;
    }
}

.public-profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.profile-header {
    background: var(--card-bg, #EDDCD9);
    border: 2px solid var(--border-color, #264143);
    border-radius: 20px;
    box-shadow: 3px 4px 0px 1px var(--shadow-color, #E99F4C);
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.profile-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--border-color, #264143);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--input-bg, white);
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-large i {
    font-size: 60px;
    color: var(--text-secondary, #6B7280);
}

.profile-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary, #264143);
    margin-bottom: 8px;
}

.profile-username {
    font-size: 18px;
    color: var(--text-secondary, #6B7280);
    margin-bottom: 15px;
}

.profile-bio {
    font-size: 16px;
    color: var(--text-primary, #264143);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.profile-description {
    background: var(--input-bg, white);
    border: 2px solid var(--border-color, #264143);
    border-radius: 15px;
    box-shadow: 2px 3px 0px 0px var(--shadow-color, #E99F4C);
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.profile-description p {
    font-size: 16px;
    color: var(--text-primary, #264143);
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Donation Section Styling */
.donation-content {
    width: 100%;
}

.donation-description {
    text-align: center;
    color: var(--text-primary, #264143);
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.quick-donations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

.quick-donation-btn {
    background: var(--input-bg, white);
    border: 2px solid var(--border-color, #264143);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 2px 3px 0px 0px var(--shadow-color, #E99F4C);
    font-family: inherit;
}

.quick-donation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 3px 5px 0px 0px var(--shadow-color, #E99F4C);
    border-color: var(--accent-color, #DE5499);
}

.quick-donation-btn.active {
    background: linear-gradient(135deg, var(--accent-color, #DE5499), #E99F4C);
    color: white;
    border-color: var(--accent-color, #DE5499);
    transform: translateY(-2px);
    box-shadow: 3px 5px 0px 0px rgba(222, 84, 153, 0.3);
}

.quick-donation-btn .amount {
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    display: block;
}

.custom-donation {
    margin-bottom: 20px;
}

.custom-donation label {
    display: block;
    color: var(--text-primary, #264143);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.donation-input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.input-prefix {
    position: absolute;
    left: 12px;
    color: var(--text-primary, #264143);
    font-weight: 600;
    font-size: 14px;
    z-index: 1;
}

.donation-input {
    width: 100%;
    padding: 12px 15px 12px 35px;
    border: 2px solid var(--border-color, #264143);
    border-radius: 10px;
    background: var(--input-bg, white);
    color: var(--text-primary, #264143);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.donation-input:focus {
    outline: none;
    border-color: var(--accent-color, #DE5499);
    box-shadow: 2px 2px 0px 1px var(--shadow-color, #E99F4C);
}

.input-note {
    color: var(--text-secondary, #6B7280);
    font-size: 12px;
    display: block;
}

.selected-donation {
    background: var(--input-bg, white);
    border: 2px solid var(--accent-color, #DE5499);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 3px 4px 0px 1px var(--shadow-color, #E99F4C);
    margin-top: 20px;
}

.selected-info {
    margin-bottom: 15px;
}

.selected-label {
    color: var(--text-primary, #264143);
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.selected-value {
    color: var(--accent-color, #DE5499);
    font-size: 20px;
    font-weight: 800;
    display: block;
}

.btn-donate {
    background: linear-gradient(135deg, var(--accent-color, #DE5499), #E99F4C);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 3px 4px 0px 1px rgba(222, 84, 153, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 4px 6px 0px 1px rgba(222, 84, 153, 0.4);
    filter: brightness(1.1);
}

.btn-donate:active {
    transform: translateY(0);
    box-shadow: 2px 3px 0px 1px rgba(222, 84, 153, 0.3);
}

/* Donor Information Styling */
.donor-info {
    margin: 20px 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: var(--text-primary, #264143);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.donor-input, .donor-message {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-color, #264143);
    border-radius: 8px;
    background: var(--input-bg, white);
    color: var(--text-primary, #264143);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.donor-input:focus, .donor-message:focus {
    outline: none;
    border-color: var(--accent-color, #DE5499);
    box-shadow: 2px 2px 0px 1px var(--shadow-color, #E99F4C);
}

.donor-message {
    resize: vertical;
    min-height: 60px;
}

/* Continue with remaining styles - only showing key sections due to size */
.private-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary, #6B7280);
}

.private-message i {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--text-secondary, #6B7280);
}

.private-message h2 {
    font-size: 24px;
    color: var(--text-primary, #264143);
    margin-bottom: 10px;
}

/* Modal Styling */
.donation-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.donation-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg, #EDDCD9);
    border: 3px solid var(--border-color, #264143);
    border-radius: 20px;
    box-shadow: 5px 6px 0px 2px var(--shadow-color, #E99F4C);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .public-profile-container {
        padding: 8px;
    }

    .profile-header {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 15px;
    }

    .profile-avatar-large {
        width: 100px;
        height: 100px;
    }

    .profile-avatar-large i {
        font-size: 40px;
    }

    .profile-name {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .profile-username {
        font-size: 14px;
        margin-bottom: 12px;
    }
}

.profile-info {
    background: var(--card-bg, #EDDCD9);
    border: 2px solid var(--border-color, #264143);
    border-radius: 20px;
    box-shadow: 3px 4px 0px 1px var(--shadow-color, #E99F4C);
    padding: 30px;
    margin-bottom: 30px;
}

.info-section {
    margin-bottom: 25px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary, #264143);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Donation Table Styling */
.donation-log {
    width: 100%;
}

.table-container {
    background: var(--input-bg, white);
    border: 2px solid var(--border-color, #264143);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 3px 4px 0px 1px var(--shadow-color, #E99F4C);
}

.donation-table {
    width: 100%;
    border-collapse: collapse;
}

.donation-table thead {
    background: var(--border-color, #264143);
    color: var(--card-bg, #EDDCD9);
}

.donation-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
}

.donation-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(38, 65, 67, 0.1);
}

.donation-table tbody tr:last-child td {
    border-bottom: none;
}

.donation-table tbody tr:hover {
    background-color: rgba(222, 84, 153, 0.05);
}

.donor-name {
    font-weight: 600;
    color: var(--text-primary, #264143);
}

.donation-amount {
    font-weight: 700;
    color: var(--accent-color, #DE5499);
}

.donation-message {
    color: var(--text-primary, #264143);
    font-style: italic;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.donation-time {
    color: var(--text-secondary, #6B7280);
    font-size: 12px;
}

.table-footer {
    background: rgba(38, 65, 67, 0.05);
    padding: 10px 15px;
    text-align: center;
}

.table-info {
    color: var(--text-secondary, #6B7280);
    font-size: 12px;
}

/* Top Donations Styling */
.top-donations {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.top-donation-item {
    background: var(--input-bg, white);
    border: 2px solid var(--border-color, #264143);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 3px 4px 0px 1px var(--shadow-color, #E99F4C);
    transition: all 0.3s ease;
}

.top-donation-item:hover {
    transform: translateY(-2px);
    box-shadow: 4px 6px 0px 1px var(--shadow-color, #E99F4C);
}

.top-donation-item.top-1 {
    border-color: #FFD700;
    background: linear-gradient(135deg, #FFF8DC, white);
}

.top-donation-item.top-2 {
    border-color: #C0C0C0;
    background: linear-gradient(135deg, #F8F8FF, white);
}

.top-donation-item.top-3 {
    border-color: #CD7F32;
    background: linear-gradient(135deg, #FFF5EE, white);
}

.rank-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 50px;
}

.rank-badge i {
    font-size: 24px;
}

.top-1 .rank-badge i {
    color: #FFD700;
}

.top-2 .rank-badge i {
    color: #C0C0C0;
}

.top-3 .rank-badge i {
    color: #CD7F32;
}

.rank-badge span {
    font-weight: 800;
    font-size: 14px;
    color: var(--text-primary, #264143);
}

.top-donation-item .donor-info {
    flex: 1;
    margin: 0;
}

.top-donation-item .donor-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #264143);
    margin-bottom: 4px;
}

.top-donation-item .donor-message {
    font-size: 14px;
    color: var(--text-secondary, #6B7280);
    font-style: italic;
    margin: 0;
}

    .top-donation-item .donation-amount {
        font-size: 18px;
            color: var(--accent-color, #DE5499);
        }
        
        /* Modal Header High Contrast Fix */
        .donation-modal .modal-header {
            background-color: #264143; /* --text-primary */
        }
        
        .donation-modal .modal-title {
            color: #EDDCD9; /* --card-bg */
        }
        
        .donation-modal .modal-close {
            color: #EDDCD9; /* --card-bg */
            opacity: 0.8;
        }
        
        .donation-modal .modal-close:hover {
            opacity: 1;
            background-color: rgba(255, 255, 255, 0.1);
        }
/* Modal Styling */
.donation-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.donation-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg, #EDDCD9);
    border: 3px solid var(--border-color, #264143);
    border-radius: 20px;
    box-shadow: 5px 6px 0px 2px var(--shadow-color, #E99F4C);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 2px solid var(--border-color, #264143);
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary, #264143);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary, #264143);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.modal-close:hover {
    background: var(--accent-color, #DE5499);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

/* Payment Methods Styling */
.payment-methods-section {
    background: var(--input-bg, white);
    border: 2px solid var(--border-color, #264143);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 3px 4px 0px 1px var(--shadow-color, #E99F4C);
}

.payment-title {
    color: var(--text-primary, #264143);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-category {
    margin-bottom: 25px;
}

.category-title {
    color: var(--text-primary, #264143);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid var(--border-color, #264143);
    border-radius: 12px;
    background: var(--input-bg, white);
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method-card:hover {
    border-color: var(--accent-color, #DE5499);
    transform: translateY(-1px);
    box-shadow: 2px 3px 0px 1px var(--shadow-color, #E99F4C);
}

.payment-option input[type="radio"]:checked + .payment-method-card {
    border-color: var(--accent-color, #DE5499);
    background: linear-gradient(135deg, rgba(222, 84, 153, 0.05), rgba(233, 159, 76, 0.05));
    box-shadow: 2px 3px 0px 1px var(--shadow-color, #E99F4C);
}

.payment-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg, #EDDCD9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.payment-info {
    flex: 1;
}

.payment-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #264143);
    margin-bottom: 2px;
}

.payment-desc {
    font-size: 13px;
    color: var(--text-secondary, #6B7280);
}

.payment-fee {
    font-size: 14px;
    font-weight: 600;
    color: #10B981;
}

.payment-actions {
    margin-top: 20px;
    text-align: center;
}

.btn-continue {
    background: linear-gradient(135deg, var(--accent-color, #DE5499), #E99F4C);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 3px 4px 0px 1px rgba(222, 84, 153, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.btn-continue:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 4px 6px 0px 1px rgba(222, 84, 153, 0.4);
    filter: brightness(1.1);
}

    .btn-continue:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
        box-shadow: 2px 3px 0px 1px rgba(222, 84, 153, 0.2);
    }

/* Payment Summary Card Styling */
.payment-summary-card {
    background: var(--card-bg, #EDDCD9);
    border: 2px solid var(--border-color, #264143);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-primary, #264143);
}

.summary-row.total {
    border-top: 2px solid var(--border-color, #264143);
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 700;
    font-size: 16px;
    color: var(--accent-color, #DE5499);
}

/* Footer Styles */
.footer-link {
    color: #DE5499;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #c14284;
    text-decoration: underline;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #DE5499;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #c14284;
    color: white;
    transform: translateY(-2px);
}


/* Payment Method Cards Responsiveness */
.payment-method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.payment-method-card:hover {
    border-color: #DE5499;
    box-shadow: 0 4px 12px rgba(222, 84, 153, 0.15);
    transform: translateY(-1px);
}

.payment-option input[type="radio"]:checked + .payment-method-card {
    border-color: #DE5499;
    background: linear-gradient(135deg, rgba(222, 84, 153, 0.05) 0%, rgba(222, 84, 153, 0.02) 100%);
    box-shadow: 0 4px 16px rgba(222, 84, 153, 0.2);
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 8px;
    padding: 8px;
}

.payment-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.payment-info {
    flex: 1;
    min-width: 0;
}

.payment-name {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    line-height: 1.2;
    display: block;
}

.payment-fee {
    flex-shrink: 0;
    font-weight: 500;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #6b7280;
    white-space: nowrap;
}

.payment-fee[data-category="QRIS"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 600;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Responsive Design */
@media (min-width: 640px) {
    .payment-options {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (min-width: 1024px) {
    .payment-options {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .payment-method-card {
        padding: 18px;
    }
    
    .payment-icon {
        width: 56px;
        height: 56px;
    }
    
    .payment-name {
        font-size: 15px;
    }
    
    .payment-fee {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* Payment Summary Card */
.payment-summary-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #64748b;
}

.summary-row.total {
    border-top: 2px solid #e2e8f0;
    margin-top: 8px;
    padding-top: 16px;
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
}

.summary-row span:first-child {
    font-weight: 500;
}

.summary-row span:last-child {
    font-weight: 600;
}

.summary-row.total span:last-child {
    color: #DE5499;
}

/* Category Title */
.payment-category {
    margin-bottom: 20px;
}

.category-title {
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #DE5499 0%, #c41d7f 100%);
    border-radius: 2px;
}

/* Loading State */
.payment-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #64748b;
}

.payment-loading i {
    margin-right: 12px;
}

/* Error State */
.payment-error {
    background: rgba(239, 68, 68, 0.05);
    border: 2px dashed #ef4444;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    color: #dc2626;
    margin: 16px 0;
}

.payment-error i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.payment-error p {
    margin: 8px 0;
}

.payment-error p:first-child {
    font-weight: 600;
    font-size: 16px;
}

.payment-error p:last-child {
    font-size: 13px;
    opacity: 0.8;
}


/* QRIS Fee Specific Styling */
.payment-fee[data-category="QRIS"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 600;
    font-size: 12px;
}

/* Ensure QRIS fee display is consistent */
.payment-fee[data-category="QRIS"]::after {
    content: '';
    display: none;
}

