#warningMessage {
    display: none;
}

@media only screen and (orientation: portrait) {
    #app {
        display: none;
    }

    #warningMessage {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Clear fixed vh heights that caused row overlapping */
#tiles {
    margin-bottom: 2rem;
}

#mosaics {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

/* Section Titles Above Columns */
.cap-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 0.75rem;
    text-align: center;
}

/* Vertical Menu List Container */
.vertical-menu {
    max-height: 280px;
    height: 280px;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    padding: 0.4rem;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Custom Scrollbar for Vertical Menu */
.vertical-menu::-webkit-scrollbar {
    width: 6px;
}

.vertical-menu::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 8px;
}

.vertical-menu::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.4);
    border-radius: 8px;
}

.vertical-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.7);
}

/* List Items in Dark Theme */
.vertical-menu .list-group-item {
    background: rgba(30, 41, 59, 0.5);
    color: var(--text-main, #f8fafc);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 0.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.vertical-menu .list-group-item:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.35);
    color: #ffffff;
}

/* Badges & Pills */
.badge-primary, .badge-pill {
    background: linear-gradient(135deg, var(--accent, #6366f1) 0%, #a855f7 100%) !important;
    color: #ffffff !important;
    border-radius: 9999px;
    padding: 0.3em 0.75em;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

/* Image scaling constraint to prevent overflow & overlap */
.cap-img {
    max-height: 280px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cap-img:hover {
    transform: scale(1.02);
    border-color: rgba(99, 102, 241, 0.5);
}


