/* ================================================================
   MATERIAL 3 EXPRESSIVE CSS (WebADB)
================================================================ */
:root {
    /* Color Palette - Dark Theme */
    --md-sys-color-background: #0F141A;
    --md-sys-color-on-background: #E1E2E8;
    
    --md-sys-color-surface: #111418;
    --md-sys-color-surface-container-lowest: #0C0F13;
    --md-sys-color-surface-container-low: #191C20;
    --md-sys-color-surface-container: #1D2024;
    --md-sys-color-surface-container-high: #272A2E;
    --md-sys-color-surface-container-highest: #323539;
    --md-sys-color-on-surface: #E1E2E8;
    --md-sys-color-on-surface-variant: #C4C6D0;
    
    --md-sys-color-primary: #A3C9FF;
    --md-sys-color-on-primary: #00315B;
    --md-sys-color-primary-container: #004881;
    --md-sys-color-on-primary-container: #D3E4FF;
    
    --md-sys-color-secondary: #BDC7DC;
    --md-sys-color-on-secondary: #273141;
    --md-sys-color-secondary-container: #3E4758;
    --md-sys-color-on-secondary-container: #D9E3F9;
    
    --md-sys-color-tertiary: #DEBCDF;
    --md-sys-color-on-tertiary: #402843;
    --md-sys-color-tertiary-container: #583E5B;
    --md-sys-color-on-tertiary-container: #FBD7FC;

    --md-sys-color-error: #FFB4AB;
    --md-sys-color-on-error: #690005;
    --md-sys-color-error-container: #93000A;
    --md-sys-color-on-error-container: #FFDAD6;

    --md-sys-color-warning: #FFB951;
    
    --md-sys-color-outline: #8E9099;
    --md-sys-color-outline-variant: #44474E;

    /* Typography */
    --md-sys-typescale-font: 'Roboto Flex', sans-serif;
    --md-sys-typescale-mono: 'JetBrains Mono', monospace;
    
    --radius-full: 9999px;
    --radius-large: 28px;
    --radius-medium: 16px;
    --radius-small: 8px;
    
    --elevation-1: 0 1px 3px rgba(0,0,0,0.3);
    --elevation-2: 0 4px 8px rgba(0,0,0,0.4);
    
    --tr-fast: 0.2s cubic-bezier(0.2, 0, 0, 1);
    --tr-std: 0.3s cubic-bezier(0.2, 0, 0, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background);
    font-family: var(--md-sys-typescale-font);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--md-sys-color-surface-container-highest); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--md-sys-color-outline-variant); }

/* Typography Utility Classes */
.m3-display-large { font-size: 3.5rem; line-height: 4rem; font-weight: 400; }
.m3-display-medium { font-size: 2.8125rem; line-height: 3.25rem; font-weight: 400; }
.m3-display-small { font-size: 2.25rem; line-height: 2.75rem; font-weight: 400; }
.m3-headline-medium { font-size: 1.75rem; line-height: 2.25rem; font-weight: 400; }
.m3-title-large { font-size: 1.375rem; line-height: 1.75rem; font-weight: 500; }
.m3-title-medium { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.m3-body-large { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.m3-body-medium { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.m3-body-small { font-size: 0.75rem; line-height: 1rem; font-weight: 400; }
.m3-label-large { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.m3-label-medium { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.m3-label-small { font-size: 0.6875rem; line-height: 1rem; font-weight: 500; letter-spacing: 0.5px; }

.m3-mono { font-family: var(--md-sys-typescale-mono); }
.m3-muted { color: var(--md-sys-color-on-surface-variant); }
.m3-primary-text { color: var(--md-sys-color-primary); }
.m3-secondary-text { color: var(--md-sys-color-secondary); }
.m3-tertiary-text { color: var(--md-sys-color-tertiary); }
.m3-warning-text { color: var(--md-sys-color-warning); }
.m3-on-primary-container-text { color: var(--md-sys-color-on-primary-container); }

.hidden { display: none !important; }

/* ================================================================
   TOP APP BAR
================================================================ */
.m3-app-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: rgba(17, 20, 24, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 12px;
    margin: 12px 2rem 0;
    z-index: 10;
    border-radius: 20px;
    border: 1px solid var(--md-sys-color-outline-variant);
    box-shadow: var(--elevation-2);
    transition: all var(--tr-std);
}

@media (max-width: 768px) {
    .m3-app-bar {
        margin: 8px 8px 0;
        padding: 0.6rem 1rem;
        border-radius: 16px;
    }
}

.m3-app-bar-leading { display: flex; align-items: center; gap: 1rem; }

.logo-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--md-sys-color-primary), var(--md-sys-color-tertiary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 0 16px rgba(163, 201, 255, 0.3);
    animation: floatingLogo 4s ease-in-out infinite;
}

@keyframes floatingLogo {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.05); }
}

.m3-app-bar-trailing { display: flex; align-items: center; gap: 1rem; }

/* Status Indicator */
.m3-status-indicator {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--md-sys-color-surface-container-highest);
    border-radius: var(--radius-full);
}
.m3-status-indicator button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 0.7rem;
    cursor: pointer;
    margin-left: 0.25rem;
    padding: 0;
    transition: background-color var(--tr-fast), color var(--tr-fast);
}
.m3-status-indicator button:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--md-sys-color-error);
}
.m3-status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background-color: var(--md-sys-color-error);
    transition: background-color var(--tr-std);
}
.m3-status-dot.connected { background-color: #A8EAB7; }

/* ================================================================
   BUTTONS & CHIPS
================================================================ */
.m3-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    border: none; cursor: pointer;
    font-family: var(--md-sys-typescale-font);
    font-weight: 500; font-size: 0.875rem;
    height: 40px; padding: 0 1.5rem;
    border-radius: var(--radius-full);
    transition: background-color var(--tr-fast), color var(--tr-fast), opacity var(--tr-fast);
}
.m3-btn:disabled { opacity: 0.38; cursor: not-allowed; pointer-events: none; }
.m3-btn-filled { background-color: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }
.m3-btn-filled:hover { background-color: #D3E4FF; } /* state layer approximation */
.m3-btn-tonal { background-color: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }
.m3-btn-tonal:hover { background-color: #4A5364; }
.m3-btn-error-tonal { background-color: var(--md-sys-color-error-container); color: var(--md-sys-color-on-error-container); }
.m3-btn-error-tonal:hover { background-color: #A80A15; }
.m3-btn-large { height: 56px; font-size: 1rem; padding: 0 2rem; border-radius: 28px; }

.m3-icon-btn {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: none; cursor: pointer;
    background: transparent; color: var(--md-sys-color-on-surface-variant);
    font-size: 1.25rem; transition: background-color var(--tr-fast);
}
.m3-icon-btn:hover { background-color: var(--md-sys-color-surface-container-highest); }
.m3-icon-btn:disabled { opacity: 0.38; cursor: not-allowed; }

.m3-assist-chip {
    display: inline-flex; align-items: center; height: 32px; padding: 0 1rem;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 8px; /* Expressive often uses slightly rounded chips or fully rounded. Let's go rounded */
    border-radius: var(--radius-full);
    font-size: 0.875rem; font-weight: 500;
}
.m3-filter-chip {
    display: inline-flex; align-items: center; height: 32px; padding: 0 1rem;
    background-color: var(--md-sys-color-secondary-container);
    color: var(--md-sys-color-on-secondary-container);
    border-radius: var(--radius-small);
    font-size: 0.875rem; font-weight: 500;
}

.m3-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background-color: var(--md-sys-color-error); color: var(--md-sys-color-on-error);
    height: 24px; min-width: 24px; border-radius: 12px; padding: 0 6px;
    font-size: 0.75rem; font-weight: 500;
}

/* ================================================================
   VIEWS & LAYOUT
================================================================ */
.m3-view { padding: 2rem; max-width: 1600px; margin: 0 auto; }
.m3-view:not(.active) { display: none; }

.m3-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    grid-auto-flow: dense;
}
.m3-span-4 { grid-column: span 4; }
.m3-span-2 { grid-column: span 2; }
.m3-span-1 { grid-column: span 1; }

@media (max-width: 1200px) {
    .m3-dashboard { grid-template-columns: repeat(2, 1fr); }
    .m3-span-4 { grid-column: span 2; }
    .m3-span-2 { grid-column: span 2; }
    .m3-span-1 { grid-column: span 1; }
}
@media (max-width: 768px) {
    .m3-dashboard { grid-template-columns: 1fr; }
    .m3-span-4, .m3-span-2, .m3-span-1 { grid-column: span 1; }
    .m3-view { padding: 1rem; }
}

/* ================================================================
   CARDS
================================================================ */
.m3-card {
    background-color: var(--md-sys-color-surface-container-low);
    border-radius: var(--radius-large);
    padding: 1.5rem;
    display: flex; flex-direction: column; gap: 1rem;
    box-shadow: var(--elevation-1);
    transition: box-shadow var(--tr-std), background-color var(--tr-std);
}
.m3-card:hover { box-shadow: var(--elevation-2); background-color: var(--md-sys-color-surface-container); }
.m3-card-primary-container {
    background-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}
.m3-card-primary-container:hover { background-color: var(--md-sys-color-primary-container); filter: brightness(1.1); }

.m3-card-header-row {
    display: flex; justify-content: space-between; align-items: center;
}
.m3-card-icon-title { display: flex; align-items: center; gap: 0.75rem; }
.m3-card-icon { font-size: 1.5rem; }

/* Info Table Pattern */
.m3-info-table { display: flex; flex-direction: column; gap: 0.5rem; }
.m3-info-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.5rem 0; border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.m3-info-row:last-child { border-bottom: none; }

/* ================================================================
   DISCONNECTED VIEW
================================================================ */
.m3-connect-scaffold {
    max-width: 600px; margin: 2rem auto;
    display: flex; flex-direction: column; align-items: center; gap: 2rem;
    text-align: center;
}
.hero-icon-ring {
    font-size: 4rem; width: 120px; height: 120px;
    background-color: var(--md-sys-color-surface-container-high);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.m3-setup-card {
    background-color: var(--md-sys-color-surface-container);
    border-radius: var(--radius-medium); padding: 1.5rem; text-align: left; width: 100%;
}
.setup-title { color: var(--md-sys-color-primary); margin-bottom: 1rem; }
.setup-steps { display: flex; flex-direction: column; gap: 1rem; }
.setup-step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
    background-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 0.875rem; flex-shrink: 0;
}
.setup-step p { color: var(--md-sys-color-on-surface-variant); font-size: 0.875rem; line-height: 1.4; }
.setup-step code { background: var(--md-sys-color-surface-container-highest); padding: 2px 6px; border-radius: 4px; font-family: var(--md-sys-typescale-mono); }
.m3-error-banner {
    background-color: var(--md-sys-color-error-container); color: var(--md-sys-color-on-error-container);
    padding: 1rem; border-radius: var(--radius-small); display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left;
}

/* ================================================================
   DASHBOARD COMPONENTS
================================================================ */

/* Battery Hero */
.m3-battery-hero {
    display: flex;
    flex-direction: row; align-items: center; gap: 1.5rem; padding: 1.25rem;
}
.battery-gauge-col { flex: 0 0 130px; display: flex; justify-content: center; align-items: center; }
.battery-info-col { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; min-width: 0; }
.battery-gauge-wrap { position: relative; width: 110px; height: 110px; }
.battery-svg { width: 100%; height: 100%; }
.gauge-track { stroke: rgba(255,255,255,0.1); stroke-width: 18; }
.gauge-fill {
    stroke: var(--md-sys-color-primary); stroke-width: 18; stroke-linecap: round;
    transition: stroke-dashoffset 1s cubic-bezier(0.2,0,0,1), stroke 0.5s;
}
.battery-center {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.battery-center #battery-pct {
    font-size: 1.75rem; font-weight: 700; line-height: 1;
}
.battery-center .m3-label-medium {
    font-size: 0.65rem; margin-top: 2px;
}
.battery-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.25rem; }
.battery-header h2 { font-size: 1.35rem; font-weight: 500; }
.battery-header .m3-assist-chip { border: none; background-color: rgba(255, 255, 255, 0.08); }
.battery-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.m3-stat { display: flex; flex-direction: column; gap: 0.1rem; }
.m3-stat span.m3-title-large { font-size: 1.15rem; font-weight: 600; }
.m3-stat span.m3-label-medium { font-size: 0.7rem; }
@media(max-width: 768px) {
    .m3-battery-hero { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
    .battery-gauge-col { flex: none; }
    .battery-info-col { align-items: center; }
    .battery-header { justify-content: center; gap: 0.75rem; }
    .battery-stats { grid-template-columns: repeat(2, 1fr); gap: 0.75rem 1.5rem; max-width: 280px; margin: 0 auto; }
    .m3-stat { align-items: center; }
}

/* Network Signal Display */
.m3-signal-display {
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    background-color: var(--md-sys-color-surface-container-highest);
    padding: 1.5rem; border-radius: var(--radius-medium);
}
.m3-signal-bars { display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.sbar {
    width: 12px; background-color: var(--md-sys-color-outline-variant); border-radius: 2px 2px 0 0;
    transition: background-color var(--tr-std);
}
.sbar[data-idx="0"] { height: 20%; }
.sbar[data-idx="1"] { height: 40%; }
.sbar[data-idx="2"] { height: 60%; }
.sbar[data-idx="3"] { height: 80%; }
.sbar[data-idx="4"] { height: 100%; }
.sbar.active { background-color: var(--md-sys-color-primary); }

/* Screen Preview */
.m3-screen-preview-wrap { display: flex; justify-content: center; padding: 1rem 0; }
.m3-phone-frame {
    width: 120px; height: 240px;
    background-color: var(--md-sys-color-surface-container-highest);
    border: 4px solid var(--md-sys-color-outline-variant);
    border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.m3-screenshot-placeholder { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.m3-phone-frame img { width: 100%; height: 100%; object-fit: contain; cursor: pointer; background-color: #000; }

/* Linear Progress (Storage / RAM) */
.m3-storage-section { display: flex; flex-direction: column; gap: 0.5rem; }
.m3-progress-header, .m3-progress-footer { display: flex; justify-content: space-between; align-items: center; }
.m3-linear-progress {
    height: 8px; background-color: var(--md-sys-color-surface-container-highest);
    border-radius: var(--radius-full); overflow: hidden;
}
.m3-lp-tall { height: 16px; }
.m3-linear-fill {
    height: 100%; background-color: var(--md-sys-color-primary);
    transition: width 0.8s cubic-bezier(0.2,0,0,1);
}
.m3-linear-tertiary { background-color: var(--md-sys-color-tertiary); }

/* Memory Layout */
.m3-memory-layout { display: flex; gap: 1.5rem; align-items: center; }
.m3-ram-display {
    flex: 0 0 120px; height: 120px; border-radius: 50%;
    background-color: var(--md-sys-color-surface-container-highest);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.m3-ram-progress-col { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.m3-ram-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.m3-ram-stat { display: flex; flex-direction: column; }

/* Notifications */
.notif-horizontal-list {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    overflow-x: auto;
    flex: 1;
    scrollbar-width: none;
    align-items: center;
}
.notif-horizontal-list::-webkit-scrollbar {
    display: none;
}
.m3-notif-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.6rem;
    background-color: var(--md-sys-color-surface-container-highest);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    max-width: 260px;
    height: 34px;
    transition: background-color var(--tr-fast), transform var(--tr-fast);
    cursor: pointer;
}
.m3-notif-item:hover {
    background-color: var(--md-sys-color-outline-variant);
    transform: translateY(-1px);
}
.notif-icon-box {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--md-sys-color-secondary-container);
    color: var(--md-sys-color-on-secondary-container);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.6rem;
    flex-shrink: 0;
    overflow: hidden;
}
.notif-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    overflow: hidden;
}
.notif-content strong {
    color: var(--md-sys-color-on-surface);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
    flex-shrink: 0;
}
.notif-content p {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}
.notif-meta {
    display: none;
}

/* Console */
.m3-console-output {
    background-color: var(--md-sys-color-surface-container-highest);
    color: #A8EAB7; /* classic terminal green tinted */
    font-family: var(--md-sys-typescale-mono); font-size: 0.875rem;
    padding: 1rem; border-radius: var(--radius-medium);
    height: 200px; overflow-y: auto; white-space: pre-wrap; word-break: break-all;
}
.m3-console-input-row {
    display: flex; align-items: center; gap: 0.5rem;
    background-color: var(--md-sys-color-surface-container-highest);
    padding: 0.5rem 0.5rem 0.5rem 1rem; border-radius: var(--radius-full);
}
.m3-prompt { font-family: var(--md-sys-typescale-mono); color: var(--md-sys-color-primary); font-weight: 500; }
.m3-console-input {
    flex: 1; background: transparent; border: none; outline: none;
    color: var(--md-sys-color-on-surface); font-family: var(--md-sys-typescale-mono); font-size: 0.875rem;
}
.m3-console-input::placeholder { color: var(--md-sys-color-outline); }

/* Media Card (Now Playing) */
.m3-media-card {
    position: relative;
    overflow: hidden;
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem;
}
.m3-media-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(32px) brightness(0.35) saturate(1.4);
    opacity: 0.8;
    z-index: 0;
    transition: background-image 0.6s ease;
}
.m3-media-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
}
.media-art-wrap {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--elevation-2);
    flex-shrink: 0;
    background-color: var(--md-sys-color-surface-container-highest);
}
.media-art-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}
.media-source-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#media-title {
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
#media-artist {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Network Card Layout */
.m3-network-body {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    width: 100%;
}
.m3-network-subcol {
    flex: 1;
    min-width: 0;
}
@media (max-width: 768px) {
    .m3-network-body {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
}

/* Modal overlay */
.m3-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}
.m3-modal.active {
    opacity: 1;
    pointer-events: auto;
}
/* Modal container */
.m3-modal-content {
    background-color: var(--md-sys-color-surface-container);
    border-radius: var(--radius-large);
    border: 1px solid var(--md-sys-color-outline-variant);
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--elevation-2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.m3-modal.active .m3-modal-content {
    transform: scale(1);
}
.m3-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem 0.75rem;
}
.m3-modal-body {
    padding: 0.5rem 1.5rem 1rem;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    margin: 0 1.5rem;
    border-radius: var(--radius-medium);
}
.m3-modal-body img {
    max-width: 100%;
    max-height: 55vh;
    object-fit: contain;
    border-radius: 8px;
}
.m3-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.5rem 1.25rem;
}
