/* =================================================================
   1. Global Resets & Body
   ================================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}
a { color: #007bff; text-decoration: none; }
a:hover { text-decoration: underline; }

/* =================================================================
   2. Main Application Layout (Flexbox)
   ================================================================= */
.app-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.app-header {
    flex-shrink: 0;
    background-color: #ffffff;
    padding: 0 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}
.app-main {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
/*    overflow: hidden; /* This makes child elements scrollable */
}
.app-sidebar {
    flex-basis: 240px;
    flex-shrink: 0;
    background-color: #343a40;
    color: #f8f9fa;
    padding: 1rem;
    overflow-y: auto; /* The sidebar itself can scroll if the menu is long */
}
.app-content {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto; /* The main content area scrolls */
}
.app-footer {
    flex-shrink: 0;
    background-color: #ffffff;
    text-align: center;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    font-size: 0.9em;
    color: #6c757d;
}
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

/* =================================================================
   3. PDF Mapper Specific Layout
   ================================================================= */
.visual-helper-column {
    position: sticky;
    top: 2rem;
    align-self: flex-start;
}

/* ... (All your other CSS for forms, tables, cards, etc. should also be in this file) ... */

/* New two-column layout for the feedback page */
.feedback-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Make the existing form container take up about 60% of the width */
.feedback-layout .form-container {
    flex: 3; /* Takes up 3 parts of the space */
    margin: 0; /* Override the auto margin */
}

/* New info panel for the right side */
.feedback-layout .info-panel {
    flex: 2; /* Takes up 2 parts of the space */
    background-color: #e9ecef;
    padding: 2rem;
    border-radius: 8px;
}

.info-panel h3 {
    margin-top: 0;
    color: #343a40;
}

.info-panel p {
    color: #6c757d;
    line-height: 1.6;
}

.info-panel .icon {
    font-size: 4em;
    color: #007bff;
    text-align: center;
    margin-bottom: 1rem;
}
