/* ============================================
   FLAMINGO TUNING – LOGIN MODAL
   ============================================ */
:root {
    --black:      #080808;
    --deep-black: #0D0D0D;
    --pink:       #FF1A6C;
    --pink-light: #FF6BA8;
    --pink-glow:  rgba(255,26,108,0.4);
    --white:      #FFFFFF;
    --grey:       #888888;
    --dark-grey:  #1A1A1A;
    --mid-grey:   #2A2A2A;
    --anthracite:    #080808;
    --stone-leather: #888888;
    --carbon-grey:   #555555;
    --light-stone:   #2A2A2A;
    --off-white:     #111111;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(8,8,8,0.96);
    backdrop-filter: blur(12px);
}
.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #0D0D0D;
    padding: 3rem;
    max-width: 440px; width: 90%;
    border: 1px solid rgba(255,26,108,0.4);
    border-radius: 8px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 0 60px rgba(255,26,108,0.12);
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute; right: 1.5rem; top: 1.2rem;
    font-size: 1.8rem; color: #888;
    cursor: pointer; transition: color 0.3s;
    line-height: 1; background: none; border: none;
}
.modal-close:hover { color: var(--pink); }
.modal-content h2 {
    font-size: 2.5rem; margin-bottom: 2rem;
    color: #fff; font-weight: 400; letter-spacing: 2px;
}
.modal-content .form-group { margin-bottom: 1.4rem; }
.modal-content label {
    display: block; font-size: 0.82rem;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: #888; margin-bottom: 0.5rem; font-weight: 600;
}
.modal-content input[type="text"],
.modal-content input[type="password"],
.modal-content input[type="email"] {
    width: 100%; padding: 0.95rem 1rem;
    font-size: 1rem; color: #fff;
    background: rgba(255,26,108,0.04);
    border: 1px solid rgba(255,26,108,0.22);
    border-radius: 4px; transition: all 0.3s; box-sizing: border-box;
}
.modal-content input:focus {
    outline: none; border-color: var(--pink);
    background: rgba(255,26,108,0.07);
    box-shadow: 0 0 14px rgba(255,26,108,0.1);
}
.error-message {
    color: #ff4444; font-size: 0.88rem;
    margin-bottom: 1rem; display: none;
}
.error-message.active { display: block; }
.btn-primary {
    width: 100%; padding: 1.1rem;
    background: var(--pink);
    border: 2px solid var(--pink);
    color: #fff; font-size: 0.88rem; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    cursor: pointer; transition: all 0.3s; margin-top: 0.8rem; border-radius: 4px;
}
.btn-primary:hover { background: transparent; color: var(--pink); box-shadow: 0 0 22px rgba(255,26,108,0.35); }
.modal-links {
    display: flex; justify-content: space-between;
    margin-top: 1.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,26,108,0.15);
}
.modal-links a {
    color: #888; text-decoration: none;
    font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s;
}
.modal-links a:hover { color: var(--pink); }
.login-btn {
    padding: 0.75rem 1.4rem;
    background: transparent; border: 2px solid var(--pink);
    color: #fff; font-size: 0.8rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    cursor: pointer; transition: all 0.3s;
    display: inline-block; border-radius: 4px; text-align: center;
}
.login-btn:hover { background: var(--pink); box-shadow: 0 0 18px rgba(255,26,108,0.4); }
.login-btn.logged-in { background: var(--pink); color: #fff; }
