/* Page fiche intérieur */

.interior-not-found {
    text-align: center;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.interior-general-info {
    display: flex;
    gap: 25px;
    align-items: center;
    width: 100%;
}

.interior-image {
    flex: 0 0 60%;
    max-width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interior-image img {
    max-width: 500px;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.interior-description {
    flex: 1;
    min-width: 0;
}

.interior-description p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.65;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Sélecteur de sous-sections */
.sub-section-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

.sub-section-btn.is-active {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.55);
}

.sub-section-panel {
    display: none;
}

.sub-section-panel.is-visible {
    display: block;
}

.sub-section-content {
    width: 100%;
}

/* Panneaux de contenu des onglets */
.interior-text-panel {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 24px 28px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.interior-text-panel p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.interior-text-panel table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.moons-table caption {
    caption-side: top;
    padding: 0 0 14px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.moons-table th,
.moons-table td {
    padding: 12px 18px;
    text-align: left;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.moons-table thead th {
    background: rgba(0, 0, 0, 0.2);
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.moons-table tbody th[scope="row"] {
    background: rgba(255, 255, 255, 0.06);
    font-weight: 600;
}

.moons-table tr:last-child td,
.moons-table tr:last-child th {
    border-bottom: none;
}

.moons-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
    .interior-general-info {
        flex-direction: column;
    }

    .interior-image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .interior-description p {
        font-size: 1rem;
    }

    .interior-text-panel {
        padding: 18px 20px;
    }

    .moons-table th,
    .moons-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}
