/*
 * LCARS CSS - Star Trek Adventures Starship Simulator
 * Adapted from LCARS-log-descrambler by tommertron
 * https://github.com/tommertron/LCARS-log-descrambler
 */

/* ============================================
   FONTS
   ============================================ */
@font-face {
    font-family: 'Antonio';
    font-weight: 400;
    src: url('../fonts/Antonio-Regular.woff2') format('woff2'),
         url('../fonts/Antonio-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Antonio';
    font-weight: 700;
    src: url('../fonts/Antonio-Bold.woff2') format('woff2'),
         url('../fonts/Antonio-Bold.woff') format('woff');
}

/* ============================================
   COLOR PALETTE (LCARS Standard)
   ============================================ */
:root {
    /* Primary LCARS Colors */
    --lcars-orange: #f90;
    --lcars-gold: #fc0;
    --lcars-butterscotch: #f96;
    --lcars-sunflower: #ff6;
    --lcars-african-violet: #c9f;
    --lcars-violet-creme: #c9c;
    --lcars-lilac: #c6f;
    --lcars-moonlit-violet: #96f;
    --lcars-bluey: #99f;
    --lcars-ice: #9cf;
    --lcars-sky: #6cf;
    --lcars-galaxy: #69c;
    --lcars-mars: #f66;
    --lcars-tomato: #f55;
    --lcars-red-alert: #c44;
    --lcars-peach: #f99;
    --lcars-almond: #fc9;
    --lcars-taupe: #c99;

    /* Semantic Colors */
    --lcars-bg: #000;
    --lcars-text: #f5f6fa;
    --lcars-text-dark: #000;
    --lcars-panel-bg: #111;
    --lcars-gray: #668;

    /* UI State Colors */
    --lcars-success: #9c9;
    --lcars-warning: #fc6;
    --lcars-danger: #f66;
    --lcars-info: #9cf;

    /* Frame dimensions */
    --frame-sidebar-width: 180px;
    --frame-top-height: 80px;
    --frame-corner-radius: 40px;
    --frame-inner-radius: 20px;
    --frame-bar-height: 28px;

    /* Button dimensions */
    --button-height: 44px;
    --button-radius: 22px;

    /* Typography */
    --font-primary: 'Antonio', 'Arial Narrow', 'Avenir Next Condensed', sans-serif;
    --font-size-base: 1.25rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: clamp(1.5rem, 1.25rem + 2vw, 3rem);
}

/* ============================================
   BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    background-color: var(--lcars-bg);
    color: var(--lcars-text);
    min-height: 100vh;
    line-height: 1.4;
}

::selection {
    background: var(--lcars-orange);
    color: var(--lcars-text-dark);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5em;
}

h1 {
    font-size: var(--font-size-xxl);
    color: var(--lcars-orange);
}

h2 {
    font-size: var(--font-size-xl);
    color: var(--lcars-butterscotch);
}

h3 {
    font-size: var(--font-size-lg);
    color: var(--lcars-almond);
}

h4 {
    font-size: var(--font-size-base);
    color: var(--lcars-peach);
}

a {
    color: var(--lcars-lilac);
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover {
    filter: brightness(120%);
}

a:active {
    filter: brightness(80%);
}

/* ============================================
   LCARS FRAME STRUCTURE
   ============================================ */
.lcars-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.lcars-frame {
    display: flex;
    flex: 1;
    padding: 10px;
    gap: 3px;
}

/* Left Sidebar Frame */
.lcars-sidebar {
    width: var(--frame-sidebar-width);
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
}

/* Top elbow piece */
.lcars-elbow-top {
    background: var(--lcars-african-violet);
    height: var(--frame-top-height);
    border-radius: var(--frame-corner-radius) 0 0 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 8px;
    padding-left: 15px;
}

.lcars-elbow-top::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 50%;
    background: var(--lcars-bg);
    border-radius: var(--frame-inner-radius) 0 0 0;
}

.lcars-elbow-top .elbow-text {
    color: var(--lcars-text-dark);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    z-index: 1;
}

/* Sidebar navigation buttons */
.lcars-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.lcars-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 15px;
    background: var(--lcars-butterscotch);
    color: var(--lcars-text-dark);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: filter 0.1s;
    min-height: 36px;
}

.lcars-sidebar-btn:hover {
    filter: brightness(115%);
    text-decoration: none;
}

.lcars-sidebar-btn:active {
    filter: brightness(85%);
}

.lcars-sidebar-btn.color-1 { background: var(--lcars-african-violet); }
.lcars-sidebar-btn.color-2 { background: var(--lcars-butterscotch); }
.lcars-sidebar-btn.color-3 { background: var(--lcars-bluey); }
.lcars-sidebar-btn.color-4 { background: var(--lcars-lilac); }
.lcars-sidebar-btn.color-5 { background: var(--lcars-ice); }
.lcars-sidebar-btn.color-6 { background: var(--lcars-taupe); }
.lcars-sidebar-btn.color-7 { background: var(--lcars-peach); }
.lcars-sidebar-btn.color-8 { background: var(--lcars-almond); }

/* Spacer panels */
.lcars-spacer {
    flex: 1;
    min-height: 20px;
    background: var(--lcars-violet-creme);
}

.lcars-spacer.color-1 { background: var(--lcars-african-violet); }
.lcars-spacer.color-2 { background: var(--lcars-butterscotch); }
.lcars-spacer.color-3 { background: var(--lcars-bluey); }

/* Bottom elbow piece */
.lcars-elbow-bottom {
    background: var(--lcars-bluey);
    height: 60px;
    border-radius: 0 0 0 var(--frame-corner-radius);
    position: relative;
}

.lcars-elbow-bottom::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 50%;
    background: var(--lcars-bg);
    border-radius: 0 0 0 var(--frame-inner-radius);
}

/* Main Content Area */
.lcars-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Top bar (header) */
.lcars-header {
    display: flex;
    align-items: stretch;
    height: var(--frame-top-height);
    gap: 3px;
}

.lcars-header-bar {
    background: var(--lcars-african-violet);
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.lcars-header-cap-left {
    width: 40px;
    background: var(--lcars-african-violet);
    border-radius: 0 0 0 var(--frame-inner-radius);
}

.lcars-header-cap-right {
    width: 80px;
    background: var(--lcars-african-violet);
    border-radius: 0 var(--frame-corner-radius) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lcars-title {
    color: var(--lcars-text-dark);
    font-size: var(--font-size-xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Content wrapper with decorative border */
.lcars-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--lcars-bg);
    border-left: 3px solid var(--lcars-violet-creme);
    border-right: 3px solid var(--lcars-bluey);
    padding: 20px;
    overflow-y: auto;
}

/* Footer bar */
.lcars-footer {
    display: flex;
    height: 40px;
    gap: 3px;
}

.lcars-footer-bar {
    flex: 1;
    background: linear-gradient(to right, var(--lcars-tomato), var(--lcars-bluey));
}

.lcars-footer-cap {
    width: 80px;
    background: var(--lcars-bluey);
    border-radius: 0 0 var(--frame-corner-radius) 0;
}

/* ============================================
   LCARS BUTTONS
   ============================================ */
.lcars-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: var(--lcars-orange);
    color: var(--lcars-text-dark);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: var(--button-radius);
    cursor: pointer;
    transition: filter 0.1s;
    min-height: var(--button-height);
}

.lcars-btn:hover {
    filter: brightness(115%);
    text-decoration: none;
}

.lcars-btn:active {
    filter: brightness(85%);
}

/* Button colors */
.lcars-btn.btn-violet { background: var(--lcars-african-violet); }
.lcars-btn.btn-blue { background: var(--lcars-bluey); }
.lcars-btn.btn-lilac { background: var(--lcars-lilac); }
.lcars-btn.btn-ice { background: var(--lcars-ice); }
.lcars-btn.btn-gold { background: var(--lcars-gold); }
.lcars-btn.btn-peach { background: var(--lcars-peach); }
.lcars-btn.btn-red { background: var(--lcars-tomato); }
.lcars-btn.btn-danger { background: var(--lcars-red-alert); color: var(--lcars-text); }
.lcars-btn.btn-success { background: var(--lcars-success); }

/* Small button */
.lcars-btn.btn-sm {
    padding: 6px 16px;
    font-size: var(--font-size-sm);
    min-height: 32px;
    border-radius: 16px;
}

/* Large button */
.lcars-btn.btn-lg {
    padding: 14px 32px;
    font-size: var(--font-size-lg);
    min-height: 56px;
    border-radius: 28px;
}

/* Pill button (left or right rounded) */
.lcars-btn.pill-left {
    border-radius: var(--button-radius) 4px 4px var(--button-radius);
}

.lcars-btn.pill-right {
    border-radius: 4px var(--button-radius) var(--button-radius) 4px;
}

/* ============================================
   LCARS PANELS
   ============================================ */
.lcars-panel {
    background: var(--lcars-panel-bg);
    border: 2px solid var(--lcars-butterscotch);
    border-radius: var(--frame-inner-radius);
    padding: 20px;
    margin-bottom: 15px;
}

.lcars-panel.panel-violet { border-color: var(--lcars-african-violet); }
.lcars-panel.panel-blue { border-color: var(--lcars-bluey); }
.lcars-panel.panel-orange { border-color: var(--lcars-orange); }
.lcars-panel.panel-red { border-color: var(--lcars-tomato); }
.lcars-panel.panel-ice { border-color: var(--lcars-ice); }

.lcars-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lcars-gray);
}

.lcars-panel-title {
    color: var(--lcars-butterscotch);
    font-size: var(--font-size-lg);
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
}

/* ============================================
   LCARS BAR (Text Header Bar)
   ============================================ */
.lcars-bar {
    display: flex;
    align-items: center;
    background: var(--lcars-african-violet);
    color: var(--lcars-text-dark);
    padding: 8px 20px;
    border-radius: 100vmax;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.lcars-bar.bar-orange { background: var(--lcars-orange); }
.lcars-bar.bar-blue { background: var(--lcars-bluey); }
.lcars-bar.bar-gold { background: var(--lcars-gold); }
.lcars-bar.bar-red { background: var(--lcars-tomato); }

/* Bar with caps */
.lcars-bar-capped {
    display: flex;
    align-items: stretch;
    height: var(--frame-bar-height);
    gap: 2px;
    margin-bottom: 15px;
}

.lcars-bar-capped .bar-cap {
    width: 40px;
    border-radius: 100vmax 0 0 100vmax;
    background: var(--lcars-tomato);
}

.lcars-bar-capped .bar-cap:last-child {
    border-radius: 0 100vmax 100vmax 0;
    background: var(--lcars-bluey);
}

.lcars-bar-capped .bar-content {
    flex: 1;
    background: var(--lcars-african-violet);
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--lcars-text-dark);
}

/* ============================================
   LCARS PILLS (Small Indicators)
   ============================================ */
.lcars-pills {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.lcars-pill {
    display: inline-block;
    padding: 4px 12px;
    background: var(--lcars-butterscotch);
    color: var(--lcars-text-dark);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 100vmax;
}

.lcars-pill.pill-violet { background: var(--lcars-african-violet); }
.lcars-pill.pill-blue { background: var(--lcars-bluey); }
.lcars-pill.pill-orange { background: var(--lcars-orange); }
.lcars-pill.pill-red { background: var(--lcars-tomato); }
.lcars-pill.pill-ice { background: var(--lcars-ice); }
.lcars-pill.pill-gold { background: var(--lcars-gold); }

/* ============================================
   LCARS DATA DISPLAY
   ============================================ */
.lcars-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--lcars-gray);
}

.lcars-stat-row:last-child {
    border-bottom: none;
}

.lcars-stat-label {
    color: var(--lcars-almond);
    text-transform: uppercase;
    font-size: var(--font-size-sm);
}

.lcars-stat-value {
    color: var(--lcars-ice);
    font-weight: 700;
    font-size: var(--font-size-base);
}

/* Resource display (Momentum, Threat, etc.) */
.lcars-resource {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--lcars-panel-bg);
    border-radius: 10px;
    margin-bottom: 10px;
}

.lcars-resource-label {
    text-transform: uppercase;
    font-size: var(--font-size-sm);
    color: var(--lcars-almond);
    min-width: 100px;
}

.lcars-resource-value {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    min-width: 60px;
    text-align: center;
}

.lcars-resource.resource-momentum .lcars-resource-value {
    color: var(--lcars-ice);
}

.lcars-resource.resource-threat .lcars-resource-value {
    color: var(--lcars-tomato);
}

/* ============================================
   LCARS PROGRESS BARS
   ============================================ */
.lcars-progress {
    height: 20px;
    background: var(--lcars-gray);
    border-radius: 10px;
    overflow: hidden;
    margin: 8px 0;
}

.lcars-progress-fill {
    height: 100%;
    background: var(--lcars-bluey);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.lcars-progress.progress-shields .lcars-progress-fill {
    background: var(--lcars-ice);
}

.lcars-progress.progress-danger .lcars-progress-fill {
    background: var(--lcars-tomato);
}

.lcars-progress.progress-warning .lcars-progress-fill {
    background: var(--lcars-gold);
}

/* ============================================
   LCARS FORMS
   ============================================ */
/* Global form element styling */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    background: #222;
    border: 2px solid var(--lcars-butterscotch);
    color: var(--lcars-text);
    padding: 10px 15px;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--lcars-ice);
    box-shadow: 0 0 10px rgba(153, 204, 255, 0.3);
}

.lcars-input,
.lcars-select {
    background: #222;
    border: 2px solid var(--lcars-butterscotch);
    color: var(--lcars-text);
    padding: 10px 15px;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    width: 100%;
}

.lcars-input:focus,
.lcars-select:focus {
    outline: none;
    border-color: var(--lcars-ice);
    box-shadow: 0 0 10px rgba(153, 204, 255, 0.3);
}

.lcars-label {
    display: block;
    color: var(--lcars-almond);
    text-transform: uppercase;
    font-size: var(--font-size-sm);
    margin-bottom: 6px;
}

.lcars-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.lcars-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--lcars-orange);
}

/* ============================================
   LCARS ALERTS
   ============================================ */
.lcars-alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.lcars-alert.alert-success {
    background: var(--lcars-success);
    color: var(--lcars-text-dark);
}

.lcars-alert.alert-warning {
    background: var(--lcars-warning);
    color: var(--lcars-text-dark);
}

.lcars-alert.alert-danger {
    background: var(--lcars-tomato);
    color: var(--lcars-text-dark);
}

.lcars-alert.alert-info {
    background: var(--lcars-ice);
    color: var(--lcars-text-dark);
}

/* ============================================
   LCARS GRID
   ============================================ */
.lcars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.lcars-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.lcars-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* ============================================
   LCARS DICE
   ============================================ */
.lcars-dice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-weight: 700;
    font-size: var(--font-size-lg);
    margin: 3px;
}

.lcars-dice.dice-success {
    background: var(--lcars-success);
    color: var(--lcars-text-dark);
}

.lcars-dice.dice-crit {
    background: var(--lcars-ice);
    color: var(--lcars-text-dark);
}

.lcars-dice.dice-fail {
    background: var(--lcars-gray);
    color: var(--lcars-text);
}

.lcars-dice.dice-complication {
    background: var(--lcars-tomato);
    color: var(--lcars-text-dark);
}

/* ============================================
   LCARS ANIMATIONS
   ============================================ */
@keyframes lcars-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.3; }
}

@keyframes lcars-pulse {
    0%, 100% { filter: brightness(100%); }
    50% { filter: brightness(70%); }
}

@keyframes lcars-pulse-fast {
    0%, 100% { filter: brightness(100%); }
    50% { filter: brightness(50%); }
}

.blink {
    animation: lcars-blink 1s infinite;
}

.blink-slow {
    animation: lcars-blink 2s infinite;
}

.pulse {
    animation: lcars-pulse 2s infinite;
}

.pulse-fast {
    animation: lcars-pulse-fast 0.5s infinite;
}

/* Data cascade animation (header decoration) */
@keyframes data-cascade {
    0%, 10% { color: transparent; }
    11%, 90% { color: var(--lcars-text); }
    91%, 100% { color: transparent; }
}

.data-cascade {
    display: flex;
    gap: 2px;
    font-size: var(--font-size-sm);
    font-family: monospace;
    overflow: hidden;
}

.data-cascade span {
    animation: data-cascade 3s infinite;
}

.data-cascade span:nth-child(1) { animation-delay: 0s; }
.data-cascade span:nth-child(2) { animation-delay: 0.1s; }
.data-cascade span:nth-child(3) { animation-delay: 0.2s; }
.data-cascade span:nth-child(4) { animation-delay: 0.3s; }
.data-cascade span:nth-child(5) { animation-delay: 0.4s; }
.data-cascade span:nth-child(6) { animation-delay: 0.5s; }
.data-cascade span:nth-child(7) { animation-delay: 0.6s; }

/* ============================================
   LCARS ACTION LIST
   ============================================ */
.lcars-action-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lcars-action-item {
    padding: 12px 15px;
    margin-bottom: 4px;
    background: #1a1a1a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    border-left: 4px solid transparent;
}

.lcars-action-item:hover {
    background: #252525;
    border-left-color: var(--lcars-orange);
}

.lcars-action-item.selected {
    background: rgba(153, 153, 255, 0.2);
    border: 2px solid var(--lcars-bluey);
    box-shadow: 0 0 10px rgba(153, 153, 255, 0.3);
}

.lcars-action-item .action-name {
    font-weight: 700;
    color: var(--lcars-text);
    margin-bottom: 4px;
}

.lcars-action-item .action-desc {
    font-size: var(--font-size-sm);
    color: var(--lcars-almond);
}

/* Status badges */
.lcars-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 8px;
    vertical-align: middle;
}

.lcars-badge.badge-done {
    background: var(--lcars-success);
    color: var(--lcars-text-dark);
}

.lcars-badge.badge-rft {
    background: var(--lcars-orange);
    color: var(--lcars-text-dark);
}

.lcars-badge.badge-todo {
    background: var(--lcars-gray);
    color: var(--lcars-text);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --frame-sidebar-width: 140px;
        --frame-top-height: 60px;
        --font-size-base: 1.1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --frame-sidebar-width: 100px;
        --frame-top-height: 50px;
        --font-size-base: 1rem;
    }

    .lcars-sidebar-btn {
        font-size: 0.7rem;
        padding: 6px 10px;
    }

    .lcars-grid-2,
    .lcars-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .lcars-sidebar {
        display: none;
    }

    .lcars-frame {
        padding: 5px;
    }

    .lcars-header-cap-left,
    .lcars-header-cap-right {
        display: none;
    }

    .lcars-header-bar {
        border-radius: 10px;
    }

    .lcars-content-wrapper {
        border-left: none;
        border-right: none;
        padding: 10px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-orange { color: var(--lcars-orange); }
.text-blue { color: var(--lcars-bluey); }
.text-violet { color: var(--lcars-african-violet); }
.text-red { color: var(--lcars-tomato); }
.text-ice { color: var(--lcars-ice); }
.text-gold { color: var(--lcars-gold); }
.text-success { color: var(--lcars-success); }
.text-muted { color: var(--lcars-gray); }

.bg-panel { background: var(--lcars-panel-bg); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.hidden { display: none !important; }
.visible { display: block !important; }
