/* =============================================================================
   layout/container.css
   Top-level application shell: the centering wrapper and the content card.
   ============================================================================= */

.ghlm-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
    font-family: var(--font-family);
    transition: var(--transition-base);
    z-index: auto;
}

.ghlm-content {
    width: 100%;
    max-width: 900px;
    padding: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    min-height: auto;
    overflow: visible;
    z-index: 1;
    animation: slideDown 0.35s ease;
}

.ghlm-header {
    margin-bottom: 2rem;
    text-align: center;
}

.ghlm-header h2 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    animation: slideDown 0.35s ease;
}

.ghlm-subheader {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    color: var(--text-light);
    margin-top: 0.75rem;
    animation: slideDown 0.35s ease;
}

/* Used by the layout engine to force background colour on <main> */
.main {
    background-color: #f9fafc !important;
    z-index: 1 !important;
}

/* Utility — applied by JS when elements must be fully hidden */
.force-hidden {
    display: none !important;
}

/* -----------------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .ghlm-container {
        align-items: flex-start;
        padding: 1rem;
        z-index: auto;
    }

    .ghlm-content {
        padding: 1.5rem;
        z-index: auto;
    }

    .ghlm-header h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .ghlm-content {
        padding: 1rem;
        z-index: auto;
    }
}
