/* -------------------
   Progress Bar
------------------- */
.progress-container {
    margin: 30px 0 40px;
    position: relative;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    counter-reset: step;
}

.progress-bar::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 15px;
    right: 15px;
    height: 4px;
    background: #e0e0e0;
    z-index: 0;
    transform: translateY(-50%);
    border-radius: 2px;
}

.progress-step {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: #0073e6;
    box-shadow: 0 0 10px rgba(0, 115, 230, 0.5);
}

.progress-step::after {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 55px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Fill line effect */
.progress-step.active ~ .progress-step {
    background: #ccc;
    box-shadow: none;
}

/* -------------------
   Form Steps
------------------- */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}
.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -------------------
   Buttons
------------------- */
.btn-next,
.btn-prev,
.btn-submit {
    display: inline-block;
    padding: 12px 25px;
    font-size: 15px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin: 8px 5px;
}

.btn-next {
    background: #0073e6;
    color: #fff;
}
.btn-next:hover {
    background: #005bb5;
}

.btn-prev {
    background: #f0f0f0;
    color: #333;
}
.btn-prev:hover {
    background: #ddd;
}

.btn-submit {
    background: #28a745;
    color: #fff;
}
.btn-submit:hover {
    background: #218838;
}

/* -------------------
   Input Fields
------------------- */
input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: 14px;
    transition: border 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: #0073e6;
    outline: none;
    box-shadow: 0 0 6px rgba(0,115,230,0.2);
}

/* -------------------
   Validation
------------------- */
.error-message {
    color: #d93025;
    font-size: 13px;
    margin-top: -8px;
    margin-bottom: 10px;
    display: block;
}

.input-error {
    border-color: #d93025 !important;
}

/* -------------------
   Messages
------------------- */
#form-messages .success {
    padding: 12px 16px;
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
    margin-top: 15px;
    font-size: 14px;
    animation: fadeIn 0.4s ease;
}

#form-messages .error {
    padding: 12px 16px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    margin-top: 15px;
    font-size: 14px;
    animation: fadeIn 0.4s ease;
}
