
/* ================================================================
   WIZARD CERERE OFERTA
   ================================================================ */

.wizard-section { background: #f8f9fa; }

/* Bara de progres pasi */
.wizard-progress { padding: 0 1rem; }
.wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.wiz-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    position: relative;
    z-index: 1;
}
.wiz-step-circle {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #e9ecef;
    color: #aaa;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    border: 3px solid #dee2e6;
    transition: all .3s;
    position: relative;
}
.wiz-step-circle .wiz-step-num {
    position: absolute;
    bottom: -2px; right: -2px;
    background: #aaa;
    color: #fff;
    border-radius: 50%;
    width: 18px; height: 18px;
    font-size: .65rem;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.wiz-step.active .wiz-step-circle {
    background: var(--gradient);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,165,0,.25);
}
.wiz-step.active .wiz-step-circle .wiz-step-num { background: var(--dark); }
.wiz-step.completed .wiz-step-circle {
    background: var(--dark);
    color: var(--primary);
    border-color: var(--dark);
}
.wiz-step.completed .wiz-step-circle .wiz-step-num { background: var(--primary); color: #000; }
.wiz-step-label {
    font-size: .75rem;
    font-weight: 600;
    color: #aaa;
    white-space: nowrap;
}
.wiz-step.active .wiz-step-label,
.wiz-step.completed .wiz-step-label { color: var(--dark); }

.wiz-step-line {
    flex: 1;
    height: 3px;
    background: #dee2e6;
    min-width: 40px;
    max-width: 120px;
    transition: background .3s;
    margin-bottom: 1.8rem;
}
.wiz-step-line.completed { background: var(--dark); }

/* Panele pasi */
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }

/* Card wizard */
.wizard-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 32px rgba(0,0,0,.09);
    overflow: hidden;
}
.wizard-card-header {
    background: var(--dark);
    color: #fff;
    padding: 1.75rem 2rem 1.5rem;
}
.wizard-card-header .step-badge {
    display: inline-block;
    background: #f39c12;
    color: #000;
    font-size: .75rem;
    font-weight: 700;
    padding: .2rem .7rem;
    border-radius: 50px;
    margin-bottom: .75rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.wizard-card-header h3 { color: #fff; font-size: 1.5rem; margin: 0 0 .4rem; }
.wizard-card-header p  { color: rgba(255,255,255,.7); margin: 0; font-size: .95rem; }
.wizard-card-body  { padding: 2rem; }
.wizard-card-footer {
    padding: 1.25rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Tip imobil grid */
.prop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 576px) { .prop-grid { grid-template-columns: repeat(4, 1fr); } }
.prop-radio { display: none; }
.prop-card {
    cursor: pointer;
    border-radius: var(--radius-sm);
    border: 2px solid #dee2e6;
    transition: all .2s;
    display: block;
}
.prop-card-inner {
    padding: 1.25rem .75rem;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.prop-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; color: #888;
    transition: all .2s;
    margin-bottom: .25rem;
}
.prop-card strong { font-size: .9rem; display: block; color: var(--dark); }
.prop-card small  { font-size: .75rem; color: #888; }
.prop-card:hover, .prop-card.selected {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(255,165,0,.2);
}
.prop-card.selected .prop-icon { background: var(--gradient); color: #000; }

/* Orientare */
.orient-grid { display: flex; flex-wrap: wrap; gap: .65rem; }
.orient-card {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: .5rem .9rem;
    cursor: pointer;
    transition: all .2s;
    display: flex; flex-direction: column; align-items: center; gap: .1rem;
    min-width: 80px; text-align: center;
}
.orient-card input { display: none; }
.orient-card strong { font-size: .85rem; color: var(--dark); }
.orient-card small  { font-size: .72rem; color: #888; }
.orient-card:has(input:checked) {
    border-color: var(--primary);
    background: rgba(255,165,0,.07);
}

/* Baterie */
.bat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}
@media (max-width: 576px) { .bat-grid { grid-template-columns: 1fr; } }
.bat-card { display: block; cursor: pointer; }
.bat-card input { display: none; }
.bat-card-inner {
    border: 2px solid #dee2e6;
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
    transition: all .2s;
    display: flex; flex-direction: column; align-items: center; gap: .35rem;
}
.bat-card-inner i { font-size: 1.5rem; color: #aaa; }
.bat-card-inner strong { font-size: .88rem; color: var(--dark); }
.bat-card-inner small  { font-size: .76rem; color: #888; }
.bat-card.selected .bat-card-inner,
.bat-card:has(input:checked) .bat-card-inner {
    border-color: var(--primary);
    background: rgba(255,165,0,.06);
}
.bat-card:has(input:checked) .bat-card-inner i { color: var(--primary); }

/* Program vizita */
.program-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.program-chip {
    border: 2px solid #dee2e6;
    border-radius: 50px;
    padding: .35rem .9rem;
    cursor: pointer;
    font-size: .87rem;
    transition: all .2s;
    white-space: nowrap;
}
.program-chip input { display: none; }
.program-chip:has(input:checked) {
    background: var(--gradient);
    border-color: var(--primary);
    color: #000;
    font-weight: 600;
}

/* Rezumat */
.wizard-summary {
    background: rgba(255,165,0,.05);
    border: 1px solid rgba(255,165,0,.25);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
}
.wizard-summary h6 { font-weight: 700; margin-bottom: .75rem; }
.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem;
}
@media (max-width: 400px) { .summary-grid { grid-template-columns: 1fr; } }
.summary-item {
    display: flex; align-items: center; gap: .5rem;
    font-size: .83rem;
}
.summary-item i { width: 16px; text-align: center; flex-shrink: 0; }
.summary-label { color: #666; }
.summary-val { font-weight: 600; color: var(--dark); }

/* Succes */
.wizard-success { padding: 3rem 1rem; }
.wizard-success-icon {
    width: 90px; height: 90px;
    background: rgba(39,174,96,.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem; color: #27ae60;
}
.wizard-next-step {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    display: flex; flex-direction: column; gap: .35rem;
}
.wizard-next-step i { font-size: 1.4rem; }
.wizard-next-step strong { font-size: .9rem; }
.wizard-next-step p { font-size: .82rem; color: #888; margin: 0; }

/* Garantii */
.guarantee-chip {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    display: flex; flex-direction: column; gap: .35rem;
    align-items: center;
}
.guarantee-chip i { font-size: 1.5rem; }
.guarantee-chip strong { font-size: .88rem; }
.guarantee-chip small  { font-size: .78rem; color: #888; }

/* Toast validare */
.wiz-toast {
    position: fixed;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: var(--dark);
    color: var(--primary);
    padding: .7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .9rem;
    z-index: 9999;
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.wiz-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Admin stat cards (oferte.php) */
.admin-stat-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex; align-items: center; gap: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    border-left: 4px solid;
}
.admin-stat-card .stat-icon { font-size: 1.7rem; }
.admin-stat-card .stat-val  { font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.admin-stat-card .stat-lbl  { font-size: .8rem; color: #888; }
