.urgency-note {
    margin-top: 1.5rem;
    padding: 0.2rem;
    background: #fff5f5;
    border: 4px solid var(--accent-color);
    border-radius: 6px;
}

.urgency-note p {
    margin: 0.4rem 0;
    margin-left: 10px;
    text-align: center;
}

#loading-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem 2.5rem;
    text-align: center;
}

.loading-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: nowrap;
}

.loading-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #a0aec0;
    background: #fff;
    transition: all 0.5s cubic-bezier(.4,0,.2,1);
    position: relative;
    z-index: 1;
}
.step-circle.active {
    border: 3px solid transparent;
    color: #fff;
    background: linear-gradient(135deg, #ff6b9d, #c44dff, #4d79ff);
    animation: hueShift 2s linear infinite, stepBounce 1.1s ease-in-out infinite;
}
.step-circle.done {
    border-color: #48bb78;
    background: #48bb78;
    color: #fff;
    animation: none;
}
.step-label {
    margin-top: 10px;
    font-size: 0.78rem;
    color: #a0aec0;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.4s;
}
.step-label.active {
    color: #2d3748;
    font-weight: 700;
}
.step-label.done {
    color: #48bb78;
    font-weight: 600;
}
.step-connector {
    width: 48px;
    height: 3px;
    background: #e2e8f0;
    border-radius: 99px;
    margin: 0 -2px;
    margin-top: 23px;
    align-self: flex-start;
    flex-shrink: 0;
    transition: background 0.5s;
}
.step-connector.done {
    background: linear-gradient(90deg, #48bb78, #38a169);
}
.loading-bar-wrapper {
    width: 100%;
    max-width: 460px;
    height: 14px;
    background: #edf2f7;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 1.6rem;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.09);
}
.loading-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 99px;
    background: linear-gradient(90deg,
        #ff6b9d 0%, #c44dff 16%, #4d79ff 32%,
        #06d6a0 50%, #ff4d4d 66%, #a855f7 82%, #ff6b9d 100%
    );
    background-size: 250% 100%;
    transition: width 0.75s cubic-bezier(.4,0,.2,1);
    animation: barSlide 1.8s linear infinite;
}
.loading-status {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.35rem;
    transition: opacity 0.25s;
}
.loading-subtitle {
    font-size: 0.85rem;
    color: #718096;
}
@keyframes hueShift {
    from { filter: hue-rotate(0deg); }
    to   { filter: hue-rotate(360deg); }
}
@keyframes stepBounce {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.12); }
}
@keyframes barSlide {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
/* Success final message */
#form-success-final {
    display: none;
    text-align: center;
    padding: 3rem 1.5rem 2rem;
    animation: fadeInUp 0.6s ease forwards;
}
.success-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06d6a0, #48bb78);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.3rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 8px 28px rgba(72,187,120,0.38);
}
.success-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.6rem;
}
.success-desc {
    font-size: 0.95rem;
    color: #718096;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.65;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
