﻿
:root {
    /* colors */
    --primary-color: var(--success-color);
    --secondary-color: var(--text-dark);
    --success-color: rgb(74 222 128 / var(--tw-bg-opacity, 1));
    --success-color-dark: rgb(56 190 105 / var(--tw-bg-opacity, 1));
    --gray-medium: rgb(156 163 175 / var(--tw-bg-opacity, 1));
    --color-gray: #6b7280;
    --surface: #F9FAFB;
    --warning-color: #f59e0b;
    --danger-color: #dc3545;
    --purple-color: #8b5cf6;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-light-gray: #f7f8fa;
    --text-dark: #111b21;
    --text-muted: #64748b;
    --color--green-0: #e1fdea;
    --color--green-900: #054f31;
    /* border color */
    --border: #e5e7eb;
    --border-color: #e2e8f0;
    /* Font Weights */
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    /* layout */
    --btn-padding: 0.6rem 1rem;
    --btn-font-size: 0.875rem;
    --btn-font-weight: 500;
    /* Common Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    /* Border Radius*/
    --radius-sm: 0.8rem;
    --radius-md: 14px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    /* shadow */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: var(--shadow-md);
    /* transition */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transitions: 0.2s ease;
    --transition-upload: 2s linear;
    --transition-shimmer: 1.5s infinite;
    --text-primary: var(--text-dark);
    --text-secondary: var(--text-muted);
    --hover-bg: var(--bg-light);
    --selected-bg: rgb(220 252 231 / 0.3);
    --selected-border: var(--text-dark);
}

/* ========== BUTTON COLOR VARIANTS ========== */

/* Delete / Danger */
.btn-lp-delete {
    --btn-bg: var(--danger-color);
    --btn-hover-bg: #dc2626; /* darker shade of danger */
    --btn-text: var(--bg-white);
    --btn-hover-text: var(--bg-white);
    --btn-focus-outline: var(--danger-color);
}

/* Warning */
.btn-lp-warning {
    --btn-bg: var(--warning-color);
    --btn-hover-bg: #d97706; /* darker shade of warning */
    --btn-text: var(--bg-white);
    --btn-hover-text: var(--bg-white);
    --btn-focus-outline: var(--warning-color);
}

/* Purple */
.btn-lp-purple {
    --btn-bg: var(--purple-color);
    --btn-hover-bg: #6d28d9;
    --btn-text: var(--bg-white);
    --btn-hover-text: var(--bg-white);
    --btn-focus-outline: var(--purple-color);
}




/* =========================  SCROLL BAR   ====================================== */
/* Webkit-based browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(130, 130, 130, 0.4); /* light gray with transparency */
    border-radius: 4px;
    transition: background-color 0.3s;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: rgba(130, 130, 130, 0.7);
    }

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(130, 130, 130, 0.4) transparent;
}

/* ==============================
   TEXT SELECTION STYLING
   Makes highlighted/selected text 
   background green with white text
   ============================== */
::selection {
    background: var(--success-color);
    color: #fff;
}

/* For Firefox specifically */
::-moz-selection {
    background: var(--success-color);
    color: #fff;
}



html {
    scroll-behavior: smooth;
    font-family: "PP Neue Montreal", sans-serif !important;
}

body {
    color: var(--lp-text-dark);
    line-height: 1.6;
    margin: 0; 
}

h1, h2, h3, h4, h5,h6
.h1, .h2, .h3, .h4, .h5, .h6{
    font-family: "PP Neue Montreal", sans-serif !important;
    margin-top: 0;
    margin-bottom: 0.5em; 
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

    a:focus {
        text-decoration: none;
        color: var(--primary-color) !important;
        outline: none; 
    }

p {
    margin-top: 0;
    font-size: 13px;
    font-family: "PP Neue Montreal", sans-serif !important;
}


.hidden {
    display: none !important;
}



#content {
    overflow-x: hidden;
    background-color: var(--bg-light);
    height:100vh;
}


/* MODAL */

.modal-title.black-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-footer .btn-lp-secondary, .modal-footer .btn-lp-primary {
    width: 100%;
}

    /* ===============================================
   GLOBAL FORM ELEMENTS STYLES
   =============================================== */
    /* Base Form Styles */
    .form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: 2px;
    font-weight: var(--font-bold);
    color: var(--text-primary);
    font-size: var(--btn-font-size);
    line-height: 1.5;
    /*animation: fadeInUp 0.8s ease-out 0.5s forwards;*/
}

    .form-label.required::after {
        content: "*";
        color: var(--danger-color);
        margin-left: 4px;
    }

/* Input Fields */
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: var(--btn-font-size);
    /*font-weight: var(--font-medium);*/
    color: var(--text-primary);
    font-weight: 400;
    /*color: var(--text-muted);*/
    background-color: var(--bg-white);
    transition: var(--transition);
    outline: none;
    /*box-shadow: var(--shadow-sm);*/
    /*animation: fadeInUp 0.8s ease-out 0.5s forwards;*/
}

    .form-input:focus,
    .form-textarea:focus,
    .form-select:focus {
        border-color: var(--success-color);
        /*box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);*/
        transform: translateY(-1px);
    }

    .form-input:hover,
    .form-textarea:hover,
    .form-select:hover {
        border-color: var(--gray-medium);
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: var(--text-muted);
        font-weight: 400;
    }

    /* Input States */
    .form-input:disabled,
    .form-textarea:disabled,
    .form-select:disabled {
        background-color: var(--bg-light-gray);
        color: var(--text-muted);
        cursor: not-allowed;
        opacity: 0.7;
    }

    .form-input.error,
    .form-textarea.error,
    .form-select.error {
        border-color: var(--danger-color);
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    }

    .form-input.success,
    .form-textarea.success,
    .form-select.success {
        border-color: var(--success-color);
        box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
    }

/* Input Sizes */
.form-input-sm,
.form-select-sm {
    padding: 8px 12px;
    font-size: 0.8125rem;
}

.form-input-lg,
.form-select-lg {
    padding: 16px 20px;
    font-size: 1rem;
}

/* Textarea Specific */
.form-textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.form-textarea-sm {
    min-height: 80px;
    padding: 8px 12px;
}

.form-textarea-lg {
    min-height: 140px;
    padding: 16px 20px;
}

/* Input Groups */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-group .form-input {
        border-radius: var(--radius-md) 0 0 var(--radius-md);
    }

.input-group-text {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: var(--btn-font-size);
    color: var(--text-muted);
    white-space: nowrap;
}

.input-group-prepend .form-input {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.input-group-prepend .input-group-text {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border-right: none;
    border-left: 1px solid var(--border-color);
}

/* Floating Labels */
.form-floating {
    position: relative;
}

    .form-floating .form-input,
    .form-floating .form-textarea {
        padding-top: 20px;
        padding-bottom: 8px;
    }

    .form-floating .form-label {
        position: absolute;
        top: 12px;
        left: 16px;
        margin-bottom: 0;
        color: var(--text-muted);
        transition: var(--transition);
        pointer-events: none;
        transform-origin: 0 0;
    }

    .form-floating .form-input:focus ~ .form-label,
    .form-floating .form-input:not(:placeholder-shown) ~ .form-label,
    .form-floating .form-textarea:focus ~ .form-label,
    .form-floating .form-textarea:not(:placeholder-shown) ~ .form-label {
        transform: scale(0.85) translateY(-12px);
        color: var(--success-color);
    }

/* Select Dropdown */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

    .form-select:focus {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%234ade80' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    }

    /* Multi-select */
    .form-select[multiple] {
        background-image: none;
        padding-right: 16px;
        height: auto;
        min-height: 120px;
    }

        .form-select[multiple] option {
            padding: 8px 12px;
            border-radius: var(--radius-sm);
            margin: 2px;
        }

            .form-select[multiple] option:checked {
                background-color: var(--success-color);
                color: white;
            }

/* Checkbox Styles */
.form-checkbox,
.form-radio {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-size: var(--btn-font-size);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

    .form-checkbox input[type="checkbox"],
    .form-radio input[type="radio"] {
        width: 18px;
        height: 18px;
        margin: 0;
        cursor: pointer;
        appearance: none;
        border: 2px solid var(--border-color);
        background-color: var(--bg-white);
        transition: var(--transition);
        outline: none;
        position: relative;
    }

    .form-checkbox input[type="checkbox"] {
        border-radius: var(--radius-sm);
    }

    .form-radio input[type="radio"] {
        border-radius: 50%;
    }

    /* Checkbox Checked State */
    .form-checkbox input[type="checkbox"]:checked {
        background-color: var(--success-color);
        border-color: var(--success-color);
    }

        .form-checkbox input[type="checkbox"]:checked::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 10px;
            height: 10px;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='3'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3e%3c/svg%3e");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

    /* Radio Checked State */
    .form-radio input[type="radio"]:checked {
        background-color: var(--success-color);
        border-color: var(--success-color);
    }

        .form-radio input[type="radio"]:checked::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: white;
        }

    /* Focus States */
    .form-checkbox input[type="checkbox"]:focus,
    .form-radio input[type="radio"]:focus {
        border-color: var(--success-color);
        box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
    }

    /* Hover States */
    .form-checkbox input[type="checkbox"]:hover,
    .form-radio input[type="radio"]:hover {
        border-color: var(--success-color);
        transform: scale(1.05);
    }

    /* Disabled States */
    .form-checkbox input[type="checkbox"]:disabled,
    .form-radio input[type="radio"]:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

        .form-checkbox input[type="checkbox"]:disabled + label,
        .form-radio input[type="radio"]:disabled + label {
            opacity: 0.5;
            cursor: not-allowed;
        }



/* Range Slider */
.form-range {
    width: 100%;
    height: 6px;
    border-radius: var(--radius-pill);
    background-color: var(--border-color);
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: var(--transition);
}

    .form-range::-webkit-slider-thumb {
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: var(--success-color);
        cursor: pointer;
        border: 2px solid var(--bg-white);
        box-shadow: var(--shadow-md);
        transition: var(--transition);
    }

    .form-range::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: var(--success-color);
        cursor: pointer;
        border: 2px solid var(--bg-white);
        box-shadow: var(--shadow-md);
    }

    .form-range:hover::-webkit-slider-thumb,
    .form-range:hover::-moz-range-thumb {
        transform: scale(1.1);
    }

    .form-range:focus::-webkit-slider-thumb,
    .form-range:focus::-moz-range-thumb {
        box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
    }


/* Search Input */
.form-search {
    position: relative;
    display: flex;
    align-items: center;
}

    .form-search .form-input {
        padding-left: 40px;
    }

.form-search-icon {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

/* Input Icons */
.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-icon .form-input {
        padding-right: 40px;
    }

.input-icon-right {
    position: absolute;
    right: 12px;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

    .input-icon-right:hover {
        color: var(--text-primary);
    }


.input-icon-left {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
    /*animation: fadeInUp 0.8s ease-out 0.5s forwards;*/
}

    .input-icon-left img {
        width: 15px;
        height: 15px;
        margin-bottom: 12px;
    }

    .input-icon .form-input {
        padding-left: 40px;
    }

/* search input-icons*/
.search-icon-left {
    position: absolute;
    left: 18px;
    width: 18px;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

/* Form Validation */
.form-error {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: 0.8125rem;
    color: var(--danger-color);
    font-weight: var(--font-medium);
}

.form-success {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: 0.8125rem;
    color: var(--success-color);
    font-weight: var(--font-medium);
}

.form-help {
    display: block;
    margin-bottom: var(--spacing-md);
    font-size: 0.8125rem;
    color: var(--text-muted);
    /*animation: fadeInUp 0.8s ease-out 0.5s forwards;*/
}

/* Form Grid */
.form-row {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.form-col {
    flex: 1;
}

.form-col-auto {
    flex: 0 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .input-group {
        flex-direction: column;
    }

        .input-group .form-input,
        .input-group .input-group-text {
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
        }

        .input-group .input-group-text {
            border-top: none;
            border-radius: 0 0 var(--radius-md) var(--radius-md);
        }

        .input-group .form-input {
            border-radius: var(--radius-md) var(--radius-md) 0 0;
            border-bottom: none;
        }
}

/* Dark mode support (optional) */
/*@media (prefers-color-scheme: dark) {
    .form-input,
    .form-textarea,
    .form-select {
        background-color: var(--text-dark);
        color: var(--bg-white);
        border-color: var(--gray-medium);
    }

        .form-input::placeholder,
        .form-textarea::placeholder {
            color: var(--gray-medium);
        }
}*/


/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px; 
    cursor: pointer;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-light-gray);
    border-radius: 22px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .toggle-slider:before {
        position: absolute;
        content: "";
        top: 2px;
        left: 2px;
        width: 20px;
        height: 20px;
        background-color: var(--bg-white);
        border-radius: 50%;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }


.toggle-switch input:checked + .toggle-slider {
    background-color: var(--success-color, #4ade80);
    box-shadow: inset 0 2px 4px rgba(74, 222, 128, 0.2);
}

    .toggle-switch input:checked + .toggle-slider:before {
        transform: translateX(20px); 
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

.toggle-switch:hover .toggle-slider {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.toggle-switch input:checked:hover + .toggle-slider {
    box-shadow: inset 0 2px 4px rgba(74, 222, 128, 0.3), 0 0 0 3px rgba(74, 222, 128, 0.15);
}



/* ============== Breadcrumb Section ======================= */
.breadcrumb-section {
    display: none;
    /*display: flex;*/
    align-items: center;
    gap: 0.75rem;
    align-self: flex-start;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .back-btn:hover {
        background: rgba(0, 0, 0, 0.15);
        color: var(--text-dark);
        transform: translateX(-2px);
    }

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb-main {
    font-weight: 500;
    font-size: 14px;
}

.breadcrumb-separator {
    opacity: 0.6;
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
}


/* ============ LOADER =============== */

#globalLoaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    max-width: 100%;
    height: 100vh;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.9);
    flex-direction: column;
    gap: var(--spacing-xl);
}

.loader-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


.loader_lap {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    width: 160px;
    height: 100px;
    margin-left: -80px;
    margin-top: -50px;
    border-radius: 5px;
    background: var(--text-dark);
    animation: dot1_ 3s cubic-bezier(0.55,0.3,0.24,0.99) infinite;
}

    .loader_lap:nth-child(2) {
        z-index: 11;
        width: 150px;
        height: 90px;
        margin-top: -45px;
        margin-left: -75px;
        border-radius: 3px;
        background: var(--success-color);
        animation-name: dot2_;
    }

    .loader_lap:nth-child(3) {
        z-index: 12;
        width: 40px;
        height: 20px;
        margin-top: 50px;
        margin-left: -20px;
        border-radius: 0 0 5px 5px;
        background: var(--border-color);
        animation-name: dot3_;
    }

/* Loader Text Container */
.loader-text {
    text-align: center;
    margin-top: 45px;
    max-width: 400px;
    padding: 0 var(--spacing-md);
}

.loader-title {
    font-size: 1.2rem;
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.loader-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}


@keyframes dot1_ {
    3%,97% {
        width: 160px;
        height: 100px;
        margin-top: -50px;
        margin-left: -80px;
    }

    30%,36% {
        width: 80px;
        height: 120px;
        margin-top: -60px;
        margin-left: -40px;
    }

    63%,69% {
        width: 40px;
        height: 80px;
        margin-top: -40px;
        margin-left: -20px;
    }
}

@keyframes dot2_ {
    3%,97% {
        height: 90px;
        width: 150px;
        margin-left: -75px;
        margin-top: -45px;
    }

    30%,36% {
        width: 70px;
        height: 96px;
        margin-left: -35px;
        margin-top: -48px;
    }

    63%,69% {
        width: 32px;
        height: 60px;
        margin-left: -16px;
        margin-top: -30px;
    }
}

@keyframes dot3_ {
    3%,97% {
        height: 20px;
        width: 40px;
        margin-left: -20px;
        margin-top: 50px;
    }

    30%,36% {
        width: 8px;
        height: 8px;
        margin-left: -5px;
        margin-top: 49px;
        border-radius: 8px;
    }

    63%,69% {
        width: 16px;
        height: 4px;
        margin-left: -8px;
        margin-top: -37px;
        border-radius: 10px;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== OPTION CARD ========== */

.option-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1.2px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.option-card-lg {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Dropdown Container */
.dropdown-container-profile {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

/* Trigger Button */
.dropdown-trigger-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: var(--spacing-sm);
    cursor: pointer;
    transition: var(--transition);
    width: auto;
    min-width: fit-content;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}


/* User Avatar */
.user_avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success-color), var(--success-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}


/* Chevron Icon */
.chevron-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition);
    color: var(--text-muted);
}

.dropdown-trigger.active .chevron-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu-profile {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.65);
    /*background-color:var(--bg-white);*/
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: var(--shadow-lg);
    transform-origin: top center;
    transition: var(--transition);
    z-index: 1000;
}

    .dropdown-menu-profile.show {
        opacity: 1;
        visibility: visible;
        animation: dropBounceStretch 0.4s ease-out forwards;
    }

    .dropdown-menu-profile:not(.show) {
        animation: reverseDrop 0.3s ease-in forwards;
    }

/* Menu List */
.menu-list-profile {
    list-style: none;
    padding: 8px;
    margin-bottom: 0;
}

/* Menu Item */
.menu-item-profile {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2px;
    display: block !important;
    cursor:pointer;
}

    .menu-item-profile:last-child {
        margin-bottom: 0;
    }

.menu-link-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 8px;
    user-select: none;
}

    .menu-link-profile:hover {
        /*background: var(--surface) !important;*/
        background: var(--color--green-0) !important;
        font-weight: 600;
    }

/* Menu Icons */
.menu-icon-profile {
    width: 18px;
    height: 18px;
    transition: var(--transition);
    flex-shrink: 0;
    text-align: center;
    font-size: 16px;
}


.menu-item-profile.logout .menu-link-profile {
    color: #EF4444;
}

    .menu-item-profile.logout .menu-link-profile:hover {
        background: #FEF2F2 !important;
        color: #DC2626 !important;
    }

.menu-item-profile.logout .menu-icon-profile {
    color: #EF4444;
}

.menu-item-profile.logout .menu-link-profile:hover .menu-icon-profile {
    color: #DC2626;
}

/* Divider */
.menu-divider-profile {
    height: 0.8px;
    background: var(--border);
    margin: 4px 0;
}


@keyframes dropBounceStretch {
    0% {
        transform: translateY(-20px) scaleY(0.8);
        opacity: 0;
    }

    60% {
        transform: translateY(5px) scaleY(1.1);
        opacity: 1;
    }

    100% {
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }
}


@keyframes reverseDrop {
    0% {
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-20px) scaleY(0.8);
        opacity: 0;
        display: none;
    }
}


.message-count-section {
    display: flex;
    align-items: center;
    margin: var(--spacing-sm);
}

.dot.dot-active {
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
    margin-right: 5px;
}


/* ========== BUTTONS ========== */

/* Shared Base Button */
.btn-lp-primary,
.btn-lp-secondary {
    position: relative;
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    padding: var(--btn-padding);
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.45s cubic-bezier(1, .007, 1, .007), color 0.3s, transform 0.3s ease;
    outline: none;
}

    .btn-lp-primary svg,
    .btn-lp-secondary svg {
        height: 18px;
        width: 18px;
    }
    /* ========== PRIMARY BUTTON ========== */
    .btn-lp-primary {
        background-color: var(--success-color);
        color: var(--text-dark);
        border: 1px solid var(--border-color);
    }

    .btn-lp-primary:hover {
        animation: buttonScalePulse 1s ease forwards;
    }

    .btn-lp-primary span,
    .btn-lp-secondary span {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: opacity 0.4s ease;
        position: relative;
        z-index: 2;
    }

    .btn-lp-primary .btn-hover,
    .btn-lp-secondary .btn-hover {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        pointer-events: none;
        white-space: nowrap;
        z-index: 2;
    }

    .btn-lp-primary:hover .btn-normal,
    .btn-lp-secondary:hover .btn-normal {
        opacity: 0;
        transition-delay: 0.2s;
    }

    .btn-lp-primary:hover .btn-hover {
        color: var(--bg-white);
        opacity: 1;
        transition-delay: 0.2s;
    }

    .btn-lp-primary::after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%) translateY(67px) scale(1);
        width: 160px;
        height: 160px;
        border-radius: 50%;
        background-color: var(--text-dark);
        transition: transform 1.1s cubic-bezier(.77, 0, .175, 1);
        z-index: 1;
    }

    .btn-lp-primary:hover::after {
        transform: translateX(-50%) translateY(0) scale(3.5);
    }

/* ========== SECONDARY BUTTON ========== */
.btn-lp-secondary {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

    .btn-lp-secondary:hover {
        animation: buttonScalePulse 1s ease forwards;
    }

        .btn-lp-secondary:hover .btn-hover {
            color: var(--text-dark);
            opacity: 1;
            transition-delay: 0.2s;
        }

    .btn-lp-secondary::after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%) translateY(67px) scale(1);
        width: 160px;
        height: 160px;
        border-radius: 50%;
        background-color: var(--success-color);
        transition: transform 1.1s cubic-bezier(.77, 0, .175, 1);
        z-index: 1;
    }

    .btn-lp-secondary:hover::after {
        transform: translateX(-50%) translateY(0) scale(3.5);
    }

    /* ========== Focus Styles ========== */
    .btn-lp-primary:focus,
    .btn-lp-secondary:focus {
        outline: 1.5px solid var(--success-color) !important;
        color: var(--text-dark) !important;
        outline-offset: 2px;
    }

    /* ========== Active Styles ========== */
    .btn-lp-primary:active,
    .btn-lp-secondary:active {
        transform: scale(0.97);
    }

    /* ========== Visited Styles ========== */
    .btn-lp-primary:visited,
    .btn-lp-secondary:visited {
        color: inherit;
    }

    /* ========== Disabled Styles ========== */
    .btn-lp-primary:disabled,
    .btn-lp-secondary:disabled,
    .btn-lp-primary[disabled],
    .btn-lp-secondary[disabled] {
        opacity: 0.6;
        cursor: not-allowed;
        pointer-events: none;
    }


/* Button with out icon */
.btn-lp-primary-no-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    min-width: 162px;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.02em;
    border-radius: 26px;
    background-color: var(--success-color);
    cursor: pointer;
    overflow: hidden;
}

    .btn-lp-primary-no-icon:hover {
        animation: buttonScalePulse 1s ease forwards;
    }

    .btn-lp-primary-no-icon span {
        position: relative;
        z-index: 3;
        color: var(--text-dark);
        transition: color 0.4s ease;
        transition-delay: 0s;
    }

    .btn-lp-primary-no-icon::after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%) translateY(67px) scale(1);
        width: 158px;
        height: 158px;
        border-radius: 50%;
        background-color: var(--text-dark);
        transition: transform 0.8s cubic-bezier(0.66, 0, 0.34, 1);
        z-index: 1;
    }

    .btn-lp-primary-no-icon::before {
        content: attr(data-text);
        position: absolute;
        z-index: 2;
        color: var(--bg-light-gray);
        white-space: nowrap;
        pointer-events: none;
        transition: opacity 0.4s ease;
        opacity: 0;
        transition-delay: 0s;
    }

    .btn-lp-primary-no-icon:hover::after {
        transform: translateX(-50%) translateY(0) scale(3.4);
    }

    .btn-lp-primary-no-icon:hover span {
        color: transparent;
        transition-delay: 0.45s;
    }

    .btn-lp-primary-no-icon:hover::before {
        opacity: 1;
        transition-delay: 0.45s;
    }

    .btn-lp-primary-no-icon:not(:hover) span {
        color: var(--text-dark);
        transition-delay: 0.45s;
    }

    .btn-lp-primary-no-icon:not(:hover)::before {
        opacity: 0;
        transition-delay: 0.1s;
    }



.btn-lp-secondary i {
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}


    /* Background + text + border */
    .btn-lp-primary.btn-lp-delete,
    .btn-lp-secondary.btn-lp-delete,
    .btn-lp-primary-no-icon.btn-lp-delete,
    .btn-lp-primary.btn-lp-warning,
    .btn-lp-secondary.btn-lp-warning,
    .btn-lp-primary-no-icon.btn-lp-warning,
    .btn-lp-primary.btn-lp-purple,
    .btn-lp-secondary.btn-lp-purple,
    .btn-lp-primary-no-icon.btn-lp-purple {
        background-color: var(--btn-bg) !important;
        color: var(--btn-text) !important;
        border: 1px solid var(--btn-bg) !important;
    }

        /* Hover */
        .btn-lp-primary.btn-lp-delete:hover,
        .btn-lp-secondary.btn-lp-delete:hover,
        .btn-lp-primary-no-icon.btn-lp-delete:hover,
        .btn-lp-primary.btn-lp-warning:hover,
        .btn-lp-secondary.btn-lp-warning:hover,
        .btn-lp-primary-no-icon.btn-lp-warning:hover,
        .btn-lp-primary.btn-lp-purple:hover,
        .btn-lp-secondary.btn-lp-purple:hover,
        .btn-lp-primary-no-icon.btn-lp-purple:hover {
            background-color: var(--btn-hover-bg) !important;
            color: var(--btn-hover-text) !important;
        }

        /* Focus */
        .btn-lp-primary.btn-lp-delete:focus,
        .btn-lp-secondary.btn-lp-delete:focus,
        .btn-lp-primary-no-icon.btn-lp-delete:focus,
        .btn-lp-primary.btn-lp-warning:focus,
        .btn-lp-secondary.btn-lp-warning:focus,
        .btn-lp-primary-no-icon.btn-lp-warning:focus,
        .btn-lp-primary.btn-lp-purple:focus,
        .btn-lp-secondary.btn-lp-purple:focus,
        .btn-lp-primary-no-icon.btn-lp-purple:focus {
            outline: 1.5px solid var(--btn-focus-outline) !important;
        }

        /* Ripple effect circle */
        .btn-lp-primary.btn-lp-delete::after,
        .btn-lp-secondary.btn-lp-delete::after,
        .btn-lp-primary-no-icon.btn-lp-delete::after,
        .btn-lp-primary.btn-lp-warning::after,
        .btn-lp-secondary.btn-lp-warning::after,
        .btn-lp-primary-no-icon.btn-lp-warning::after,
        .btn-lp-primary.btn-lp-purple::after,
        .btn-lp-secondary.btn-lp-purple::after,
        .btn-lp-primary-no-icon.btn-lp-purple::after {
            background-color: var(--btn-hover-bg) !important;
        }


        /* ========== ICON SUPPORT ========== */

        /* Normal state: icons inherit text color */
        .btn-lp-primary.btn-lp-delete i,
        .btn-lp-secondary.btn-lp-delete i,
        .btn-lp-primary-no-icon.btn-lp-delete i,
        .btn-lp-primary.btn-lp-warning i,
        .btn-lp-secondary.btn-lp-warning i,
        .btn-lp-primary-no-icon.btn-lp-warning i,
        .btn-lp-primary.btn-lp-purple i,
        .btn-lp-secondary.btn-lp-purple i,
        .btn-lp-primary-no-icon.btn-lp-purple i {
            color: var(--btn-text) !important;
            transition: color 0.3s ease;
        }

        /* Hover state: icons inherit hover text color */
        .btn-lp-primary.btn-lp-delete:hover i,
        .btn-lp-secondary.btn-lp-delete:hover i,
        .btn-lp-primary-no-icon.btn-lp-delete:hover i,
        .btn-lp-primary.btn-lp-warning:hover i,
        .btn-lp-secondary.btn-lp-warning:hover i,
        .btn-lp-primary-no-icon.btn-lp-warning:hover i,
        .btn-lp-primary.btn-lp-purple:hover i,
        .btn-lp-secondary.btn-lp-purple:hover i,
        .btn-lp-primary-no-icon.btn-lp-purple:hover i {
            color: var(--btn-hover-text) !important;
        }

/* ========== Filter Button ========== */

.filter-btn.btn-lp-secondary {
    background-color: var(--bg-light);
}

/* Alert Message */
/* Toast Notification */
.toast_lat {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 99999 !important;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 9999;
}

    .toast_lat.show {
        transform: translateY(0);
        opacity: 1;
    }

.toast-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

    .toast-content i {
        color: var(--success-color);
    }

.toast-message {
    font-size: 0.8rem;
    color: var(--text-primary);
}

.toast-close {
    margin-left: 0.5rem;
    transition: color 0.2s ease;
}

    .toast-close svg {
        height: 12px;
        width: 12px;
        margin-bottom:5px;
        fill: var(--text-muted);
    }
    .toast-close:hover svg {
        fill: var(--danger-color);
    }

.toast-icon {
    font-size: 1rem;
    line-height: 1;
}

    .toast-icon.small {
        font-size: 0.9rem !important;
    }


@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    10% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    90% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}


/* Define the keyframes */
@keyframes buttonScalePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ===============   MAIN NAVBAR ========================== */
.navbar-new {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: var(--spacing-sm) var(--spacing-xl) var(--spacing-sm) var(--spacing-xl);
}

#navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
}

    /* Hidden state */
    #navbar.nav-hidden {
        transform: translateY(-100%);
        will-change: transform;
    }

.navbar-new-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    width: 100%;
}

/* ---------- Logo Section ---------- */
.logo-new-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo-new {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: var(--font-bold);
    font-size: 1.5rem;
}

.logo-new-icon {
    width: 130px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
}

    .logo-new-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.logo-new:hover .logo-new-icon {
    transform: scale(1.05);
}

/* ---------- TOGGLE BAR ---------- */
.mobile-new-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--spacing-sm);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    color: var(--text-dark);
}

    .mobile-new-toggle:hover {
        background: var(--hover-bg);
    }

/* ---------- Navigation Menu ---------- */
.nav-new-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    align-items: center;
    margin-bottom: 0;
}

.nav-new-item {
    position: relative;
}

.nav-new-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-sm);
    text-decoration: none;
    color: var(--text-muted);
    font-weight: var(--font-medium);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 12px;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

    .nav-new-link span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        vertical-align: middle;
        transition: max-width 0.3s ease;
        /* Dynamic width based on screen size */
        max-width: 120px;
    }

    /* Green line effect for desktop */
    .nav-new-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--success-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-new-link:hover::after {
        width: 80%;
    }

    .nav-new-link.active::after {
        width: 80%;
    }

    .nav-new-link .jam-qr-code {
        fill: var(--text-muted);
    }

    .nav-new-link:hover {
        color: var(--text-dark);
        transform: translateY(-1px);
    }

    .nav-new-link.active {
        color: var(--success-color);
    }

        .nav-new-link.active .jam-qr-code {
            fill: var(--success-color);
        }

        .nav-new-link.active .dashboard-icon {
            fill: var(--success-color);
        }

.nav-new-icon {
    width: 15px;
    height: 15px;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-new-link:hover .nav-new-icon {
    transform: scale(1.1);
}

.nav-dropdown-arrow {
    width: 16px;
    height: 16px;
    stroke: #666;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

/* Rotate when dropdown is active/open */
.nav-new-link:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-arrow.rotate {
    transform: rotate(180deg);
}



/* ---------- MESSAGE COUNT ---------- */

.message-count-display {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    font-weight: 700;
    white-space: nowrap;
    z-index: 1002;
    min-width: 24px;
    text-align: center;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 12px;
    border: 1px solid rgba(100, 116, 139, 0.15);
    transition: all 0.3s ease;
    overflow: visible;
    transition: all 0.3s ease;
}


    .message-count-display svg {
        width: 16px;
        height: 16px;
        transition: var(--transition);
        flex-shrink: 0;
        position: relative;
    }

.message-count-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
}

.message-count-display:hover .message-count-icon {
    transform: scale(1.1) rotate(5deg);
}


.message-balance-bubble {
    color: var(--text-dark);
    border-radius: 12px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 1002;
    min-width: 24px;
    text-align: center;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    transition: all 0.3s ease;
    overflow: visible;
}

    /* Remove arrow since it's not a hover tooltip anymore */
    .message-balance-bubble::after {
        display: none;
    }


    .message-balance-bubble .bubble-label {
        display: block;
        font-size: 8px;
        opacity: 0.9;
        margin-bottom: 2px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
    }

    .message-balance-bubble .bubble-count {
        display: block;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
    }

.message-count-display:hover .message-balance-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.message-count-text {
    font-size: 13px;
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
    max-width: 100px;
}

/* Enhanced Tooltip System */
.message-count-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(8px);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .message-count-tooltip::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 5px solid transparent;
        border-top-color: rgba(17, 24, 39, 0.95);
    }

    .message-count-tooltip.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-2px);
    }

/* Active dot animation */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
}

.dot-active {
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.6);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
    }
}

.skeleton-count {
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    display: inline-block;
}

.skeleton-text-count {
    height: 16px;
    width: 40px; /* adjust size for bubble/count */
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .message-balance-bubble {
        top: -40px;
        right: -5px;
        padding: 4px 8px;
        min-width: 70px;
    }

        .message-balance-bubble .bubble-label {
            font-size: 7px;
        }

        .message-balance-bubble .bubble-count {
            font-size: 11px;
        }
}

/* Enhanced Message Balance Display */
.message-balance-display {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

    .message-balance-display::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
        transition: left 0.5s;
    }

    .message-balance-display:hover::before {
        left: 100%;
    }

    .message-balance-display:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
        border-color: rgba(34, 197, 94, 0.4);
    }

.balance-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 8px;
    flex-shrink: 0;
}

    .balance-icon-wrapper svg{
        height:18px;
        width:18px;
    }

    .balance-pulse-ring {
        position: absolute;
        width: 100%;
        height: 100%;
        border: 2px solid rgba(34, 197, 94, 0.6);
        border-radius: 8px;
        animation: pulseRing 2s infinite;
    }

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.balance-icon {
    width: 16px;
    height: 16px;
    color: #22c55e;
    z-index: 1;
}

.balance-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.balance-label {
    font-size: 10px;
    font-weight: 600;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.balance-count {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

    .balance-count.low-balance {
        color: #ef4444;
    }

    .balance-count.medium-balance {
        color: #f59e0b;
    }

/* Hide regular message count on messaging page */
.messaging-page .message-count-section {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .message-balance-display {
        min-width: 160px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .balance-count {
        font-size: 14px;
    }

    .balance-label {
        font-size: 9px;
    }
}

@media (max-width: 767px) {
    .message-balance-display {
        min-width: 140px;
        padding: var(--spacing-sm);
    }

    .balance-icon-wrapper {
        width: 28px;
        height: 28px;
    }

    .balance-icon {
        width: 14px;
        height: 14px;
    }
}

/* ---------- NOTIFICATION BTN ---------- */
.notification-new-btn {
    position: relative;
    background: none;
    border: none;
    padding: var(--spacing-sm);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    color: var(--text-muted);
}

    .notification-new-btn:hover {
        background: var(--hover-bg);
        color: var(--text-dark);
    }

    .notification-new-btn svg {
        width: 24px;
        height: 24px;
        display: inline-block;
    }

.notification-new-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-semibold);
    animation: pulseblip 2s infinite;
}

@keyframes pulseblip {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

/* ---------- USER SECTION RESPONSIVE ---------- */
.user-new-section {
    display: flex;
    align-items: center;
}

.username {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-width 0.3s ease;
    max-width: 100px;
}

/* ============ RESPONSIVE BREAKPOINTS ============ */

/* Extra Large screens (1400px and up) */
@media (min-width: 1400px) {
    .nav-new-link span {
        max-width: 150px;
    }

    .message-count-text {
        max-width: 120px;
    }

    .username {
        max-width: 120px;
    }
}

/* Large screens (1200px to 1399px) */
@media (max-width: 1399px) {
    .nav-new-link span {
        max-width: 120px;
    }

    .message-count-text {
        max-width: 100px;
    }

    .username {
        max-width: 100px;
    }
}

/* Medium-Large screens (1024px to 1199px) */
@media (max-width: 1199px) {
    .nav-new-link span {
        max-width: 100px;
    }

    .message-count-text {
        max-width: 80px;
    }

    .username {
        max-width: 80px;
    }
}

/* Tablet Responsive (768px to 1023px) */
@media (max-width: 1023px) {
    .navbar-new {
        padding: var(--spacing-sm) var(--spacing-lg);
    }

    .nav-new-link span {
        max-width: 80px;
    }

    .message-count-text {
        max-width: 60px;
    }

    .username {
        max-width: 60px;
    }

    .nav-new-menu {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
        max-height: 0;
        overflow: hidden;
    }

        .nav-new-menu.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            max-height: 100vh;
            overflow: visible;
        }

    .nav-new-item {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

        .nav-new-item:last-child {
            border-bottom: none;
        }

    .nav-new-link {
        width: 100%;
        justify-content: flex-start;
        padding: var(--spacing-md);
        border-radius: 0;
        position: relative;
    }

        .nav-new-link span {
            max-width: none; /* Remove truncation in mobile menu */
        }

        /* Green line effect for mobile/tablet - left side */
        .nav-new-link::after {
            left: 0;
            top: 50%;
            width: 0;
            height: 60%;
            transform: translateY(-50%);
        }

        .nav-new-link:hover::after,
        .nav-new-link.active::after {
            width: 3px;
            height: 60%;
        }

    .mobile-new-toggle {
        display: block;
    }

    /* Dropdown adjustments for tablet */
    .nav_dropdown {
        position: static;
        transform: none;
        min-width: auto;
        width: 100%;
        margin: var(--spacing-sm) 0 0 var(--spacing-xl);
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--border);
        border-radius: 0;
        background: var(--bg-light);
        padding: var(--spacing-md);
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .nav-new-item:hover .nav_dropdown {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
        animation: none;
    }

    .dropdown_header {
        display: none;
        padding: var(--spacing-sm) 0;
        margin-bottom: var(--spacing-sm);
        border-bottom: 1px solid var(--border);
    }

    .dropdown_section {
        margin-bottom: var(--spacing-md);
    }
}

/* Mobile Responsive (600px to 767px) */
@media (max-width: 767px) {
    .navbar-new {
        padding: var(--spacing-md);
    }

    .logo-new-icon {
        width: 120px;
        height: 30px;
    }

    .nav-new-link span {
        max-width: 60px;
    }

    .message-count-text {
        max-width: 50px;
    }

    .username {
        max-width: 50px;
    }

    .nav-new-link {
        font-size: 14px;
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .nav_dropdown {
        margin-left: var(--spacing-lg);
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .section_title {
        font-size: 13px;
    }

    .dropdown_link {
        font-size: 12px;
        padding: var(--spacing-sm) 8px;
    }
}

/* Small Mobile (480px to 599px) */
@media (max-width: 599px) {
    .navbar-new {
        padding: var(--spacing-sm);
    }

    .logo-new-icon {
        width: 100px;
        height: 28px;
    }

    .notification-new-btn svg {
        width: 20px;
        height: 20px;
    }

    .nav-new-link {
        padding: var(--spacing-md);
    }

        .nav-new-link span {
            max-width: 50px;
        }

    .message-count-text {
        max-width: 40px;
    }

    .username {
        max-width: 40px;
    }

    /* Show tooltip on hover for message count */
    .message-count-display:hover .message-count-tooltip {
        display: block;
    }
}

/* Extra Small Mobile (400px to 479px) */
@media (max-width: 479px) {
    .nav-new-link span {
        max-width: 40px;
    }

    .message-count-text {
        max-width: 30px;
    }

    .username {
        max-width: 30px;
    }
}

/* Very Small Mobile (below 400px) */
@media (max-width: 399px) {
    .nav-new-link span {
        max-width: 30px;
    }

    .message-count-text {
        display: none; /* Hide text, show only icon with tooltip */
    }

    .username {
        display: none; /* Hide username, show only avatar */
    }

    /* Ensure tooltip shows for message count when text is hidden */
    .message-count-section {
        position: relative;
    }
}

/* ---------- USER BTN ---------- */


/* ---------- DROPDOWN MENU STYLES ---------- */
.nav_dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 250px;
    /*background: var(--bg-white);*/
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    padding: 18px var(--spacing-md);
}

.nav-new-item:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-new-item:hover .nav_dropdown {
    opacity: 1;
    visibility: visible;
    animation: dropdownSlideIn 0.3s ease-out forwards;
}

.dropdown_header {
    display: none;
    padding: var(--spacing-sm) 0 var(--spacing-sm);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--spacing-md);
}

/* Rotate arrow on hover */
.nav-new-item:hover .dropdown_arrow {
    transform: rotate(180deg);
}

.dropdown_section {
    margin-bottom: var(--spacing-lg);
}

    .dropdown_section:last-child {
        margin-bottom: 0;
    }

.section_title {
    font-size: 14px;
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    padding: 0 12px;
    letter-spacing: 0.4px;
}

.dropdown_links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown_link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 12px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: var(--font-medium);
    border-radius: 8px;
    transition: var(--transition);
}

    .dropdown_link:hover {
        /*background: var(--surface);*/
        background: var(--color--green-0);
        color: var(--text-dark);
        transform: translateX(4px);
    }

.dropdown_icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    transition: var(--transition);
}

.dropdown_link:hover .dropdown_icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Animations for dropdown */
@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}


/* ---------- NOTIFICATION MODAL ---------- */
.dropdown-container-notification {
    position: relative;
    display: inline-block;
}

.dropdown-trigger-notification {
    display: flex;
    align-items: center;
    gap: 8px;
    /*padding: 12px;*/
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    position: relative;
}

    .dropdown-trigger-notification:hover {
        background: var(--hover-bg);
    }



.dropdown-menu-notification {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 380px;
    max-width: 420px;
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: var(--transition);
    z-index: 1000;
    /*background: var(--bg-white);*/
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1.2px solid var(--border);
    overflow: hidden;
}

    .dropdown-menu-notification.show {
        opacity: 1;
        visibility: visible;
        animation: dropBounceStretch 0.4s ease-out forwards;
    }

    .dropdown-menu-notification:not(.show) {
        animation: reverseDrop 0.3s ease-in forwards;
    }

/* Header */
.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-white);
}

.notification-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.mark-all-read {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    transition: var(--transition);
}

    .mark-all-read:hover {
        background: var(--submenu-bg-color);
        text-decoration: none;
        color: var(--primary-color);
    }

.menu-list-notification {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
}

.menu-item-notification {
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition);
    position: relative;
}

    .menu-item-notification:last-child {
        border-bottom: none;
    }

    .menu-item-notification:hover {
        background: var(--surface);
    }

.menu-link-notification {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 24px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    cursor: pointer;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

    .notification-icon.success {
        background: rgba(16, 185, 129, 0.1);
        color: var(--success);
    }

    .notification-icon.warning {
        background: rgba(245, 158, 11, 0.1);
        color: var(--warning);
    }

    .notification-icon.info {
        background: rgba(59, 130, 246, 0.1);
        color: var(--primary);
    }

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-header-text {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.notification-subject {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

.notification-time {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    flex-shrink: 0;
}

.notification-message {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0 0 4px 0;
    animation:none;
}

.notification-date {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}

/* Unread indicator */
.menu-item-notification.unviewed::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.menu-item-notification.unviewed {
    background: rgba(59, 130, 246, 0.02);
}

    .menu-item-notification.unviewed .notification-subject {
        font-weight: 700;
    }

/* Clear all button */
.notification-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

    .notification-footer #clearAllBtn {
        width: 100%;
    }

    .notification-footer .btn-lp-secondary {
        width: 100%;
    }

       
        .notification-footer .btn-lp-secondary::after {
            background-color: rgba(220, 38, 38, 0.15); 
        }

        .notification-footer .btn-lp-secondary svg,
        .notification-footer .btn-lp-secondary span {
            transition: color 0.3s ease, stroke 0.3s ease;
        }


        .notification-footer .btn-lp-secondary:hover svg {
            stroke: #dc2626; 
        }

        .notification-footer .btn-lp-secondary:hover span {
            color: #dc2626; 
        }

/* Empty state */
.empty-notifications {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}

    .empty-notifications svg {
        margin-bottom: 16px;
        opacity: 0.5;
    }

    .empty-notifications h3 {
        font-size: 16px;
        font-weight: 600;
        margin: 0 0 8px 0;
        color: var(--text-dark);
    }

    .empty-notifications p {
        font-size: 13px;
        margin: 0;
        line-height: 1.5;
    }

/* Scrollbar */
.menu-list-notification::-webkit-scrollbar {
    width: 4px;
}

.menu-list-notification::-webkit-scrollbar-track {
    background: transparent;
}

.menu-list-notification::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

    .menu-list-notification::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }



/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 150%;
        left: 50%;
        margin-left: -60px;
    }



        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: black transparent transparent transparent;
        }

    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

/* Temp List */

.temp_list h5 {
    font-weight: 600;
    font-size: 18px;
}

.temp_list img {
    margin-top: 5px;
}

.temp_list h6 {
    font-weight: 600;
    margin: 10px 0px 15px;
    font-size: 14px;
}

.temp_list ul li {
    font-weight: 700;
    font-size: 12px;
    padding: 16px;
    color: #000;
    margin: 10px 0px;
    background-color: #ecf5fc;
}

/* desclaimer*/

.disclaimer-banner {
    position: sticky;
    top: 0;
    background: var(--success-color-dark);
    color: white;
    padding: 12px 20px;
    font-size: 12px;
    text-align: center;
    z-index: 999;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

    .disclaimer-banner a {
        color: white;
        text-decoration: underline;
    }


/* MODAL */

/* Modal Overlay */
.disconnect-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .disconnect-modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Modal Container */
.disconnect-modal-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 420px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.disconnect-modal-overlay.active .disconnect-modal-container {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.disconnect-modal-header {
    padding: 24px 24px 0;
    text-align: center;
}

.disconnect-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fecaca;
}

    .disconnect-modal-icon svg {
        width: 24px;
        height: 24px;
        color: #dc2626;
    }

.disconnect-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.disconnect-modal-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

/* Modal Body */
.disconnect-modal-body {
    padding: 0 24px 24px;
}

.disconnect-modal-message {
    font-size: 15px;
    color: #374151;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Warning Box */
.disconnect-warning-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.disconnect-warning-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.disconnect-warning-icon {
    width: 20px;
    height: 20px;
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 1px;
}

.disconnect-warning-text {
    font-size: 14px;
    color: #92400e;
    line-height: 1.4;
}

/* Modal Actions */
.disconnect-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.disconnect-btn-modal {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.disconnect-btn-cancel {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

    .disconnect-btn-cancel:hover {
        background: #e5e7eb;
        transform: translateY(-1px);
    }

.disconnect-btn-confirm {
    background: #dc2626;
    color: white;
}

    .disconnect-btn-confirm:hover {
        background: #b91c1c;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    }

.disconnect-btn:active {
    transform: translateY(0);
}



/* Responsive */
@media (max-width: 480px) {
    .disconnect-modal-container {
        margin: 0 16px;
        max-width: calc(100% - 32px);
    }

    .disconnect-modal-actions {
        flex-direction: column;
    }

    .disconnect-btn {
        width: 100%;
    }
}


/* Terms of Use [ Modal ] */

.terms-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 27, 33, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .terms-modal.active {
        display: flex;
        opacity: 1;
    }

.terms-modal-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.terms-modal.active .terms-modal-container {
    transform: scale(1);
}

.terms-modal-header {
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    background: var(--surface);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.terms-modal-title {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: 0;
}

.terms-close-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
    color: var(--text-muted);
}

    .terms-close-btn:hover {
        background: var(--border-color);
        color: var(--text-primary);
    }

.terms-modal-body {
    padding: var(--spacing-xl);
    overflow-y: auto;
    max-height: 70vh;
}

    .terms-modal-body::-webkit-scrollbar {
        width: 6px;
    }

    .terms-modal-body::-webkit-scrollbar-track {
        background: var(--bg-light);
        border-radius: 3px;
    }

    .terms-modal-body::-webkit-scrollbar-thumb {
        background: var(--gray-medium);
        border-radius: 3px;
    }

        .terms-modal-body::-webkit-scrollbar-thumb:hover {
            background: var(--color-gray);
        }

.terms-content h2 {
    font-size: 1.25rem;
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: var(--spacing-xl) 0 var(--spacing-md) 0;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--success-color);
    display: inline-block;
}

.terms-content h3 {
    font-size: 1.1rem;
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
}

.terms-content h4 {
    font-size: 1rem;
    font-weight: var(--font-medium);
    color: var(--text-primary);
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
}

.terms-content p {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    line-height: 1.7;
}

.terms-content ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
    font-family: "PP Neue Montreal", sans-serif !important;
}

.terms-content li {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    line-height: 1.6;
    list-style-type: disc;
}

.terms-content strong, .terms-content b {
    color: var(--text-primary);
    font-weight: var(--font-semibold);
}

.terms-content a {
    color: var(--success-color);
    text-decoration: none;
    font-weight: var(--font-medium);
    transition: var(--transition);
}

    .terms-content a:hover {
        color: var(--success-color-dark);
        text-decoration: underline;
    }

.definition-item {
    background: var(--surface);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
    border-left: 3px solid var(--success-color);
}

.definition-term {
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning-color);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

    .warning-box h4 {
        color: var(--warning-color);
        margin-bottom: var(--spacing-sm);
    }

.terms-modal-footer {
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--surface);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-md);
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.terms-footer-btn {
    padding: var(--btn-padding);
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--btn-font-size);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: var(--transition);
    min-width: 100px;
}

    .terms-footer-btn.primary {
        background: var(--success-color);
        color: white;
    }

        .terms-footer-btn.primary:hover {
            background: var(--success-color-dark);
        }

    .terms-footer-btn.secondary {
        background: var(--bg-light);
        color: var(--text-muted);
        border: 1px solid var(--border-color);
    }

        .terms-footer-btn.secondary:hover {
            background: var(--border-color);
            color: var(--text-primary);
        }

@media (max-width: 768px) {
    .terms-modal {
        padding: var(--spacing-sm);
    }

    .terms-modal-container {
        max-width: 100%;
        max-height: 95vh;
    }

    .terms-modal-header {
        padding: var(--spacing-lg);
    }

    .terms-modal-body {
        padding: var(--spacing-lg);
        max-height: 75vh;
    }

    .terms-modal-title {
        font-size: 1.25rem;
    }
}