/* Progress Steps for Marker Registration */
.marker-registration .progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
    counter-reset: step;
}

.marker-registration .progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    transform: translateY(-50%);
    z-index: 1;
}

.marker-registration .step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
}

.marker-registration .step-icon {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.marker-registration .step.active .step-icon {
    background: var(--gradient-success);
    border-color: var(--success-color);
    color: white;
    transform: scale(1.1);
}

.marker-registration .step.completed .step-icon {
    background: var(--gradient-primary);
    border-color: var(--secondary-color);
    color: white;
}

.marker-registration .step-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.marker-registration .step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Progress Steps for Invigilator Registration */
.invigilator-registration .progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
    counter-reset: step;
}

.invigilator-registration .progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    transform: translateY(-50%);
    z-index: 1;
}

.invigilator-registration .step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
}

.invigilator-registration .step-icon {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.invigilator-registration .step.active .step-icon {
    background: var(--gradient-primary);
    border-color: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.invigilator-registration .step.completed .step-icon {
    background: var(--gradient-primary);
    border-color: var(--secondary-color);
    color: white;
}

.invigilator-registration .step-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.invigilator-registration .step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Ensure the form sections have proper z-index */
.form-section {
    position: relative;
    z-index: 1;
}

/* Make sure the image preview doesn't overlay form elements */
#imagePreview {
    position: relative;
    margin-top: 15px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    z-index: 2;
}

/* Prevent any overlay issues */
.main-content {
    position: relative;
    z-index: 1;
}