.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.rule-content {
    max-height: 50vh;
    overflow-y: auto;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

body {
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ===== STEP INDICATOR ===== */
.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 30px 0;
}

.step-item {
    text-align: center;
    flex: 1;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.step-item.complete:not(:last-child)::after {
    background: #0d6efd;
}

.step-circle {
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    margin: 0 auto 6px;
    background: #e0e0e0;
    color: #999;
    font-weight: 600;
    font-size: 14px;
    z-index: 1;
    position: relative;
}

.step-item.active .step-circle {
    background: var(--dyli-red);
    color: white;
    box-shadow: 0 4px 12px rgba(220,53,69,.3);
}

.step-item.complete .step-circle {
    background: #0d6efd;
    color: white;
}

.step-item div:last-child {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--dyli-red);
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: var(--dyli-red) !important;
}

.btn-outline-primary {
    color: var(--dyli-red);
    border-color: var(--dyli-red);
}

.btn-outline-primary:hover {
    background-color: var(--dyli-red);
    border-color: var(--dyli-red);
}

.btn-secondary {
    border-radius: 10px;
    padding: 12px;
}

/* OTP Overlay */
#otpOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.otp-box {
    background: white;
    padding: 24px;
    border-radius: 12px;
    width: 90%;
    max-width: 320px;
    text-align: center;
    position: relative;
}

.readonly-field {
    background-color: #e9ecef;
    pointer-events: none;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.card-title-custom {
    font-size: 1rem;
    font-weight: 700;
    border-left: 4px solid #dc3545;
    padding-left: 10px;
    margin-bottom: 15px;
}

.text-primary {
    color: var(--dylimain) !important;
}

.border-primary {
    border-color: var(--dylimain) !important;
}

.spinner-primary {
    color: var(--dylimain) !important;
}

.x-small {
    font-size: 0.75rem;
}
