.auth-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21,20,25,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.auth-container.show {
    display: flex;
}

.auth-form {
    background: linear-gradient(135deg, #FBFBFB 0%, #FBFBFB 100%);
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 8px 16px rgba(21,20,25,0.15);
}

.close-modal {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #878787;
}

.auth-form h2 {
    margin-bottom: 1rem;
    color: #262626;
    text-align: center;
}

.auth-description {
    text-align: center;
    color: #878787;
    margin-bottom: 1.5rem;
}

.phone-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #878787;
    border-radius: 8px;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.phone-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.5rem;
    font-size: 1rem;
}

.country-code {
    color: #878787;
    padding: 0 0.5rem;
    border-right: 1px solid #878787;
    margin-right: 0.5rem;
}

.verification-code-group {
    margin-bottom: 1rem;
}

.verification-code-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #878787;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 2px;
}

.timer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

#countdown {
    color: #878787;
    font-size: 0.9rem;
}

.resend-btn {
    background: none;
    border: none;
    color: #151419;
    cursor: pointer;
    font-size: 0.9rem;
}

.resend-btn:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #F56E0F;
    color: #FBFBFB;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #D65C0E;
}

.terms-text {
    text-align: center;
    color: #878787;
    font-size: 0.8rem;
    margin-top: 1rem;
}

.hidden {
    display: none;
}

/* Input focus styles */
input:focus {
    outline: none;
    border-color: #F56E0F;
}

/* Placeholder styles */
input::placeholder {
    color: #878787;
}

/* Error state */
.error input {
    border-color: #F56E0F;
}

.error-message {
    color: #F56E0F;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: right;
}

/* Loading state */
.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #FBFBFB;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
} 