.modern-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.modern-input {
    padding-left: 40px;
}
.password-toggle {
    position: absolute;
    right: 16px;
    z-index: 2;
}

.modern-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

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

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

.step-item.active .step-number {
    background: linear-gradient(135deg, #d4152f, #e84258);;
    color: white;
    box-shadow: 0 4px 15px rgba(238, 17, 10, 0.4);
}

.step-title {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    white-space: nowrap;
}

.step-item.active .step-title {
    color: #495057;
    font-weight: 600;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: #e9ecef;
    margin: 0 20px;
    position: relative;
    top: -16px;
}

/* Form Navigation Styles */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.form-navigation .btn {
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-navigation .btn-outline-secondary {
    border-color: #dee2e6;
    color: #6c757d;
}

.form-navigation .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

.form-navigation .btn-primary {
    background: linear-gradient(135deg, #d4152f, #e84258);;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.form-navigation .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Modern Alert Styles */
.modern-alert {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Tab Content Animations */
.tab-pane {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gender Radio Button Styles */
.gender-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.gender-options {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.gender-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.gender-option input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.gender-option label {
    margin-bottom: 0;
    cursor: pointer;
    color: #495057;
    font-weight: 500;
}

.captcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.captcha-canvas {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.captcha-canvas:hover {
    border-color: #667eea;
}

.refresh-captcha {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.modern-input-group textarea.modern-input {
    min-height: auto;
    resize: vertical;
}

.password-strength-bar {
    width: 100%;
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.password-strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    #captcha-box {
        float: right;
    }
}

.js-error-verify_code {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}