﻿
.campus-map-section {
    padding: 45px 0;
    background: #f7faf9;
}

.campus-map-header {
    text-align: center;
    margin-bottom: 25px;
    direction: rtl;
}

    .campus-map-header h3 {
        color: #00695c;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .campus-map-header p {
        color: #666;
        margin: 0;
        font-size: 15px;
    }

.campus-map-search {
    position: relative;
    max-width: 520px;
    margin: 0 auto 20px auto;
    direction: rtl;
}

    .campus-map-search input {
        height: 46px;
        border-radius: 30px;
        padding: 8px 20px;
        border: 1px solid #d9e5e2;
        box-shadow: 0 8px 22px rgba(0, 105, 92, 0.08);
    }

.facility-search-result {
    display: none;
    position: absolute;
    top: 52px;
    right: 0;
    left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    z-index: 20;
    overflow: hidden;
    text-align: right;
}

.facility-search-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

    .facility-search-item:hover {
        background: #eef8f6;
        color: #00695c;
    }

.campus-map-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.15);
    border: 6px solid #fff;
}

#map {
    height: 540px;
    width: 100%;
}

.map-info-card {
    direction: rtl;
    text-align: right;
    width: 285px;
    font-family: Tahoma, Arial, sans-serif;
}

    .map-info-card h4 {
        margin: 0 0 8px 0;
        color: #00695c;
        font-size: 18px;
        font-weight: bold;
    }

    .map-info-card p {
        margin: 0 0 12px 0;
        color: #444;
        line-height: 1.8;
        font-size: 14px;
    }

.map-info-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .map-info-actions a {
        display: inline-block;
        padding: 7px 12px;
        border-radius: 8px;
        color: #fff !important;
        text-decoration: none;
        font-size: 13px;
    }

.map-direction-btn {
    background: #00695c;
}

.map-page-btn {
    background: #2e4a62;
}

@@media (max-width: 767px) {
    #map {
        height: 420px;
    }

    .campus-map-header h3 {
        font-size: 20px;
    }

    .map-info-card {
        width: 230px;
    }
}

