#map {
    width: 100%;
    height: 80vh;
}


.table_component {
    overflow: auto;
    width: 100%;
	border-style: solid;
	border-color: #F79007;
}

.table_component table {
    border: 1px dashed #ffffff;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: center;
}

.table_component caption {
    caption-side: top;
    text-align: center;
}

.table_component th {
    border: 1px dashed #ffffff;
    background-color: #F79007;
    color: #000000;
    padding: 5px;
}

.table_component td {
    border: 1px dashed #ffffff;
    background-color: #000000;
    color: #ffffff;
    padding: 5px;
}
.leaflet-popup-close-button {
    display: none;
}
.leaflet-popup-content-wrapper {
    background-color: black;
	
}
.aircraft-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
	margin: 0px;
	padding: 0px;

}

.popup-section {
    border: 1px solid #000;
   	margin-bottom: 0px;

}

.popup-header {
    background-color: #F79007;
    font-weight: bold;
	color: #000000;
    text-align: center;
    font-size: 0.9em;
}

.popup-content {
    background-color: black;
    color: white;
	font-size: 0.9em;
	margin-bottom: 0px;
}

.data {
    color: lightgray;
	font-size: 0.9em;
}

.image-section {
    margin-bottom: 3px;
}

/* ============================================================
   ATC PANEL
   ============================================================ */
.atc-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1a1a1a;
    color: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(255, 165, 0, 0.8);
    z-index: 3000;
    display: none;
    width: 320px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    border: 2px solid orange;
}

/* ============================================================
   INFO PANEL
   ============================================================ */
.info-panel {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 400px;
    max-height: 92vh;
    overflow-y: auto;
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    border-left: 3px solid orange;
    border-radius: 10px 0 0 10px;
    padding: 12px;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.8);
    z-index: 2000;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: white;
    line-height: 1.4;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: orange;
    color: black;
    font-weight: bold;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 6px;
    border: none;
    box-shadow: 0 0 8px rgba(255, 165, 0, 0.8);
    transition: transform 0.2s;
}

.rank-image {
    width: 100px;
    height: auto;
    margin: 50px auto 10px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 10px orange;
}

.panel-table {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
}

.progress-container {
    width: 100%;
    padding: 8px 0;
    background-color: #111;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid orange;
}

.progress-bar {
    width: 90%;
    height: 20px;
    margin: 0 auto;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: orange;
    transition: width 0.5s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
    text-shadow: 0 0 5px black, 0 0 10px orange;
    pointer-events: none;
}

.aircraft-image-preview {
    width: 100%;
    margin-top: 8px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
    margin-bottom: 12px;
}

.airport-title {
    text-align: center;
    color: orange;
    margin-top: 40px;
}

.airport-briefing {
    background-color: #222;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
}

.airport-info-extra {
    background-color: #111;
    padding: 10px;
    margin-top: 8px;
    border-radius: 6px;
    font-size: 12px;
}

.stands-title {
    color: orange;
    margin-top: 12px;
    border-top: 1px solid #444;
    padding-top: 10px;
    font-size: 14px;
}

.stand-group-title {
    display: block;
    margin-top: 8px;
    color: white;
}

.stand-item {
    color: #ccc;
    font-size: 12px;
}

/* ============================================================
   FLIGHTS TABLE
   ============================================================ */
.flights-table-container {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    background-color: black;
    border: 2px solid orange;
    border-radius: 6px;
    padding: 4px;
    max-width: 100vw;
    width: 1400px;
    overflow-x: auto;
}

.toggle-btn {
    margin-bottom: 4px;
    background-color: orange;
    border: none;
    color: black;
    font-weight: bold;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 12px;
}

.flights-table {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: white;
    background-color: #111;
}

.flights-table th {
    background-color: orange;
    color: black;
    font-weight: bold;
    padding: 6px 4px;
    border: 1px solid #555;
    font-size: 11px;
    white-space: nowrap;
    text-align: center;
}

.flight-cell {
    padding: 4px 2px;
    font-size: 11px;
    border: 1px solid #333;
    text-align: center;
    white-space: nowrap;
    background-color: #111;
}

.airport-cell {
    cursor: pointer;
    transition: all 0.2s ease;
}

/* ============================================================
   ANIMACIONES
   ============================================================ */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}