﻿/* --------------------------------------------------------
   Prograde Interactive Map — Frontend Styles
   גופן Heebo מיובא מ-Google Fonts
   -------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500&display=swap');

/* ── עטיפה ראשית ── */
#prograde-map-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    direction: rtl;
    font-family: 'Heebo', sans-serif;
    background: #ffffff;
}

/* ── קנבס המפה ── */
#prograde-map-canvas {
    width: 100%;
    height: 100%;
}

/* ── פאנל מידע ── */
.prograde-info-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 230px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
    padding: 20px 18px 18px;
    z-index: 20;
    direction: rtl;
    text-align: right;
    font-family: 'Heebo', sans-serif;
    /* ברירת מחדל — מוסתר */
    opacity: 0;
    transform: translateX(-10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    border-top: 3px solid #1a6b8a; /* ייעודי: יוחלף דינמית */
}

.prograde-info-panel.is-open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

/* ── כפתור סגירה ── */
#prograde-panel-close {
    position: absolute;
    top: 8px;
    left: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #777;
    line-height: 1;
    padding: 2px 4px;
    font-family: 'Heebo', sans-serif;
    transition: color 0.15s;
}
#prograde-panel-close:hover {
    color: #222;
}

/* ── תג קטגוריה ── */
.prograde-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
    font-family: 'Heebo', sans-serif;
    letter-spacing: 0.3px;
}

/* ── שם המיקום (כותרת - משקל רגיל) ── */
.prograde-location-name {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #111111;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

/* ── תיאור (טקסט קל) ── */
.prograde-location-desc {
    font-family: 'Heebo', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: #333333;
    margin: 0;
    line-height: 1.6;
    opacity: 0.85;
}

/* ── כפתורי זום ── */
.gm-bundled-control .gm-svpc {
    display: none !important;
}

/* ── רספונסיביות ── */
@media (max-width: 600px) {
    .prograde-info-panel {
        width: calc(100% - 40px);
        left: 50%;
        right: auto;
        top: auto;
        bottom: 16px;
        transform: translateX(-50%) translateY(6px);
    }
    .prograde-info-panel.is-open {
        transform: translateX(-50%) translateY(0);
    }
}


/* Legend */
.prograde-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    background: transparent;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    border: none;
    border-bottom: none;
    font-family: inherit;
    direction: rtl;
}

.prograde-legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.prograde-legend-color {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-left: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* הוראת קבע חודשית - פריסה לרוחב מלא */
.kkl-recurring-card-container, 
.kkl-recurring-card {
    width: 100% !important;
    max-width: 100% !important;
}


.kkl-recurring-card-container, .kkl-recurring-card { max-width: 100% !important; width: 100% !important; }

