/* GRID LAYOUT — 3 columns × 3 rows */
.grid-container {
    display: grid;
    grid-template-columns: 18% 1fr 18%;      /* 3 equal columns */
    grid-template-rows: 80px 1fr 120px;      /* header, main, footer */
    height: 100vh;
    width: 100vw;
    gap: 5px;
    background: #green;
    padding: 5px;
    box-sizing: border-box;
}

/* ----- HEADER ----- */
.header {
    grid-column: 1 / 4;           /* span 3 columns */
    background: #004b9b;
    color: white;
    display: flex;
    align-items: center;
    padding-left: 20px;
    font-size: 24px;
    border-radius: 6px;
}

/* ----- CELLS (Row 2) ----- */
.cell {
    background: white;
    border-radius: 6px;
    position: relative; /* Needed for toast overlay */
    overflow: hidden;
}

/* ----- IFRAMES ----- */
.frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* ----- STATUS BAR (Row 3) ----- */
.status {
    grid-column: 1 / 4;
    background: #333;
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 6px;
    font-size: 18px;
}

.status-item {
    padding: 10px 20px;
}

/* ----- TOAST POPUP (over Row2 Col2) ----- */
.toast {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    font-size: 16px;
    z-index: 10;
}

.toast.show {
    opacity: 1;
}
