:root {
    --purple: #800080;
    --blue: #00aaff;
    --green: #00ff00;
    --red: #ff4444;
    --dark: #1a1a1a;
    --border: #333;
}

body {
    margin: 0;
    padding: 0;
    background: url('/public/graphics/blackcat.jpg') center/cover fixed;
    color: #ccc;
    font-family: monospace, 'Courier New', Consolas, monospace;
    line-height: 1.4;
}

.container {
    max-width: 820px;
    margin: 10px auto;
    padding: 0 15px;
}

.login-grid {
    margin: 20px 0;
}

.login-option {
    background-color: var(--dark);
    border: 3px solid var(--border);
    margin: 15px 0;
    padding: 15px;
    display: flex;
    align-items: center;
    min-height: 110px;
    transition: all 0.25s ease;
}

.login-option:hover {
    border-color: var(--purple);
    box-shadow: 0 0 12px rgba(128, 0, 128, 0.45);
}

.login-icon {
    flex-shrink: 0;
    margin-right: 24px;
}

.login-icon img {
    height: 60px;
    width: 148px;
    display: block;
}

.login-info {
    flex: 1;
}

.highlight {
    color: var(--blue);
    text-shadow: 0 0 4px var(--blue);
    font-weight: bold;
}

/* NEW - Green highlight for visitor and guest only - Multiple selectors for override */
.highlight-visitor,
.visitor-login .highlight-visitor,
h3 .highlight-visitor,
.visitor-login h3 .highlight-visitor {
    color: var(--green) !important;
    text-shadow: 0 0 8px var(--green) !important;
    font-weight: bold;
}

.visitor-login {
    text-align: center;
    margin: 25px 0;
    font-size: 1.1rem;
}

.footer {
    text-align: center;
    margin: 30px 0 20px;
    padding-top: 15px;
    border-top: 1px dashed #444;
    font-size: 0.95rem;
}

.footer-highlight {
    opacity: 0.85;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover img {
    opacity: 0.85;
}

/* Modal styles */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    z-index: 999;
}

.popup-modal {
    display: none;
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 440px;
    max-height: 85vh;
    z-index: 1000;
}

#clientLoginPopup,
#browserLoginPopup {
    height: 260px;
}

#newAccountPopup {
    height: 620px;
}

.popup-content {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

.blink {
    animation: blink 1.1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.15; }
}

/* Responsive */
@media (max-width: 680px) {
    .popup-modal {
        width: 96%;
        top: 40px;
    }

    #newAccountPopup,
    #clientLoginPopup,
    #browserLoginPopup {
        height: 80vh;
    }

    .login-option {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 18px;
    }

    .login-icon {
        margin: 0 0 15px 0;
    }
}
