﻿.location-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    margin-top: 10px;
    margin-bottom: 40px;
}

.head {
    font-family: -apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 53px;
    font-weight: 400;
    text-align: center;
}

.head2 {
    font-family: -apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 30px;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

.location {
    padding: 100px 80px;
    font-family: -apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
}

.location-container {
    display: flex;
    align-items: stretch;
    gap: 35px;
    margin-top: 100px;
}

/* LEFT TERMINAL PANEL */

.terminal-list {
    flex: 0 0 35%;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    max-height: 650px;
    overflow-y: auto;
    border: 1px solid #e5e5e5;
    box-shadow: none;
}

.terminal-search {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d8d8d8;
    outline: none;
    font-size: 15px;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 12px;
}

    .terminal-search:focus {
        border-color: #0d6dbf;
    }

    .terminal-search::placeholder {
        font-size: 14px;
        color: #888;
    }

.results-count {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin-bottom: 18px;
}

/* SIMPLE CARDS */

.terminal-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 10px;
    border: 1px solid #e8e8e8;
    transition: background .2s ease, border-color .2s ease;
}

    .terminal-card:hover {
        background: #f7f7f7;
        transform: none;
    }

.active-terminal {
    background: #eef6ff;
    border: 1px solid #0d6dbf;
    color: black;
    box-shadow: none;
}

.terminal-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f3f3;
    color: #0d6dbf;
}

.active-terminal .terminal-icon {
    background: #dcebff;
}

.terminal-card h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.terminal-card p {
    margin: 3px 0;
    font-size: 14px;
    color: #555;
}

.terminal-card small {
    font-size: 12px;
    color: #888;
}

/* MAP */

.map-section {
    flex: 0 0 65%;
    display: flex;
}

.map-placeholder {
    position: relative;
    height: 100%;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.selected-info-box {
    margin-top: 30px;
    padding: 20px;
    border-radius: 12px;
    background: white;
    border: 1px solid #e5e5e5;
}

    .selected-info-box h3 {
        margin-bottom: 15px;
        color: #0d6dbf;
    }

.status {
    color: green;
    font-weight: 600;
}

.route-box {
    margin-top: 25px;
    padding: 20px;
    border-radius: 12px;
    background: white;
    border: 1px solid #e5e5e5;
}

    .route-box h3 {
        margin-bottom: 15px;
        color: #0d6dbf;
    }

.route-inputs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

    .route-inputs select {
        flex: 1;
        padding: 14px;
        border-radius: 8px;
        border: 1px solid #ddd;
        font-size: 14px;
    }

.route-result {
    padding: 15px;
    background: #f7f9fc;
    border-radius: 8px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
    .location {
        padding: 60px 30px;
    }

    .location-container {
        flex-direction: column;
    }

    .terminal-list,
    .map-section {
        flex: 1 1 100%;
        width: 100%;
    }

    .map-placeholder {
        min-height: 400px;
    }
}

@media (max-width: 600px) {
    .location {
        padding: 40px 16px;
    }

    .head {
        font-size: 32px;
    }

    .head2 {
        font-size: 20px;
    }

    .location-container {
        margin-top: 40px;
        gap: 20px;
    }

    .terminal-list {
        max-height: 400px;
    }

    .route-inputs {
        flex-direction: column;
        gap: 10px;
    }
}
