/**
 * Cobalt AMS v13.14.0 - Onboarding Wizard Styles (PH-3)
 */

/* ============================================
   OVERLAY
   ============================================ */

.ob-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 50, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: obFadeIn 0.3s ease;
}

@keyframes obFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ob-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    padding: 24px;
}

/* ============================================
   PROGRESS BAR
   ============================================ */

.ob-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 8px;
}

.ob-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ob-step-dot.ob-active {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(241, 90, 41, 0.25);
}

.ob-step-dot.ob-done {
    background: #059669;
    color: #fff;
}

.ob-step-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.3s ease;
}

.ob-step-line.ob-done {
    background: #059669;
}

.ob-step-label {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

/* ============================================
   CARD
   ============================================ */

.ob-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: obSlideUp 0.35s ease;
}

@keyframes obSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ob-card.ob-complete {
    text-align: center;
}

/* ============================================
   ICON
   ============================================ */

.ob-icon-wrap {
    text-align: center;
    margin-bottom: 20px;
}

.ob-success-icon {
    animation: obBounce 0.5s ease;
}

@keyframes obBounce {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.ob-title {
    font-size: 26px;
    font-weight: 700;
    color: #231F20;
    margin: 0 0 8px 0;
    text-align: center;
}

.ob-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 24px 0;
    text-align: center;
    line-height: 1.5;
}

.ob-body {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 28px 0;
    text-align: center;
}

/* ============================================
   FORM
   ============================================ */

.ob-form {
    margin-bottom: 20px;
}

.ob-field {
    margin-bottom: 16px;
}

.ob-field-row {
    display: flex;
    gap: 12px;
}

.ob-field-sm {
    flex: 0 0 120px;
}

.ob-field-lg {
    flex: 1;
}

.ob-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.ob-required {
    color: #dc2626;
}

.ob-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2937;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.ob-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(241, 90, 41, 0.12);
}

.ob-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.ob-input-group .ob-input {
    padding-right: 36px;
}

.ob-input-prefix {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
}

.ob-input-group .ob-input-prefix ~ .ob-input {
    padding-left: 28px;
}

.ob-input-suffix {
    position: absolute;
    right: 12px;
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
}

.ob-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.ob-radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ob-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.ob-radio input[type="radio"] {
    accent-color: #2563eb;
}

.ob-vin-row {
    display: flex;
    gap: 8px;
}

.ob-vin-input {
    flex: 1;
    font-family: 'Consolas', 'Monaco', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ob-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ob-divider::before,
.ob-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* ============================================
   ERROR
   ============================================ */

.ob-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid #fecaca;
}

/* ============================================
   BUTTONS
   ============================================ */

.ob-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ob-btn-primary {
    background: #2563eb;
    color: #fff;
    width: 100%;
    justify-content: center;
}

.ob-btn-primary:hover {
    background: #d94d20;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(241, 90, 41, 0.3);
}

.ob-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.ob-btn-secondary:hover {
    background: #e5e7eb;
}

.ob-btn-explore {
    background: transparent;
    color: var(--gray-400);
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    border: 1px dashed var(--gray-600);
    font-size: 14px;
}
.ob-btn-explore:hover {
    color: var(--gray-200);
    border-color: var(--gray-400);
    background: rgba(255,255,255,0.03);
}

.ob-btn-accent {
    background: #1A2332;
    color: #fff;
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
}

.ob-btn-accent:hover {
    background: #2d3a4d;
}

.ob-btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.ob-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ob-btn-row {
    display: flex;
    gap: 12px;
}

.ob-btn-row .ob-btn-secondary {
    flex: 0 0 auto;
}

.ob-btn-row .ob-btn-primary {
    flex: 1;
}

.ob-skip {
    text-align: center;
    margin-top: 12px;
}

.ob-skip a {
    color: #9ca3af;
    font-size: 13px;
    text-decoration: none;
}

.ob-skip a:hover {
    color: #2563eb;
}

/* ============================================
   COMPLETION CHECKLIST
   ============================================ */

.ob-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 24px auto;
    max-width: 280px;
    text-align: left;
}

.ob-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
}

/* ============================================
   REMINDER BANNER
   ============================================ */

.ob-reminder-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #FFF7ED;
    border: 1px solid #FDBA74;
    border-radius: 8px;
    margin: 8px 16px;
    font-size: 13px;
    color: #92400E;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 600px) {
    .ob-container {
        padding: 16px;
    }
    .ob-card {
        padding: 24px 20px;
    }
    .ob-field-row {
        flex-direction: column;
    }
    .ob-radio-group {
        flex-direction: column;
        gap: 8px;
    }
}
