/* ---------------------------------------------------------
   בסיס כללי
---------------------------------------------------------- */

#cpap-wizard {
    direction: rtl;
    font-family: 'Rubik', sans-serif;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
}

.cpap-container h2 {
    margin-bottom: 18px;
    font-size: 26px;
    font-weight: 600;
}

.cpap-container h3.cpap-section-title {
    margin: 25px 0 10px;
    font-size: 20px;
    font-weight: 500;
}

/* ---------------------------------------------------------
   פרוגריס בר עליון
---------------------------------------------------------- */

.cpap-progress-bar {
    text-align: center;
    margin-bottom: 25px;
}

.cpap-progress-bar span {
    font-size: 16px;
}

.cpap-steps-circles {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 10px;
}

.cpap-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ccc;
    color: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    cursor: default;
}

.cpap-step-circle.active {
    border-color: #93CF0F;
    background: #93CF0F;
    color: #fff;
}

/* ---------------------------------------------------------
   שלבים
---------------------------------------------------------- */

.cpap-step {
    display: none;
}

.cpap-step.active {
    display: block;
}

/* ---------------------------------------------------------
   פילים / בועות בחירה
---------------------------------------------------------- */

.cpap-pill {
    padding: 10px 18px;
    border-radius: 999px;
    background: #f3f3f3;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 15px;
    transition: 0.25s;
    margin-inline: 5px;
}

.cpap-pill.active,
.cpap-pill:hover {
    background: #93CF0F;
    border-color: #93CF0F;
    color: #fff;
}

/* ---------------------------------------------------------
   רווח בין סדרות סמסונג לכפתורי בחירת המכשיר
---------------------------------------------------------- */

.cpap-samsung-series {
    margin-top: 18px;
}

/* ---------------------------------------------------------
   Grid תצוגת דגמים ותיקונים
---------------------------------------------------------- */

.cpap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 15px;
}

.cpap-grid button {
    background: #fff;
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: 0.25s;
}

.cpap-grid button:hover,
.cpap-grid button.active {
    border-color: #93CF0F;
    background: #f7ffe9;
}

.cpap-grid img {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
}

/* ---------------------------------------------------------
   תג "מומלץ"
---------------------------------------------------------- */

.cpap-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 6px;
}

.cpap-tag-green {
    background: #93CF0F;
    color: #fff;
}

/* ---------------------------------------------------------
   תוספת WhatsApp
---------------------------------------------------------- */

#cpap-wa-addon-row {
    margin-top: 18px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 10px;
}

/* ---------------------------------------------------------
   טופס פרטים אישיים
---------------------------------------------------------- */

#cpap-wizard input,
#cpap-wizard select,
#cpap-wizard textarea {
    width: 100%;
    margin: 6px 0 14px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
    outline: none;
    transition: 0.25s;
}

#cpap-wizard input:focus,
#cpap-wizard select:focus,
#cpap-wizard textarea:focus {
    border-color: #93CF0F;
}

/* ---------------------------------------------------------
   סידור קידומת ומספר טלפון
---------------------------------------------------------- */

.cpap-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: ltr;
}

.cpap-phone select {
    width: 110px;
}

.cpap-phone span {
    font-size: 20px;
    margin-top: -5px;
}

/* ---------------------------------------------------------
   שגיאות - שלב 3  (חדש)
---------------------------------------------------------- */

.cpap-error {
    color: #d60000 !important;
    font-size: 14px;
    display: block;
    margin-top: -6px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* ---------------------------------------------------------
   לוח שנה - ימים וחודש
---------------------------------------------------------- */

#cpap-calendar {
    margin-top: 20px;
}

.cpap-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cpap-day {
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #eee;
    cursor: pointer;
}

.cpap-day.inactive {
    background: #f2f2f2;
    color: #aaa;
    cursor: not-allowed;
}

.cpap-day:hover,
.cpap-day.selected {
    background: #93CF0F;
    color: #fff;
}

/* ---------------------------------------------------------
   ימי השבוע - שורה אחת (חדש)
---------------------------------------------------------- */

.cpap-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 12px;
    direction: rtl;
    gap: 5px;
}

.cpap-calendar-weekdays div {
    padding: 6px 0;
}

/* ---------------------------------------------------------
   שעות פנויות
---------------------------------------------------------- */

#cpap-slots-wrapper {
    margin-top: 20px;
}

.cpap-slot {
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    margin-bottom: 10px;
}

.cpap-slot:hover,
.cpap-slot.selected {
    background: #93CF0F;
    border-color: #93CF0F;
    color: #fff;
}

/* ---------------------------------------------------------
   כפתורים
---------------------------------------------------------- */

.cpap-btn {
    padding: 14px 20px;
    border-radius: 8px;
    background: #93CF0F;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    transition: 0.25s;
}

.cpap-btn:hover {
    opacity: 0.9;
}

.cpap-btn.secondary {
    background: #333;
}

.cpap-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

/* ---------------------------------------------------------
   סיכום הזמנה
---------------------------------------------------------- */

#cpap-summary {
    background: #f9f9f9;
    padding: 18px;
    border-radius: 10px;
    margin-top: 15px;
}

#cpap-summary .item {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
}

#cpap-summary .price {
    float: left;
    font-weight: bold;
}

#cpap-summary-total {
    font-size: 20px;
    font-weight: bold;
    margin-top: 12px;
    text-align: center;
}

/* ---------------------------------------------------------
   מובייל
---------------------------------------------------------- */

@media (max-width: 480px) {
    .cpap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cpap-step-circle {
        width: 28px;
        height: 28px;
    }

    .cpap-pill {
        padding: 8px 14px;
        font-size: 14px;
    }
.cpap-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}
.cpap-calendar-wrapper {
    width: 100%;
}

.cpap-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cpap-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

}