/* Authentication Pages Styles */

.auth-section {
    min-height: calc(100vh - 80px);
    padding: 3rem 0;
    background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
}

.auth-container {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    color: #6b7280;
}

.auth-step {
    display: none;
}

.auth-step.active {
    display: block;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.country-code {
    padding: 0.75rem 1rem;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.phone-number {
    flex: 1;
}

.form-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* OTP Inputs */
.otp-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fef2f2;
    border-radius: 0.5rem;
}

.otp-sent-text {
    font-size: 0.875rem;
    color: #374151;
}

.change-number-btn {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.change-number-btn:hover {
    color: #b91c1c;
}

.otp-inputs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.otp-input {
    width: 3rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.otp-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.otp-input::-webkit-outer-spin-button,
.otp-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.otp-input[type=number] {
    -moz-appearance: textfield;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

/* Buttons */
.btn-block {
    width: 100%;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.resend-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.875rem;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.resend-btn:disabled {
    cursor: not-allowed;
}

.resend-btn:not(:disabled) .resend-link {
    color: #dc2626;
    font-weight: 600;
}

.resend-btn:not(:disabled):hover .resend-link {
    text-decoration: underline;
}

/* Auth Footer */
.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-footer-text {
    font-size: 0.875rem;
    color: #6b7280;
}

.auth-link {
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
}

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

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

.success-icon svg {
    width: 3rem;
    height: 3rem;
    color: white;
}

.success-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.success-text {
    font-size: 1rem;
    color: #6b7280;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Info Card */
.info-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #16a34a;
    flex-shrink: 0;
}

.info-number {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #dc2626 0%, #ec4899 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.info-item-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.info-item-text {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Responsive */
@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .otp-input {
        width: 3.5rem;
        height: 4rem;
    }
}

@media (min-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr 400px;
        align-items: start;
    }

    .auth-card {
        padding: 3rem;
    }

    .auth-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .auth-section {
        padding: 4rem 0;
    }
}

