/* Acil Toplanma Alanları Sayfası Stilleri */

.emergency-areas-page {
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
    background-color: #f5f5f5;
}

.emergency-areas-page .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 30px;
    text-align: center;
}

.page-title {
    font-family: "Bebas Neue", cursive;
    font-size: 42px;
    color: #224a98;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #224a98;
    margin: 15px auto 20px;
}

.page-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 0;
}

.map-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* Tablo Yapısı */
.areas-table-container {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.table-title {
    font-family: "Bebas Neue", cursive;
    font-size: 28px;
    color: #224a98;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.areas-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.areas-table thead {
    background-color: #224a98;
    color: #fff;
}

.areas-table th {
    padding: 12px 10px;
    text-align: left;
    /*font-weight: 600;*/
    font-size: 13px;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.areas-table th:last-child {
    border-right: none;
}

.areas-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.areas-table tbody tr:hover {
    background-color: #f0f4ff;
}

.areas-table tbody tr.active {
    background-color: #e8f0fe;
    border-left: 3px solid #224a98;
}

.areas-table td {
    padding: 12px 10px;
    vertical-align: middle;
    border-right: 1px solid #f0f0f0;
}

.areas-table td:last-child {
    border-right: none;
}

.areas-table td strong {
    color: #224a98;
    /*font-weight: 600;*/
}

.table-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* Tablo Butonları */
.btn-table {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    /*font-weight: 600;*/
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-harita {
    background-color: #224a98;
    color: #fff;
}

.btn-harita:hover {
    background-color: #1a3a7a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 74, 152, 0.3);
}

.btn-google-maps {
    background-color: #4285f4;
    color: #fff;
}

.btn-google-maps:hover {
    background-color: #357ae8;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.btn-yandex-maps {
    background-color: #fc3f1d;
    color: #fff;
}

.btn-yandex-maps:hover {
    background-color: #e63618;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(252, 63, 29, 0.3);
}

.areas-list {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 600px;
    display: flex;
    flex-direction: column;
}

.areas-list h3 {
    font-family: "Bebas Neue", cursive;
    font-size: 28px;
    color: #224a98;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.areas-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.areas-scroll::-webkit-scrollbar {
    width: 8px;
}

.areas-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.areas-scroll::-webkit-scrollbar-thumb {
    background: #224a98;
    border-radius: 4px;
}

.areas-scroll::-webkit-scrollbar-thumb:hover {
    background: #1a3a7a;
}

.area-card {
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.area-card:hover {
    border-color: #224a98;
    box-shadow: 0 4px 15px rgba(34, 74, 152, 0.2);
    transform: translateY(-2px) scale(1.02);
}

.area-card.active {
    border-color: #224a98;
    background-color: #e8f0fe;
    box-shadow: 0 4px 15px rgba(34, 74, 152, 0.3);
}

.area-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.area-header h4 {
    font-size: 18px;
    /*font-weight: bold;*/
    color: #224a98;
    margin: 0;
    flex: 1;
}

.btn-locate {
    background-color: #224a98;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-locate:hover {
    background-color: #1a3a7a;
    transform: scale(1.1);
}

.area-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.area-address {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.area-address i {
    color: #224a98;
    margin-top: 3px;
    flex-shrink: 0;
}

.area-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.badge-capacity {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.badge-phone {
    background-color: #e3f2fd;
    color: #1976d2;
}

.badge i {
    font-size: 11px;
}

/* Yol Tarifi Butonları */
.area-navigation {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.btn-navigation {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-google-maps {
    background-color: #4285f4;
    color: #fff;
}

.btn-google-maps:hover {
    background-color: #357ae8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-yandex-maps {
    background-color: #fc3f1d;
    color: #fff;
}

.btn-yandex-maps:hover {
    background-color: #e63618;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 63, 29, 0.3);
}

.btn-navigation i {
    font-size: 14px;
}

/* Info Window Stilleri */
.info-window {
    max-width: 300px;
}

.info-window h4 {
    font-size: 18px;
    font-weight: bold;
    color: #224a98;
    margin-bottom: 10px;
}

.info-window p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.info-window i {
    color: #224a98;
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .emergency-areas-page {
        padding: 20px 10px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .map-container {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    #map {
        height: 400px !important;
    }
    
    .areas-list {
        height: auto;
        max-height: 500px;
    }
}

