body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #111827;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.action-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #374151;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-btn:hover {
    background: #f3f4f6;
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.action-btn:active {
    transform: translateY(0px);
}

.copy-btn {
    background: #111827;
    color: #ffffff;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #374151;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #111827;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    white-space: nowrap;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
}

.input-no-ring:focus {
    outline: none;
    box-shadow: none;
}

.modal-card {
    box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.15);
}

#modal-body iframe {
    background-color: #ffffff;
    color-scheme: light;
}

@media (max-width: 639px) {
    #modal-header-container.info-expanded #modal-actions-container {
        display: none !important;
    }

    #modal-header-container.info-expanded #modal-info-container {
        flex: 1;
        margin-right: 0;
    }
}

@media (max-width: 640px) {
    .email-display-text {
        font-size: 1rem !important;
    }
    
    .modal-card {
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
    }
    
    #modal-header-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


/* ---------- Login gate ---------- */
body.locked > header,
body.locked > main {
    display: none;
}

.login-card {
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.18);
}

.login-input {
    background: #ffffff;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-input:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.25);
}

