/* --------------------------------------------------
   OVERTUREOS LOGIN SCREEN
   -------------------------------------------------- */

#auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("https://i.pinimg.com/1200x/ca/d3/cc/cad3cc3a23114c5a85496c05d3820cb0.jpg") no-repeat center center fixed;
    background-size: cover;
}

#auth-overlay.hidden {
    display: none;
}

.auth-card {
    width: 380px;
    max-width: 92vw;
    border-radius: 18px;
    padding: 36px 32px 32px;
    text-align: center;
    border: 1px solid rgba(255, 175, 204, 0.45);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(255, 245, 249, 0.14);
}

.auth-card h1 {
    margin: 0 0 6px;
    font-family: "BalsamiqSans", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4a1a2e;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.auth-card .auth-subtitle {
    margin: 0 0 24px;
    font-size: 12px;
    color: #4a1a2e;
    letter-spacing: 0.05em;
}

.auth-field {
    margin-bottom: 14px;
    text-align: left;
}

.auth-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4a1a2e;
}

.auth-field input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 175, 204, 0.35);
    background: rgba(255, 255, 255, 0.1);
    color: #4a1a2e;
    font-family: "BalsamiqSans", Georgia, serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.auth-field input::placeholder {
    color: #4a1a2e;
}

.auth-field input:focus {
    border-color: rgba(255, 175, 204, 0.7);
    background: rgba(255, 255, 255, 0.15);
}

.auth-btn {
    width: 100%;
    padding: 11px 0;
    margin-top: 6px;
    border: none;
    border-radius: 10px;
    font-family: "BalsamiqSans", Georgia, serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.auth-btn:active {
    transform: scale(0.98);
}

.auth-btn-primary {
    background: rgba(255, 150, 190, 0.55);
    color: #4a1a2e;
    border: 1px solid rgba(255, 175, 204, 0.5);
}

.auth-btn-primary:hover {
    background: rgba(255, 150, 190, 0.75);
}

.auth-btn-usb {
    background: rgba(160, 120, 200, 0.45);
    color: #4a1a2e;
    border: 1px solid rgba(180, 140, 220, 0.4);
    margin-top: 10px;
}

.auth-btn-usb:hover {
    background: rgba(160, 120, 200, 0.65);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    gap: 10px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.auth-divider span {
    font-size: 11px;
    color: #4a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-remember {
    margin: 8px 0 0;
    font-size: 12px;
    color: #4a1a2e;
    text-align: left;
}
.auth-remember label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.auth-remember input[type="checkbox"] {
    accent-color: #ff69b4;
}

.auth-toggle {
    margin-top: 18px;
    font-size: 12px;
    color: #4a1a2e;
}

.auth-toggle a {
    color: rgba(255, 180, 210, 0.9);
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 180, 210, 0.5);
}

.auth-toggle a:hover {
    color: #fff;
}

.auth-error {
    margin: 10px 0 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(220, 60, 80, 0.3);
    border: 1px solid rgba(220, 60, 80, 0.4);
    color: rgba(255, 200, 210, 0.95);
    font-size: 12px;
    display: none;
}

.auth-error.visible {
    display: block;
}

.auth-success {
    margin: 10px 0 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(80, 180, 120, 0.3);
    border: 1px solid rgba(80, 180, 120, 0.4);
    color: rgba(200, 255, 220, 0.95);
    font-size: 12px;
    display: none;
}

.auth-success.visible {
    display: block;
}

.auth-loading {
    display: none;
    margin: 12px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.auth-loading.visible {
    display: block;
}

.auth-hidden {
    display: none !important;
}

/* --------------------------------------------------
   SETTINGS DROPDOWN (top bar)
   -------------------------------------------------- */

.top-settings {
    position: relative;
    /* right: 16px;
    top: 18px; */
    z-index: 101;
}

.settings-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 150, 190, 0.5);
    background: rgba(255, 200, 220, 0.25);
    color: #872A4E;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: "BalsamiqSans", Georgia, serif;
    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.settings-btn:hover {
    background: rgba(255, 150, 190, 0.4);
    border-color: rgba(200, 80, 120, 0.6);
}

.settings-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 220px;
    border-radius: 12px;
    border: 1px solid rgba(255, 175, 204, 0.45);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(40, 15, 25, 0.85);
    z-index: 10000;
    padding: 8px 0;
}

.settings-dropdown.open {
    display: block;
}

.settings-header {
    padding: 8px 16px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.settings-divider {
    height: 1px;
    background: rgba(255, 175, 204, 0.15);
    margin: 4px 0;
}

.settings-item {
    display: block;
    width: 100%;
    padding: 8px 16px;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.8);
    font-family: "BalsamiqSans", Georgia, serif;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}

.settings-item:hover {
    background: rgba(255, 175, 204, 0.15);
}

.settings-logout {
    color: rgba(255, 120, 140, 0.9);
}

.settings-logout:hover {
    background: rgba(255, 80, 100, 0.2);
}

/* --------------------------------------------------
   METHOD SWITCH MODAL
   -------------------------------------------------- */

.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.auth-modal-overlay.hidden {
    display: none;
}

.auth-modal {
    width: 360px;
    max-width: 92vw;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid rgba(255, 175, 204, 0.45);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(40, 15, 25, 0.92);
}

.auth-modal h2 {
    margin: 0 0 16px;
    font-family: "BalsamiqSans", Georgia, serif;
    font-size: 16px;
    color: #fff;
    text-align: center;
}
