/* DrSoft Login Page Styles */

/* Step Container */
.step-container {
    margin: 30px 0;
}

/* Individual Step */
.step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.step:last-child {
    margin-bottom: 0;
}

/* Step States */
.step.active {
    opacity: 1;
    background: #e7f3ff;
    border-color: #0066cc;
    border-left: 4px solid #0066cc;
}

.step.completed {
    opacity: 1;
    background: #e8f5e9;
    border-color: #4caf50;
    border-left: 4px solid #4caf50;
}

/* Step Icon */
.step-icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 1.2rem;
}

.step-icon .step-spinner {
    display: none;
    color: #0066cc;
}

.step-icon .step-default {
    display: block;
    color: #6c757d;
}

/* Active State Icons */
.step.active .step-spinner {
    display: block;
    animation: spin 1s linear infinite;
}

.step.active .step-default {
    display: none;
}

/* Completed State Icons */
.step.completed .step-spinner {
    display: none;
}

.step.completed .step-default {
    display: block;
    color: #4caf50;
}

/* Step Text */
.step-text {
    flex: 1;
    font-size: 0.95rem;
    color: #495057;
}

.step.active .step-text {
    color: #0066cc;
    font-weight: 500;
}

.step.completed .step-text {
    color: #2e7d32;
}

/* Security Icon */
.security-icon i {
    font-size: 3rem;
    color: #0066cc;
}

/* Progress Bar Override */
.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
}

.progress-bar {
    background: linear-gradient(90deg, #0066cc 0%, #0052a3 100%);
    transition: width 0.5s ease;
}

/* Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Card Transitions */
#loginCard, #loginProcessingCard {
    transition: opacity 0.3s ease;
}

/* Button States */
#loginBtn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Professional Theme Adjustments */
.card {
    border: none;
    border-radius: 12px;
}

.card-body {
    padding: 3rem !important;
}

h3.fw-bold {
    color: #212529;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.text-muted {
    color: #6c757d !important;
}

/* Form Controls */
.form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Primary Button */
.btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.5);
}

/* Responsive Design */
@media (max-width: 576px) {
    .card-body {
        padding: 2rem !important;
    }
    
    .step {
        padding: 10px 15px;
    }
    
    .step-text {
        font-size: 0.875rem;
    }
    
    .security-icon i {
        font-size: 2.5rem;
    }
}