/* Background */
body {
    background: linear-gradient(135deg, #fff 0%, #ddd 100%);
}

/* Custom Container */
.custom-container {
    max-width: 500px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

/* Custom Header */
.custom-header {
    background: linear-gradient(135deg, #0d6efd 0%, #074299 100%);
    padding: 30px;
}

/* Progress Bar Container */
.progress-bar-container {
    position: relative;
}

/* Progress Steps */
.progress-step {
    text-align: center;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #dee2e6;
    z-index: 0;
}

.progress-step.active:not(:last-child)::after {
    background: #0d6efd;
}

.progress-step.completed:not(:last-child)::after {
    background: #198754;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #adb5bd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: bold;
}

.progress-step.active .step-circle {
    background: #0d6efd;
}

.progress-step.completed .step-circle {
    background: #198754;
}

.step-label {
    font-size: 11px;
    color: #6c757d;
    margin-top: 5px;
}

.progress-step.active .step-label {
    color: #0d6efd;
    font-weight: bold;
}

/* Step Content */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Custom Input */
.custom-input {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    transition: border-color 0.3s;
}

.custom-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Custom Button */
.custom-btn {
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.custom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.custom-btn:disabled {
    transform: none;
}

/* OTP Input */
.otp-input {
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.otp-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Password Requirements */
.password-requirements {
    margin-top: 5px;
    padding-left: 20px;
}

/* Loading */
.loading {
    display: none;
}

.loading.show {
    display: block;
}

/* Alert Custom Styling */
.alert {
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 576px) {
    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .custom-container {
        margin: 10px;
    }
    
    .step-label {
        font-size: 9px;
    }
    
    .step-circle {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
}