/* css/layout-grid.css */

.layout-container {
    height: calc(100vh - var(--header-height, 70px));
    width: 100vw;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.layout-grid {
    display: grid;
    grid-template-columns: 320px min-content 320px;
    gap: 60px;
    width: 100%;
    max-width: 1800px;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* C'est ici : Copie exacte de ton ancien .info-panel */
.panel-region {
    background: rgba(30, 41, 59, 0.7); /* COULEUR EXACTE */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; /* ARRINDI EXACT */
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);

    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
    z-index: 5;

    height: calc(100vh - var(--header-height, 70px) - 60px);
    max-height: 720px;
    padding: 0 !important;
}

.region-center {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    width: auto;
    height: 100%;
    overflow: visible;
}

@media (max-width: 1100px) {
    .layout-container { display: block; overflow-y: auto; padding: 20px; height: auto; }
    .layout-grid { display: flex; flex-direction: column; height: auto; gap: 30px; padding-bottom: 50px; }
    .region-center { order: -1; padding: 0; }
    .panel-region { height: auto; min-height: 400px; width: 100%; max-height: none; overflow: hidden; }
}