/* Auth pages shared styles - matches main site dark theme */
.auth-container {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.auth-box {
    background: #1a1a1a;
    border: 1px solid #666666;
    border-radius: 10px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
}

.auth-box h1 {
    text-align: center;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.auth-box .subtitle {
    text-align: center;
    color: #b0b0b0;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #d0d0d0;
    font-weight: bold;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #666666;
    border-radius: 4px;
    box-sizing: border-box;
    background: #333333;
    color: #d0d0d0;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #999999;
    background: #444444;
}

.submit-btn {
    width: 100%;
    padding: 0.875rem;
    background: #444444;
    color: #ffffff;
    border: 1px solid #666666;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #555555;
    border-color: #999999;
}

.submit-btn:disabled {
    background: #2a2a2a;
    border-color: #444444;
    color: #666666;
    cursor: not-allowed;
}

.resend-btn {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.75rem;
    background: transparent;
    color: #b0b0b0;
    border: 1px solid #666666;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.resend-btn:hover {
    background: #2a2a2a;
    color: #ffffff;
    border-color: #888888;
}

.resend-btn:disabled {
    background: transparent;
    border-color: #444444;
    color: #555555;
    cursor: not-allowed;
}

.error {
    color: #ff5555;
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
}

.success {
    color: #55ff55;
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.75rem;
    background: #1a3a1a;
    border: 1px solid #55ff55;
    border-radius: 4px;
}

.hidden {
    display: none;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.auth-link a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.auth-link a:hover {
    text-decoration: underline;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem;
    background: #2a2a2a !important;
    border: 2px solid #666666;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    box-sizing: border-box;
}

.google-btn:hover {
    box-shadow: 0 4px 12px rgba(255,255,255,0.1);
    background: #333333 !important;
    border-color: #888888;
    color: #ffffff !important;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #666666;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.divider span {
    background: #1a1a1a;
    padding: 0 0.75rem;
    color: #999999;
    font-size: 0.9rem;
}

.referral-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.referral-modal.hidden {
    display: none;
}

.referral-modal-box {
    background: #1a1a1a;
    border: 1px solid #666666;
    border-radius: 10px;
    padding: 2rem;
    width: 90%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.referral-modal-box p {
    color: #e0e0e0;
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

.referral-modal-box input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #666666;
    border-radius: 4px;
    box-sizing: border-box;
    background: #333333;
    color: #d0d0d0;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.referral-modal-box input:focus {
    outline: none;
    border-color: #999999;
    background: #444444;
}

.referral-modal-actions {
    display: flex;
    gap: 0.75rem;
}

.referral-modal-actions button {
    flex: 1;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.referral-modal-actions #modal-skip {
    background: transparent;
    border: 1px solid #666666;
    color: #b0b0b0;
}

.referral-modal-actions #modal-skip:hover {
    background: #2a2a2a;
    color: #ffffff;
}

.referral-modal-actions #modal-continue {
    background: #444444;
    border: 1px solid #666666;
    color: #ffffff;
}

.referral-modal-actions #modal-continue:hover {
    background: #555555;
    border-color: #999999;
}
