/* Sorubak Premium Konum ve Ulaşım Rehberi - V1 */

.okul-location-guide{
    margin:0;
    min-width:0;
}

.okul-location-card{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 100% 0,rgba(43,120,187,.10),transparent 34%),
        linear-gradient(135deg,#fff 0,#fffaf7 58%,#f8fbff 100%);
    border:1px solid #ded7d2;
    border-radius:24px;
    box-shadow:0 18px 48px rgba(74,33,33,.08);
    padding:20px;
}

.okul-location-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
}

.okul-location-title-wrap{
    display:flex;
    align-items:center;
    gap:13px;
    min-width:0;
}

.okul-location-title-icon{
    width:46px;
    height:46px;
    flex:0 0 46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    color:#fff;
    background:linear-gradient(135deg,#1f4e79,#2b78bb);
    box-shadow:0 12px 26px rgba(31,78,121,.22);
    font-size:1.15rem;
}

.okul-location-kicker{
    display:block;
    margin-bottom:3px;
    color:#7A3030;
    font-size:.66rem;
    font-weight:950;
    letter-spacing:.09em;
}

.okul-location-header h2{
    margin:0;
    color:#172033;
    font-size:clamp(1.12rem,2vw,1.42rem);
    font-weight:950;
    line-height:1.2;
    letter-spacing:-.02em;
}

.okul-location-header p{
    margin:4px 0 0;
    color:#64748b;
    font-size:.84rem;
    font-weight:750;
}

.okul-location-verified{
    display:inline-flex;
    align-items:center;
    gap:7px;
    flex:0 0 auto;
    padding:8px 11px;
    border:1px solid #bbf7d0;
    border-radius:999px;
    background:#f0fdf4;
    color:#047857;
    font-size:.76rem;
    font-weight:950;
    white-space:nowrap;
}

.okul-location-layout{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);
    gap:18px;
    align-items:stretch;
}

.okul-location-map-column{
    display:flex;
    flex-direction:column;
    gap:12px;
    min-width:0;
}

.okul-location-map-column .okul-map-shell{
    flex:1 1 auto;
}

.okul-map-shell{
    position:relative;
    min-height:360px;
    overflow:hidden;
    border:1px solid #d8e1eb;
    border-radius:20px;
    background:#eaf0f5;
    isolation:isolate;
}

.okul-map-placeholder{
    position:absolute;
    inset:0;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:7px;
    padding:24px;
    background:
        linear-gradient(90deg,rgba(255,255,255,.76) 1px,transparent 1px),
        linear-gradient(rgba(255,255,255,.76) 1px,transparent 1px),
        radial-gradient(circle at 26% 22%,rgba(43,120,187,.18),transparent 24%),
        radial-gradient(circle at 78% 72%,rgba(21,128,61,.15),transparent 22%),
        linear-gradient(135deg,#edf5fb,#f8fbfd);
    background-size:28px 28px,28px 28px,auto,auto,auto;
    transition:opacity .22s ease,visibility .22s ease;
}

.okul-map-shell.is-loading .okul-map-placeholder{
    opacity:.72;
}

.okul-map-shell.is-loaded .okul-map-placeholder{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

.okul-map-pin{
    width:60px;
    height:60px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-bottom:3px;
    border-radius:22px;
    color:#fff;
    background:linear-gradient(135deg,#b91c1c,#ef4444);
    box-shadow:0 18px 38px rgba(185,28,28,.24);
    font-size:1.55rem;
}

.okul-map-placeholder strong{
    color:#172033;
    font-size:1.06rem;
    font-weight:950;
}

.okul-map-placeholder > span:not(.okul-map-pin){
    color:#64748b;
    font-size:.8rem;
    font-weight:800;
}

.okul-map-load-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:46px;
    margin-top:9px;
    padding:10px 17px;
    border:0;
    border-radius:14px;
    color:#fff;
    background:linear-gradient(135deg,#4A2121,#7A3030);
    box-shadow:0 13px 28px rgba(74,33,33,.20);
    font-size:.86rem;
    font-weight:950;
    cursor:pointer;
    transition:transform .18s ease,box-shadow .18s ease;
}

.okul-map-load-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 17px 34px rgba(74,33,33,.24);
}

.okul-map-load-btn:disabled{
    cursor:wait;
    opacity:.78;
    transform:none;
}

.okul-map-shell iframe{
    position:absolute;
    inset:0;
    z-index:1;
    width:100%;
    height:100%;
    min-height:360px;
    border:0;
    display:block;
}

.okul-location-info{
    display:flex;
    flex-direction:column;
    gap:11px;
    min-width:0;
}

.okul-location-address{
    display:flex;
    align-items:flex-start;
    gap:11px;
    padding:14px;
    border:1px solid #dbe5ee;
    border-radius:17px;
    background:#fff;
}

.okul-location-info-icon{
    width:36px;
    height:36px;
    flex:0 0 36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    color:#1f4e79;
    background:#eaf3fb;
}

.okul-location-address small{
    display:block;
    margin-bottom:3px;
    color:#64748b;
    font-size:.68rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.okul-location-address strong{
    display:block;
    color:#172033;
    font-size:.86rem;
    font-weight:900;
    line-height:1.45;
    overflow-wrap:anywhere;
}

.okul-location-place{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:11px 13px;
    border:1px solid #e2e8f0;
    border-radius:15px;
    background:#f8fafc;
}

.okul-location-place span{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#64748b;
    font-size:.76rem;
    font-weight:850;
}

.okul-location-place strong{
    color:#172033;
    font-size:.82rem;
    font-weight:950;
    text-align:right;
}

.okul-location-actions{
    display:grid;
    gap:8px;
}

.okul-location-action{
    width:100%;
    display:flex;
    align-items:center;
    gap:11px;
    min-height:58px;
    padding:10px 12px;
    border:1px solid #dfe6ee;
    border-radius:16px;
    background:#fff;
    color:#172033;
    text-align:left;
    text-decoration:none;
    cursor:pointer;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

button.okul-location-action{
    font:inherit;
}

.okul-location-action:hover{
    transform:translateY(-1px);
    border-color:#cbd5e1;
    box-shadow:0 10px 24px rgba(15,23,42,.07);
    color:#172033;
}

.okul-location-action.primary{
    border-color:#cfe2f5;
    background:linear-gradient(135deg,#eff7ff,#fff);
}

.okul-location-action > i{
    width:35px;
    height:35px;
    flex:0 0 35px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    color:#7A3030;
    background:#fff1eb;
}

.okul-location-action.primary > i{
    color:#1f4e79;
    background:#ddecfa;
}

.okul-location-action span{
    display:block;
    min-width:0;
}

.okul-location-action strong{
    display:block;
    color:#172033;
    font-size:.82rem;
    font-weight:950;
}

.okul-location-action small{
    display:block;
    margin-top:2px;
    color:#64748b;
    font-size:.67rem;
    font-weight:750;
}


@media (max-width:991.98px){
    .okul-location-layout{
        grid-template-columns:1fr;
    }

    .okul-map-shell,
    .okul-map-shell iframe{
        min-height:330px;
    }

    .okul-location-actions{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .okul-location-action{
        min-height:92px;
        flex-direction:column;
        justify-content:center;
        text-align:center;
        gap:7px;
    }
}

@media (max-width:575.98px){
    .okul-location-card{
        margin-left:-2px;
        margin-right:-2px;
        padding:14px;
        border-radius:19px;
    }

    .okul-location-header{
        display:block;
        margin-bottom:14px;
    }

    .okul-location-title-icon{
        width:40px;
        height:40px;
        flex-basis:40px;
        border-radius:14px;
    }

    .okul-location-header h2{
        font-size:1.04rem;
    }

    .okul-location-header p{
        font-size:.75rem;
    }

    .okul-location-verified{
        margin-top:10px;
        padding:6px 9px;
        font-size:.68rem;
    }

    .okul-map-shell,
    .okul-map-shell iframe{
        min-height:285px;
    }

    .okul-map-placeholder{
        padding:18px;
    }

    .okul-map-pin{
        width:52px;
        height:52px;
        border-radius:18px;
        font-size:1.3rem;
    }

    .okul-map-placeholder strong{
        font-size:.94rem;
    }

    .okul-location-actions{
        grid-template-columns:1fr;
    }

    .okul-location-action{
        min-height:54px;
        flex-direction:row;
        justify-content:flex-start;
        text-align:left;
    }

    .okul-location-address strong{
        font-size:.8rem;
    }
}


/* Yakın ulaşım - canlı Places ayrıntıları */
.okul-transit-box{
    border:1px solid #d8e4ef;
    border-radius:17px;
    background:#fff;
    overflow:hidden;
}

.okul-transit-load-btn{
    width:100%;
    min-height:64px;
    display:flex;
    align-items:center;
    gap:11px;
    padding:11px 13px;
    border:0;
    background:linear-gradient(135deg,#f3f9ff,#fff);
    color:#172033;
    text-align:left;
    cursor:pointer;
}

.okul-transit-load-btn:disabled{
    cursor:wait;
    opacity:.8;
}

.okul-transit-btn-icon{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    background:#e4f1fb;
    color:#1f4e79;
    font-size:1rem;
}

.okul-transit-load-btn > span:not(.okul-transit-btn-icon){
    min-width:0;
    display:block;
    flex:1 1 auto;
}

.okul-transit-load-btn strong{
    display:block;
    color:#172033;
    font-size:.82rem;
    font-weight:950;
}

.okul-transit-load-btn small{
    display:block;
    margin-top:2px;
    color:#64748b;
    font-size:.67rem;
    font-weight:750;
}

.okul-transit-chevron{
    color:#64748b;
    transition:transform .18s ease;
}

.okul-transit-load-btn[data-loaded="1"] .okul-transit-chevron{
    transform:rotate(90deg);
}

.okul-transit-result{
    display:grid;
    gap:8px;
    padding:0 11px 11px;
    border-top:1px solid #edf2f7;
    background:#fbfdff;
}

.okul-transit-result[hidden]{
    display:none;
}

.okul-transit-result-title{
    padding-top:10px;
    color:#475569;
    font-size:.69rem;
    font-weight:950;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.okul-transit-item{
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    min-height:58px;
    padding:9px 10px;
    border:1px solid #dfe8f1;
    border-radius:14px;
    background:#fff;
    color:#172033;
    text-decoration:none;
}

a.okul-transit-item:hover{
    color:#172033;
    border-color:#bfd3e6;
    box-shadow:0 8px 20px rgba(15,23,42,.06);
}

.okul-transit-item-icon{
    width:34px;
    height:34px;
    flex:0 0 34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    background:#edf6ff;
    color:#1f4e79;
}

.okul-transit-item-content{
    min-width:0;
    display:block;
    flex:1 1 auto;
}

.okul-transit-item-content small{
    display:block;
    color:#7A3030;
    font-size:.62rem;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.035em;
}

.okul-transit-item-content strong{
    display:block;
    margin-top:1px;
    color:#172033;
    font-size:.79rem;
    font-weight:950;
    overflow-wrap:anywhere;
}

.okul-transit-item-content > span{
    display:block;
    margin-top:2px;
    color:#64748b;
    font-size:.66rem;
    font-weight:780;
}

.okul-transit-item-arrow{
    color:#64748b;
    flex:0 0 auto;
}

.okul-transit-note{
    display:block;
    color:#64748b;
    font-size:.61rem;
    font-weight:750;
    line-height:1.35;
}

.okul-transit-error{
    margin-top:10px;
    padding:10px;
    border:1px solid #fecaca;
    border-radius:12px;
    background:#fef2f2;
    color:#991b1b;
    font-size:.72rem;
    font-weight:850;
}


/* İlçe merkezinden okula kayıtlı rota özeti */
.okul-district-route-box{
    padding:12px;
    border:1px solid #d8e4ef;
    border-radius:17px;
    background:
        linear-gradient(135deg,#f8fbff 0,#ffffff 58%,#fffaf7 100%);
}

.okul-district-route-head{
    display:flex;
    align-items:center;
    gap:10px;
}

.okul-district-route-icon{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    background:#e8f2fb;
    color:#1f4e79;
}

.okul-district-route-head > div{
    min-width:0;
}

.okul-district-route-head small{
    display:block;
    color:#64748b;
    font-size:.63rem;
    font-weight:950;
    letter-spacing:.035em;
    text-transform:uppercase;
}

.okul-district-route-head strong{
    display:block;
    margin-top:2px;
    color:#172033;
    font-size:.82rem;
    font-weight:950;
    line-height:1.3;
    overflow-wrap:anywhere;
}

.okul-district-route-modes{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-top:10px;
}

.okul-district-route-mode{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    padding:9px;
    border:1px solid #e2e8f0;
    border-radius:13px;
    background:#fff;
}

.okul-district-route-mode > span{
    width:31px;
    height:31px;
    flex:0 0 31px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#fff1eb;
    color:#7A3030;
}

.okul-district-route-mode > div{
    min-width:0;
}

.okul-district-route-mode small{
    display:block;
    color:#64748b;
    font-size:.59rem;
    font-weight:900;
    text-transform:uppercase;
}

.okul-district-route-mode strong{
    display:block;
    margin-top:2px;
    color:#172033;
    font-size:.72rem;
    font-weight:950;
    line-height:1.25;
}

.okul-district-route-source{
    display:flex;
    align-items:center;
    gap:5px;
    margin-top:9px;
    padding-top:8px;
    border-top:1px dashed #d8e1eb;
    color:#64748b;
    font-size:.62rem;
    font-weight:750;
    line-height:1.35;
}

.okul-district-route-source i{
    color:#1f4e79;
}

.okul-district-route-source strong{
    color:#475569;
    font-weight:900;
}

@media (max-width:390px){
    .okul-district-route-modes{
        grid-template-columns:1fr;
    }
}


/* Harita altı okul iletişim bilgileri */
.okul-contact-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
}

.okul-contact-item{
    min-width:0;
    display:flex;
    align-items:center;
    gap:9px;
    min-height:48px;
    padding:9px 11px;
    border:1px solid #dbe5ee;
    border-radius:14px;
    background:#fff;
    color:#172033;
}


.okul-contact-item i{
    width:30px;
    height:30px;
    flex:0 0 30px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#edf6ff;
    color:#1f4e79;
    font-size:.82rem;
}

.okul-contact-item strong{
    min-width:0;
    display:block;
    color:#172033;
    font-size:.72rem;
    font-weight:850;
    line-height:1.35;
    overflow-wrap:anywhere;
}

@media (max-width:767.98px){
    .okul-contact-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width:420px){
    .okul-contact-grid{
        grid-template-columns:1fr;
    }
}
