/* css/layout.css */

/* HEADER */
.top-header {
    background-color: var(--bg-card);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.logo-container {
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-linear { color: var(--color-linear-teal); }
.logo-x { color: var(--text-muted); margin: 0 5px; font-weight: 400; }
.logo-rekan { color: var(--color-rekan-navy); }
.header-tagline { color: var(--text-muted); font-size: 0.9rem; }

/* MAIN GRID DASHBOARD */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 380px; /* Kiri proporsional, Kanan (Nota) fix 380px */
    gap: 2rem;
    max-width: 1280px;
    margin: 2rem auto;
    padding: 0 5%;
    align-items: start; /* Penting agar nota di kanan bisa sticky */
}

.left-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* VISUAL BUILDER (Tempat Tumpukan Gambar 3D) */
.visual-area {
    position: relative;
    width: 100%;
    height: 400px; /* Sesuaikan dengan proporsi gambar ruko Anda */
    background-color: #e9ecef; /* Warna semen statis sebelum gambar di-load */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Memastikan gambar tidak gepeng */
    transition: opacity 0.5s ease-in-out;
}

.layer.hidden {
    opacity: 0;
    pointer-events: none;
}

.layer.active {
    opacity: 1;
}

/* PEMBATAS */
.divider {
    border: none;
    border-top: 2px dashed var(--border-color);
    margin: 1rem 0;
}