 .wb-navbar {
            background: #FFFFFF24 !important;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
            padding:  0.5rem 0;
        }
        .wb-navbar .navbar-brand {
            font-weight: 800;
            font-size: 1.3rem;
            letter-spacing: -0.5px;
        }
        @media (min-width: 992px) {
            .wb-navbar .navbar-nav {
                gap: 32px !important;
            }
        }
        .wb-navbar .nav-link {
            font-family: 'Inter', sans-serif;
            color: #e2e8f0 !important;
            font-weight: 500;
            font-size: 14px;
            line-height: 20px;
            transition: color 0.2s ease;
            padding: 0.5rem 0 !important;
            display: inline-flex;
            align-items: center;
        }
        .wb-navbar .nav-dashboard-icon {
            display: inline-block;
            width: 23px;
            height: 23px;
            background-color: currentColor;
            -webkit-mask: url('../../general/images/dashboard-icon.svg') no-repeat center;
            mask: url('../../general/images/dashboard-icon.svg') no-repeat center;
            -webkit-mask-size: contain;
            mask-size: contain;
            transition: background-color 0.2s ease;
        }
        .wb-navbar .nav-link:hover {
            color: #ffffff !important;
        }
        .wb-navbar .nav-link.active {
            color: #8b5cf6 !important;
            font-weight: 600;
            position: relative;
        }
        .wb-navbar .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 48px;
            height: 5px;
            background: #8b5cf6;
            border-radius: 4px 4px 0 0;
            display: block !important;
        }
        .navbar-toggler {
            border-color: rgba(255, 255, 255, 0.1) !important;
        }
        .navbar-toggler-icon {
            filter: invert(1);
        }
        
        /* Upgrade Plan Button */
        .btn-upgrade-plan {
            min-width: 127px;
            height: 38px;
            background: linear-gradient(#000000, #000000) padding-box,
                        linear-gradient(135deg, #a855f7, #6366f1) border-box;
            color: #ffffff !important;
            border: 1.5px solid transparent;
            border-radius: 13px;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            /* font-weight: 600; */
            padding: 10px 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        .btn-upgrade-plan:hover {
            transform: translateY(-1px);
            background: linear-gradient(#000000, #000000) padding-box,
                        linear-gradient(135deg, #b55fe6, #7477fa) border-box;
            color: #ffffff !important;
        }
        
        /* Profile Dropdown styling */
        .nav-profile-img {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1.1px solid #D8E7FE;
            object-fit: cover;
        }
        .profile-dropdown-menu {
            background: #1A1A1A !important;
            border: 0.93px solid #1A1A1A !important;
            border-radius: 13.47px !important;
            box-shadow: 0px 4.08px 4.08px 0px #0000008F !important;
            padding: 0.4375rem 0 !important;
            margin-top: 0.9375rem !important;
        }
        .profile-dropdown-menu .dropdown-item {
            color: #e4e4e7 !important;
            font-size: 0.9rem;
            font-weight: 500;
            padding: 0.6rem 1rem !important;
            border-radius: 8px !important;
            display: flex;
            align-items: center;
            transition: all 0.2s ease;
        }
        .profile-dropdown-menu .dropdown-item:hover {
            background: transparent !important;
            color: #ffffff !important;
        }
        .profile-dropdown-menu .dropdown-item i {
            font-size: 0.95rem;
            opacity: 0.85;
        }
        .profile-dropdown-menu .dropdown-divider {
            border-top: 0.69px solid #1E2939 !important;
            margin:  0 !important;
        }
        .profile-dropdown-menu .dropdown-item.text-danger {
            color: #f87171 !important;
        }
        .profile-dropdown-menu .dropdown-item.text-danger:hover {
            background: rgba(239, 68, 68, 0.1) !important;
            color: #ef4444 !important;
        }

        /* Buttons */
        .btn-accent {
            background: linear-gradient(251.23deg, #1C0D40 20%, #14092E 80%);
            color: white;
            border: none;
            padding: 0.6rem 1.5rem;
            border-radius: 10px;
            transition: all 0.3s;
            /* box-shadow: 0 4px 12px rgba(17, 109, 255, 0.25); */
        }
        .btn-accent:hover {
            transform: translateY(-2px);
            /* box-shadow: 0 6px 20px rgba(17, 109, 255, 0.4); */
            color: white;
        }
        .btn-glass {
            background: var(--glass-bg);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
            padding: 0.5rem 1.2rem;
            border-radius: 10px;
            backdrop-filter: blur(10px);
            transition: all 0.3s;
        }
        .btn-glass:hover {
           background: var(--glass-bg);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }

        /* Cards */
        .wb-card {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
        }
        .wb-card:hover {
            transform: translateY(-3px);
            border-color: var(--accent-primary);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08),
                        0 0 0 1px var(--accent-primary);
        }

        /* Page header */
        .page-header {
            padding: 2.5rem 0 1.5rem;
        }
        .page-header h1 {
            /* font-weight: 800; */
            font-size: 2.9375rem;
            letter-spacing: -1px;
        }
        .page-header .subtitle {
            color: var(--text-secondary);
            font-weight: 400;
            font-size: 1rem;
        }

        /* Badge */
        .badge-published {
            background: rgba(34, 197, 94, 0.15);
            color: var(--accent-green);
            border: 1px solid rgba(34, 197, 94, 0.3);
            font-weight: 600;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
        }
        .badge-draft {
            background: rgba(245, 158, 11, 0.15);
            color: var(--accent-amber);
            border: 1px solid rgba(245, 158, 11, 0.3);
            font-weight: 600;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
        }

        /* Messages */
        .alert {
            border-radius: 12px;
            border: none;
            font-size: 0.9rem;
        }

        /* Footer */
        .wb-footer {
            border-top: 1px solid var(--glass-border);
            padding: 1.5rem 0;
            color: var(--text-secondary);
            font-size: 0.85rem;
            margin-top: 3rem;
        }
/* confirm-modal */
.confirm-modal .modal-content {
  background: #1A1A1A;
  border: 0.93px solid #1A1A1A;
  box-shadow: 0px 4.08px 4.08px 0px #0000008F;
  border-radius: 23.47px;
}
.confirm-modal .modal-header {
    border-bottom: 0.69px solid #1E2939;
}
.confirm-modal {
    color: #939393 !important;
    font-size: 1rem;
    line-height: 26.7px !important;
}
.confirm-modal .modal-footer {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 16px !important;
}
.confirm-modal .modal-footer .btn {
    flex: 1 !important;
    margin: 0 !important;
}


        /* Logout Modal Custom Styles */
        /* .logout-modal-content {
            background-color: #18181b !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 24px !important; */
            /* padding: 28px !important; */
            /* box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
        } */
        .logout-modal-title {
            color: #ffffff !important;
            font-size: 1.4375rem !important;
            /* font-weight: 600 !important;
            letter-spacing: -0.025em !important; */
        }
        /* .logout-modal-divider {
            border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
            margin: 16px 0 20px 0 !important;
        }
        .logout-modal-text {
            color: #a1a1aa !important;
            font-size: 1.05rem !important;
            line-height: 1.5 !important;
            font-weight: 400 !important;
        } */
        .logout-modal-btn-cancel {
            background-color: rgba(112, 167, 249, 0.04) !important;
            color: rgba(249, 249, 249, 0.98) !important;
            border: none !important;
            border-radius: 10px !important;
            padding: 10px 24px !important;
            font-size: 0.8125rem !important;
            /* font-weight: 600 !important; */
            transition: all 0.2s ease !important;
        }
        .logout-modal-btn-cancel:hover {
            background-color: rgba(112, 167, 249, 0.04) !important;
            transform: translateY(-1px);
        }
        .logout-modal-btn-cancel:active {
            transform: translateY(0);
        }
        .logout-modal-btn-confirm {
            background-color: #F32225 !important;
            color: rgba(249, 249, 249, 0.98) !important;
            border: none !important;
            border-radius: 10px !important;
            padding: 10px 24px !important;
            font-size: 0.8125rem !important;
            /* font-weight: 600 !important; */
            transition: all 0.2s ease !important;
        }
        .logout-modal-btn-confirm:hover {
            background-color: #F32225 !important;
            transform: translateY(-1px);
        }
        .logout-modal-btn-confirm:active {
            transform: translateY(0);
        }
        .modal-backdrop.show {
            opacity: 0.85 !important;
            background-color: #000000 !important;
        }

    .gallery-container {
        max-width: 1247px;
        margin: 0 auto;
        padding: 4.5rem 4.5rem 3rem 4.5rem;
        position: relative;
    }

    @media (max-width: 768px) {
        .gallery-container {
            padding: 3rem 1.5rem 2rem 1.5rem;
        }
    }

    .gallery-title {
        font-family: 'Poppins', 'Inter', sans-serif;
        font-size: 2.85rem;
        /* font-weight: 700; */
        text-align: center;
        margin-top: 3.5rem;
        margin-bottom: 3.5rem;
        color: #ffffff;
        letter-spacing: -1.2px;
    }
    
    .gallery-title span.text-purple {
        color: #7738FF;
    }

    /* Card Layout */
    .gallery-grid {
        position: relative;
        z-index: 10;
    }

/* Premium Dark Theme */
body.premium-dark {
    --gallery-bg: #030712;
    --gallery-card-bg: rgba(255, 255, 255, 0.06);
    --gallery-text-primary: #ffffff;
    --gallery-text-secondary: #DEDEDE;
    --gallery-purple: #7738FF;

    --bg-primary: #030712;
    --bg-secondary: rgba(255, 255, 255, 0.03);
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #DEDEDE;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);

    background-image: url('/static/general/images/img/bg-img.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    min-height: 100vh;
}

body.premium-dark h1,
body.premium-dark h2,
body.premium-dark h3,
body.premium-dark h4,
body.premium-dark h5,
body.premium-dark h6 {
    color: #ffffff !important;
}

body.premium-dark .page-header .subtitle {
    color: #DEDEDE !important;
}

body.premium-dark .gallery-title {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2.85rem;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
    color: #ffffff;
    letter-spacing: -1.2px;
}
body.premium-dark .gallery-title span.text-purple {
    color: #7738FF;
}

/* Premium Shared Cards and Layouts */
.gallery-card, .premium-card {
    background: var(--gallery-card-bg, rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 13.39px;
    padding: 12px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0px 0.98px 2.93px 0px rgba(0, 0, 0, 0.25);
}

.gallery-card:hover, .premium-card:hover {
    transform: translateY(-8px);
    border-color: rgba(158, 97, 255, 0.2);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.gallery-img-wrapper, .premium-img-wrapper {
    position: relative;
    height: 297px;
    overflow: hidden;
    background: #18181b;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.3);
}

.gallery-img, .premium-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.95;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6.37px;
}

.gallery-card:hover .gallery-img, .premium-card:hover .premium-img {
    transform: scale(1.05);
}

/* Overlay */
.gallery-overlay, .premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(179.81deg, rgba(0, 0, 0, 0.66) 28.6%, rgba(0, 0, 0, 0.66) 47.99%, rgba(0, 0, 0, 0.66) 66.1%, rgba(0, 0, 0, 0.66) 93.44%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    padding: 20px;
    border-radius: 12px;
}

.gallery-card:hover .gallery-overlay, .premium-card:hover .premium-overlay {
    opacity: 1;
}

/* Horizontal Overlay for Dashboard */
.premium-overlay.premium-overlay-horizontal {
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    padding-bottom: 24px;
}

/* Custom Buttons */
.gallery-btn-use, .premium-btn-primary {
    min-width: 230px;
    height: 46px;
    background: linear-gradient(251.23deg, #1C0D40 20%, #14092E 80%);
    color: #ffffff !important;
    border: 1px solid rgba(158, 97, 255, 0.3);
    border-radius: 13px;
    padding: 11px 24px;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-btn-use:hover, .premium-btn-primary:hover {
    background: linear-gradient(251.23deg, #2b175c 20%, #1d0f3f 80%);
    border-color: rgba(158, 97, 255, 0.6);
    transform: translateY(-2px);
}

.gallery-btn-preview, .premium-btn-secondary {
    min-width: 230px;
    height: 46px;
    background: linear-gradient(264.44deg, #2A2A2F 41.62%, #3A3A42 100%);
    box-shadow: 0px 1px 0px 0px #FFFFFF40 inset,
                0px -3px 4px 0px #00000033 inset,
                0px 5px 6px 0px #0000001F;
    color: #ffffff !important;
    border: none;
    border-radius: 13px;
    padding: 11px 24px;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn-preview:hover, .premium-btn-secondary:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0px 1px 0px 0px rgba(255,255,255,0.15) inset,
                0px -3px 4px 0px rgba(0,0,0,0.3) inset,
                0px 8px 12px 0px rgba(0,0,0,0.25);
}

/* Small modifier for button size when inside horizontal overlay */
.premium-overlay-horizontal .premium-btn-primary,
.premium-overlay-horizontal .premium-btn-secondary {
    min-width: 147px;
    height: 40px;
    font-size: 0.85rem;
    padding: 8px 16px;
}

.premium-overlay-horizontal .premium-btn-secondary {
    background: linear-gradient(251.23deg, #191919 20%, #030303 80%);
}

/* Settings and Delete buttons on hover card top-right */
.premium-icon-btn {
    width: 39.0625px;
    height: 35px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #393939 !important;
    border:0 !important;
    color: #ffffff !important;
    border-radius: 9.75px !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.premium-icon-btn:hover {
    background: #393939 !important;
    transform: scale(1.05);
    color: #ffffff !important;
}

.premium-icon-btn.btn-delete {
    color: #EF4444 !important;
}

.premium-icon-btn.btn-delete:hover {
    background: #393939 !important;
    color: #EF4444 !important;
}

/* Info */
.gallery-info, .premium-info {
    padding: 1.25rem 0 0 0;
}

.gallery-name, .premium-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 6px;
}

.gallery-desc, .premium-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.816rem;
    color: #DEDEDE !important;
    margin-bottom: 0;
    line-height: 1.5;
}

    /* Watermark logo */
    .gallery-watermark {
        text-align: center;
        margin-top: 5rem;
        pointer-events: none;
        opacity: 0.05;
        z-index: 1;
    }

    .gallery-watermark img {
        max-width: 900px;
        width: 100%;
        height: auto;
    }

    /* Project Modal Custom Styling */
    /* .project-modal-content {
        background-color: #151518 !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 28px !important;
        padding: 32px !important;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
        font-family: 'Inter', sans-serif;
    } */
    .project-modal-title {
        color: #F6F7F8 !important;
        font-size: 1.1875rem !important;
        /* font-weight: 700 !important; */
        /* letter-spacing: -0.025em !important; */
    }
    .modal-label {
        color: #E1E1E1 !important;
        font-size: 0.875rem !important;
        /* font-weight: 600 !important; */
        margin-bottom: 9px !important;
        display: block;
    }
    .modal-input {
        background: #252525 !important;
        border: 0.69px solid #43526B !important;
        border-radius: 7.57px !important;
        color: #858585 !important;
        padding: 8px 11px !important;
        font-size: 0.875rem !important;
        width: 100%;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .modal-input::placeholder {
        color: #858585 !important;
        opacity: 1 !important;
    }
    .modal-input:focus {
        background-color: #1f1f23 !important;
        border-color: #1e75ff !important;
        box-shadow: 0 0 0 3px rgba(30, 117, 255, 0.25) !important;
        color: #ffffff !important;
        outline: none !important;
    }
    .project-modal-input:focus {
        background-color: #1f1f23 !important;
        border-color: #1e75ff !important;
        box-shadow: 0 0 0 3px rgba(30, 117, 255, 0.25) !important;
        color: #ffffff !important;
        outline: none !important;
    }
    .project-modal-input::placeholder {
        color: #858585 !important;
        opacity: 1;
    }
    .project-modal-btn-cancel {
        height: 38px;
        background: rgba(112, 167, 249, 0.04) !important;
        color: rgba(249, 249, 249, 0.98) !important;
        border: none !important;
        border-radius: 10px !important;
        /* padding: 12px 28px !important; */
        font-size: 0.8125rem !important;
        /* font-weight: 600 !important; */
        transition: all 0.2s ease !important;
    }
    .project-modal-btn-cancel:hover {
        background-color: #2a2a2e !important;
        transform: translateY(-1px);
    }
    .project-modal-btn-create {
        height: 38px;
        background-color: #287EFF !important;
        color: rgba(249, 249, 249, 0.98) !important;
        border: none !important;
        border-radius: 10px !important;
        /* padding: 12px 28px !important; */
        font-size: 0.8125rem !important;
        /* font-weight: 600 !important; */
        transition: all 0.2s ease !important;
    }
    .project-modal-btn-create:hover {
        background-color: #3b82f6 !important;
        transform: translateY(-1px);
    }

/* Delete Confirm Modal Styles */
.delete-confirm-modal .modal-dialog {
    max-width: 440px;
}
.delete-confirm-modal .project-modal-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
}
.delete-confirm-modal .modal-body p {
    color: #939393;
    font-size: 0.95rem;
    line-height: 1.5;
}
.delete-confirm-modal .modal-label {
    color: #E1E1E1;
    font-size: 0.875rem;
}
.delete-confirm-modal .modal-input {
    background: #252525 !important;
    border: 0.69px solid #43526B !important;
    color: #ffffff !important;
    border-radius: 7.57px !important;
    padding: 8px 11px !important;
}
.delete-confirm-modal .btn-cancel-custom {
    height: 38px;
    background: #252529 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 0.8125rem;
    font-weight: 600;
    flex: 1;
}
.delete-confirm-modal .btn-delete-custom {
    height: 38px;
    background: #F32225 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 0.8125rem;
    font-weight: 600;
    flex: 1;
}
.delete-confirm-modal .btn-delete-custom:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ==========================================================================
   User Settings & Subscriptions Modal
   ========================================================================== */
.user-settings-modal-dialog {
    max-width: 800px;
    width: 100%;
}

.user-settings-modal-content {
    /* background-color: #121214 !important; */
    /* border: 1px solid rgba(255, 255, 255, 0.08) !important; */
    /* border-radius: 20px !important; */
    overflow: hidden;
    color: #ffffff;
    /* box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8) !important; */
}

.user-settings-modal-header {
    /* background-color: #121214; */
    padding: 24px 28px 12px 28px !important;
}

.user-settings-modal-title {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0;
}

.btn-modal-upgrade {
    background: linear-gradient(#121214, #121214) padding-box,
                linear-gradient(135deg, #a855f7, #6366f1) border-box;
    color: #ffffff !important;
    border: 1.5px solid transparent !important;
    border-radius: 13px !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px !important;
    transition: all 0.3s ease;
}

.btn-modal-upgrade:hover {
    transform: translateY(-1px);
    background: linear-gradient(#121214, #121214) padding-box,
                linear-gradient(135deg, #b55fe6, #7477fa) border-box;
}

/* .user-settings-modal-body {
    min-height: 380px;
} */

/* Left Sidebar */
.user-settings-sidebar {
    border-right: 0.69px solid #1E2939;
    padding: 16px 0;
}

.user-settings-tabs {
    border: none !important;
}

.user-settings-tab-btn {
    background: transparent !important;
    border-bottom: 0.69px solid #1E2939 !important;
    border-radius: 0 !important;
    color: #71717a !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 14px 28px !important;
    transition: all 0.2s ease !important;
    text-align: left;
    outline: none !important;
    width: 100%;
}

.user-settings-tab-btn:hover {
    color: #e4e4e7 !important;
}

.user-settings-tab-btn.active {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Right Content Area */
.user-settings-content {
    min-height: 440px;
    display: flex;
    flex-direction: column;
}

.user-settings-content .tab-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.user-settings-content .tab-pane.active {
    display: flex !important;
    flex-direction: column;
    flex-grow: 1;
}

.user-settings-content .no-content-div {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* Profile Tab Content */
.profile-card-container {
    background: #222222;
    /* border: 0.5px solid #424242; */
    overflow: hidden;
    border-radius: 9px;
}

.profile-summary-card {
    background: transparent;
    border: none;
    border-bottom: 0.5px solid #2F3947;
    border-radius: 0;
    padding: 0 0 20px 0;
}

.profile-avatar-container {
    position: relative;
    display: inline-block;
}

.profile-avatar-edit-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #6366f1;
    border: 1.5px solid #121214;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    z-index: 10;
}

.profile-avatar-edit-badge:hover {
    background: #4f46e5;
    transform: scale(1.1);
}

.profile-avatar-edit-badge i {
    font-size: 0.75rem;
    color: #ffffff !important;
}

.profile-avatar-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #f59e0b, #e11d48);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.profile-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.profile-plan-badge {
    color: #eab308;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.gold-crown-icon {
    font-size: 0.85rem;
    color: #eab308;
}

.profile-edit-btn {
    width: 44px;
    height: 38px;
    border-radius: 10px;
    background: #272727;
    border: 1px solid #2E2E2E;
    color: #6961FF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.profile-edit-btn i {
    font-size: 1.1rem;
    color: #6961FF;
}

.profile-edit-btn:hover {
    background: #272727;
    border: 1px solid #2E2E2E;
}

.profile-info-grid {
    border-bottom: 0.5px solid #2F3947;
    padding-bottom: 20px;
}

#passwordFieldsContainer {
    border-bottom: 0.5px solid #2F3947;
    padding-bottom: 20px;
}

.profile-field-group {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.profile-field-label {
    font-size: 0.78rem;
    color: #71717a;
    margin-bottom: 4px;
}

.profile-field-value {
    font-size: 0.95rem;
    /* font-weight: 600; */
    color: #DCDCDC;
}

.btn-update-pw {
    background-color: #27272a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.btn-update-pw:hover {
    background-color: #3f3f46 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Subscription Tab Content */
.plan-card {
    background: #222222;
    border: 0.5px solid #424242;
    border-radius: 9px;
}

.plan-title {
    font-size: 1.25rem;
    /* font-weight: 700; */
}

.plan-renewal {
    font-size: 0.85rem;
    color: #DCDCDC;
}

.plan-features li {
    font-size: 0.95rem;
}

.feature-check-icon {
    font-size: 1.1rem;
    color: #979797 !important;
}

.feature-text {
    font-size: 0.95rem;
    color: #979797;
}

.btn-plan-manage {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    padding: 6px 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    transition: all 0.2s ease !important;
}

.btn-plan-manage:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Manage Dropdown */
.manage-dropdown {
    background: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 6px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5) !important;
    min-width: 200px;
}

.manage-dropdown-item {
    color: #d4d4d8 !important;
    font-size: 0.85rem !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: background 0.15s ease !important;
}

.manage-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

.manage-dropdown-item.text-danger {
    color: #ef4444 !important;
}

.manage-dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.08) !important;
}

.manage-dropdown-item i {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

/* Status Badge */
.manage-status-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 10px;
    border-radius: 20px;
}

.manage-status-badge.active {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

/* Info Grid */
.manage-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.manage-info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.manage-info-label {
    font-size: 0.72rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.manage-info-value {
    font-size: 0.9rem;
    color: #d4d4d8;
    font-weight: 500;
}

/* Features Label */
.manage-features-label {
    font-size: 0.72rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Pending Downgrade Notice */
.manage-pending-notice {
    margin-top: 20px;
    padding: 16px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 10px;
}

.manage-cancel-downgrade-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #d4d4d8 !important;
    font-size: 0.8rem !important;
    padding: 6px 16px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.manage-cancel-downgrade-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.user-settings-modal-header .btn-close {
    font-size: 0.8rem;
}

.settings-support-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-support-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 14px 16px;
    background: #222222;
    border: 1px solid #2F3947;
    border-radius: 9px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s;
}

.settings-support-row:hover {
    border-color: #683AC9;
    color: inherit;
}

.settings-support-subject {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
}

.settings-support-meta {
    color: #a1a1aa;
    font-size: 0.75rem;
    margin-top: 2px;
}

.settings-support-status {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #d4d4d8;
}

.settings-support-status-open,
.settings-support-status-in_progress {
    background: rgba(104, 58, 201, 0.2);
    color: #c4b5fd;
}

.settings-support-status-resolved {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}

.settings-support-status-closed {
    background: rgba(113, 113, 122, 0.2);
    color: #a1a1aa;
}

/* Edit Mode Profile Fields */
.profile-field-input, .profile-password-input {
    background: #252525 !important;
    border: 0.69px solid #43526B !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    /* font-weight: 600 !important; */
    padding: 2px 8px !important;
    width: 100%;
    outline: none !important;
}

.profile-field-input:focus, .profile-password-input:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25) !important;
}

.profile-cancel-btn {
    width: 44px;
    height: 38px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.profile-cancel-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

.btn-cancel-pw {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.btn-cancel-pw:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/* Header Avatar Card Inputs Style */
.profile-header-input {
    background: #252525 !important;
    border: 0.69px solid #43526B !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    padding: 2px 8px !important;
    outline: none !important;
    max-width: 200px;
    width: auto;
    display: inline-block;
}

.profile-header-input:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25) !important;
}

#profile-edit-name {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 2px;
}

#profile-edit-plan {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #eab308 !important;
    border-color: rgba(234, 179, 8, 0.4) !important;
}

/* ==========================================================================
   Site Settings Modal
   ========================================================================== */
/* .site-settings-section-title {
    font-weight: 700;
} */

/* .site-settings-label {
    font-size: 0.85rem;
    font-weight: 600;
} */

.site-settings-preview-container {
    height: 60px;
}

.site-settings-logo-preview {
    max-height: 60px;
    object-fit: contain;
}

.site-settings-favicon-preview {
    max-height: 40px;
    object-fit: contain;
}

.site-settings-meta-preview {
    max-height: 100px;
    object-fit: contain;
}

.site-settings-remove-btn {
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    padding: 0;
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #f87171 !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2) !important;
}

.site-settings-remove-btn:hover {
    background-color: #fca5a5 !important;
    color: #b91c1c !important;
}

.site-settings-remove-btn i {
    font-size: 11px;
}

.site-settings-color-input {
    width: 50px;
}

.site-settings-color-desc {
    font-size: 0.85rem;
}

.site-settings-form-text {
    font-size: 0.8rem;
    color: #E1E1E1;
}

/* Scoped styling for file input choose-file buttons */
.modal-input::file-selector-button {
    background-color: #353535 !important;
    color: #ffffff !important;
    border: none !important;
    border-inline-end: 1px solid #43526B !important;
    padding: 8px 12px !important;
    margin: -8px 12px -8px -11px !important;
    transition: background-color 0.2s ease !important;
    cursor: pointer;
}

.modal-input::-webkit-file-upload-button {
    background-color: #353535 !important;
    color: #ffffff !important;
    border: none !important;
    border-inline-end: 1px solid #43526B !important;
    padding: 8px 12px !important;
    margin: -8px 12px -8px -11px !important;
    transition: background-color 0.2s ease !important;
    cursor: pointer;
}

.modal-input::file-selector-button:hover,
.modal-input::-webkit-file-upload-button:hover {
    background-color: #454545 !important;
}

.confirm-modal .settings-modal-footer {
    justify-content: flex-end !important;
}

.confirm-modal .settings-modal-footer .btn {
    flex: 0 0 auto !important;
}

.footer-img {
    padding-top: 280px;
}

.modal-hr{
    border-top: 0.69px solid #1E2939 !important;
}

/* Password visibility toggle styling */
.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper .profile-password-input {
    padding-right: 36px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    color: #71717a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    outline: none;
    transition: color 0.15s ease;
}

.password-toggle-btn:hover {
    color: #ffffff;
}

.password-toggle-btn:focus {
    outline: none;
}

/* ==========================================================================
   Custom Dark SweetAlert Modal Design
   ========================================================================== */
.delete-swal-popup {
    background-color: #19191d !important;
    border-radius: 24px !important;
    padding: 2.25rem 2rem 2rem 2rem !important;
    width: 440px !important;
    max-width: 90vw !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-family: 'Inter', sans-serif !important;
}

.delete-swal-icon {
    border: none !important;
    background: transparent !important;
    margin: 0 auto 0.5rem auto !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

.delete-swal-title {
    color: #ffffff !important;
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.75rem 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-family: 'Inter', sans-serif !important;
}

.delete-swal-html {
    color: #a0a0ab !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin: 0 0 1.75rem 0 !important;
    padding: 0 !important;
    font-family: 'Inter', sans-serif !important;
}

.delete-swal-html div {
    margin-bottom: 2px;
}

.delete-swal-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
}

.delete-swal-confirm {
    background-color: #5148F9 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    height: 42px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    flex: 1 !important;
    transition: background-color 0.2s ease !important;
    font-family: 'Inter', sans-serif !important;
    outline: none !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.delete-swal-confirm:hover,
.delete-swal-confirm:focus {
    background-color: #4339e6 !important;
    color: #ffffff !important;
}

.delete-swal-cancel {
    background-color: #27272a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    height: 42px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    flex: 1 !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    font-family: 'Inter', sans-serif !important;
    outline: none !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.delete-swal-cancel:hover,
.delete-swal-cancel:focus {
    background-color: #323238 !important;
    color: #ffffff !important;
}