*{
    box-sizing:border-box;
}

html, body {
    margin:0;
    padding:0;
    font-family:Tahoma, Arial;
    background:#f3f4f6;
    direction:rtl;
}

body{
    padding-bottom:30px;
}

.topbar{
    background:white;
    padding:10px 12px;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
}

.top-row{
    display:flex;
    align-items:center;
    gap:10px;
}

.search-form{
    display:flex;
    align-items:center;
    gap:8px;
    flex:1;
    min-width:0;
}

.title{
    font-size:17px;
    font-weight:bold;
    white-space:nowrap;
}



.search-input{
    flex:1 1 140px;
    min-width:0;
    border:none;
    background:#f1f3f5;
    border-radius:12px;
    padding:10px 12px;
    font-size:14px;
    outline:none;
}

.linkbtn{
    border:none;
    background:#0b57d0;
    color:white;
    border-radius:12px;
    padding:10px 12px;
    font-size:13px;
    text-decoration:none;
    white-space:nowrap;
    cursor:pointer;
}

.page-wrap{
    padding:12px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.card{
    background:white;
    border-radius:18px;
    padding:12px;
    box-shadow:0 4px 16px rgba(0,0,0,0.06);
}

.info-header{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:10px;
}

.compass{
    width:68px;
    height:68px;
    object-fit:contain;
    flex-shrink:0;
}

.info-title{
    font-size:18px;
    font-weight:bold;
    margin-bottom:2px;
}

.info-sub{
    font-size:12px;
    color:#777;
    margin-bottom:8px;
}

.metrics{
    display:flex;
    flex-direction:column;
    gap:8px;
    font-size:13px;
}

.metric-chip{
    background:#f3f4f6;
    border-radius:14px;
    padding:6px 10px;
    max-width:100%;
    line-height:1.5;
    overflow-wrap:anywhere;
    word-break:break-word;
}

.map-compass{
    position:absolute;
    top:12px;
    right:12px;
    width:72px;
    height:72px;
    object-fit:contain;
    z-index:999;
    pointer-events:none;
}

.poi-title{
    font-size:18px;
    font-weight:bold;
    margin-bottom:12px;
}

.poi-category{
    font-size:15px;
    font-weight:bold;
    margin-bottom:8px;
}

.poi-item{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:8px 0;
    border-bottom:1px solid #eee;
}

.poi-name{
    flex:1;
    font-size:14px;
    line-height:1.5;
}

.poi-distance{
    font-size:13px;
    color:#666;
    white-space:nowrap;
    text-align:left;
}

.poi-time{
    font-size:11px;
    color:#999;
    margin-top:2px;
}


.map-icon-btn{
    width:58px;
    height:58px;
    border-radius:16px;
    overflow:hidden;
    background:white;
    border:1px solid #e5e7eb;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.map-icon-btn img{
    width:100%;
    height:100%;
    object-fit:contain;
    background:white;
    padding:4px;
}

.map-panel-row{
    display:flex;
    gap:12px;
    align-items:stretch;
}

.map-links-column{
    width:64px;
    display:flex;
    flex-direction:column;
    gap:10px;
    flex-shrink:0;
}

.map-container{
    flex:1;
    min-width:0;
    width:100%;
    height:200px;
    overflow:hidden;
    border-radius:18px;
    position:relative;
}

.map-icon-btn{
    width:55px;
    height:55px;
    border-radius:14px;
    overflow:hidden;
    background:white;
    border:1px solid #e5e7eb;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.map-icon-btn img{
    width:100%;
    height:100%;
    object-fit:cover;
}



.map-container iframe{
    width:100% !important;
    height:100% !important;
    border:none !important;
}