/* Inherit most styles from login page */
@import url('agent-login.css');

/* ==================== Progress Steps ==================== */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step.active .step-number,
.step.completed .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.step-label {
    font-size: 12px;
    color: #718096;
    text-align: center;
}

.step.active .step-label {
    color: #667eea;
    font-weight: 600;
}

/* ==================== Multi-step Forms ==================== */
.register-form {
    display: none;
}

.register-form.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.register-form h3 {
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 20px;
    text-align: center;
}

/* ==================== Password Strength ==================== */
.password-strength {
    margin-top: 8px;
    height: 4px;
    border-radius: 2px;
    background: #e2e8f0;
    overflow: hidden;
}

.password-strength.weak {
    background: linear-gradient(90deg, #fc8181 30%, #e2e8f0 30%);
}

.password-strength.medium {
    background: linear-gradient(90deg, #f6ad55 60%, #e2e8f0 60%);
}

.password-strength.strong {
    background: linear-gradient(90deg, #68d391 100%, #e2e8f0 100%);
}

/* ==================== Summary Box ==================== */
.summary-box {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.summary-box h4 {
    margin-bottom: 12px;
    color: #2d3748;
}

.summary-box p {
    margin-bottom: 8px;
    color: #4a5568;
    font-size: 14px;
}

/* ==================== Form Buttons ==================== */
.form-buttons {
    display: flex;
    gap: 12px;
}

.btn-prev,
.btn-next,
.btn-submit {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-prev {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-prev:hover {
    background: #cbd5e0;
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* ==================== Select Styling ==================== */
select {
    width: 100%;
    padding: 14px 50px 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Vazirmatn', sans-serif;
    background: #f7fafc;
    cursor: pointer;
    transition: all 0.3s;
}

select:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==================== Responsive ==================== */
@media (max-width: 480px) {
    .progress-steps {
        font-size: 11px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 10px;
    }
}