* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
}

main {
    padding: 30px;
}

.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Page Top */
.page-top {
    margin-bottom: 30px;
}

.page-top h1 {
    color: #457d8a;
    font-size: 36px;
    margin-bottom: 8px;
}

.page-top p {
    color: #999;
    font-size: 15px;
}

/* Map Container */
.map-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    margin-bottom: 25px;
}

/* Map Area */
.map-area {
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Legend Area */
.legend-area {
    background: white;
    border-radius: 8px;
    padding: 25px;
    height: 600px;
    overflow-y: auto;
}

.legend-area::-webkit-scrollbar {
    width: 6px;
}

.legend-area::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

/* Legend Item */
.legend-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.legend-item .icon {
    font-size: 24px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 6px;
    flex-shrink: 0;
}

.legend-item h4 {
    color: #457d8a;
    font-size: 14px;
    margin-bottom: 4px;
}

.legend-item p {
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

/* Icon Colors */
.blue {
    color: #5da4ba;
}

.orange {
    color: #f97316;
}

.gray {
    color: #6b7280;
}

.red {
    color: #dc2626;
}

.green {
    color: #10b981;
}

/* Buttons */
.button-row {
    display: flex;
    gap: 15px;
}

.btn-white {
    background: white;
    color: #457d8a;
    border: 2px solid #e5e7eb;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

.btn-white:hover {
    border-color: #457d8a;
}

.btn-teal {
    background: #457d8a;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

.btn-teal:hover {
    background: #3d6b77;
}

/* Responsive */
@media (max-width: 768px) {
    .map-container {
        grid-template-columns: 1fr;
    }

        .map-area {
        height: 250px;
    }

    .legend-area {
        height: auto;
        max-height: 300px;
    }

    .legend-item .icon {
        font-size: 16px;
        width: 26px;
        height: 26px;   
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f9fafb;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .legend-item h4 {
        color: #457d8a;
        font-size: 12px;
        margin-bottom: 4px;
    }

    .legend-item p {
        color: #999;
        font-size: 10px;
    }

    .button-row {
        flex-direction: column;
    }

    .btn-white,
    .btn-teal {
        width: 100%;
    }
}