/* ================= Root Variables ================= */
:root {
    --prim-color: #3b91e1;
    --second-color: #ffb531;
    --optional-color: #64f78a;
    --optional-color-2: #00fbf9;
    --optional-color-3: #012230;
}

/* Stepper Progress Styles */
.stepper-progress {
    position: relative;
}

.stepper-progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 0px;
}

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

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

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-step.active .step-circle {
    background: var(--prim-color);
    color: white;
}

.progress-step.completed .step-circle {
    background: var(--prim-color);
    color: white;
}

.step-label {
    margin-top: 0px;
    font-size: 18px;
    color: var(--prim-color);
    text-align: center;
    font-weight: 400;
}

.progress-step.active .step-label {
    color: var(--prim-color);
    font-weight: 600;
}

/* Step Content Styles */
.step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Preview Styles */
.preview-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.preview-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.preview-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.preview-item strong {
    display: block;
    color: #495057;
    margin-bottom: 5px;
    font-size: 14px;
}

.preview-item span,
.preview-text {
    color: #212529;
    font-size: 14px;
}

.preview-text {
    margin: 5px 0 0 0;
    line-height: 1.6;
}

/* Loading Overlay */
#loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 8px;
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: var(--prim-color);
}

.modal-title {
    color: var(--prim-color);
}

.required-field {
    font-size: 16px;
}

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        max-width: 500px;
    }
}

/* model css */
@media (max-width: 575.98px) {
    #resumeWizardModal .modal-content {
        left: 12px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    #resumeWizardModal .modal-content {
        left: 12px;
    }
}