﻿.progress-steps-container {
    position: relative;
    padding: 0 40px 0;
}

.steps-progress {
    position: absolute;
    top: 20px;
    left: 70px;
    right: 70px;
    height: 3px;
    background-color: #e9ecef;
    z-index: 1;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.steps-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step.active .step-circle {
    background-color: #007bff;
    color: white;
    transform: scale(1.1);
}

.step.completed .step-circle {
    background-color: #28a745;
    color: white;
}

.step.completed .step-number {
    display: none;
}

.step.completed .step-icon {
    display: inline-block !important;
}

.step-number {
    font-weight: bold;
}

.step-label {
    font-weight: 600;
    color: #6c757d;
    text-align: center;
    margin-top: 5px;
}

.step.active .step-label {
    color: #007bff;
}

.step.completed .step-label {
    color: #28a745;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

    .form-step.active {
        display: block;
    }

.step-title {
    font-weight: 600;
    color: #2c3e50;
}

.step-subtitle {
    font-size: 0.95rem;
}

.health-summary, .password-requirements {
    border-left: 4px solid #007bff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form input focus styles */
.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.15);
}

/* Disable button states */
button:disabled, button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Password requirements real-time */
.password-requirements .fa-check-circle.text-success {
    color: #28a745 !important;
}

.password-requirements .fa-check-circle.text-danger {
    color: #dc3545 !important;
}

.password-requirements li.requirement-met {
    color: #28a745;
    font-weight: 500;
}

.password-requirements li.requirement-unmet {
    color: #dc3545;
}

/* Terms error message */
.terms-error {
    font-size: 12px;
    margin-top: 4px;
    color: #dc3545;
}

@media (max-width: 768px) {
    h3{
        font-size:15px;
    }
    p{
        font-size:12px;
    }
    .card-scroll {
        max-height: calc(100vh);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 15px !important;
    }
    .progress-steps-container {
        padding: 0 10px;
        margin-top: 10px;
    }
    .steps-progress {
        left: 30px;
        right: 30px;
        top: 17px;
    }
    .step-circle {
        width: 35px;
        height: 35px;
        border: 2px solid #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .step.active .step-circle {
        transform: scale(1.05);
    }

    .step-number {
        font-size: 14px;
    }

    .step-icon {
        font-size: 14px;
    }
    .step-label {
        font-size: 10px;
        margin-top: 3px;
        max-width: 70px;
        line-height: 1.2;
        word-wrap: break-word;
    }
}