/* ============================================================
   ASED Académie - app.css
   Identité : noir premium, or, bleu glacé, blanc
   Mobile-first PWA
   ============================================================ */

:root {
    --ased-black: #050505;
    --ased-black-soft: #101014;
    --ased-card: #15151b;
    --ased-card-2: #1c1c24;
    --ased-gold: #d8b15f;
    --ased-gold-soft: #f1d58a;
    --ased-blue: #72d9ff;
    --ased-white: #ffffff;
    --ased-muted: #b7b7c3;
    --ased-muted-2: #858596;
    --ased-border: rgba(255, 255, 255, 0.1);
    --ased-danger: #ff5f6d;
    --ased-success: #3ddc97;
    --ased-warning: #ffcc66;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;

    --shadow-card: 0 18px 45px rgba(0, 0, 0, 0.32);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.24);

    --bottom-nav-height: 78px;
    --topbar-height: 74px;
}

/* ============================================================
   Reset / base
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--ased-black);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top left, rgba(114, 217, 255, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(216, 177, 95, 0.17), transparent 38%),
        linear-gradient(180deg, #050505 0%, #0b0b10 42%, #050505 100%);
    color: var(--ased-white);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.app-shell {
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015)),
        rgba(5, 5, 5, 0.92);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.65);
}

.app-main {
    min-height: calc(100vh - var(--topbar-height));
    padding: 18px 16px calc(var(--bottom-nav-height) + 34px);
}

/* ============================================================
   Topbar
   ============================================================ */

.topbar {
    min-height: var(--topbar-height);
    padding: max(12px, env(safe-area-inset-top)) 14px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 5, 5, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--ased-border);
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-logo-wrap {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background:
        radial-gradient(circle at 30% 20%, rgba(216,177,95,0.35), transparent 45%),
        #0f0f13;
    border: 1px solid rgba(216, 177, 95, 0.35);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(216, 177, 95, 0.13);
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-text strong {
    font-size: 15px;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-text small {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.1;
    color: var(--ased-gold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-action {
    flex: 0 0 auto;
    padding: 10px 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ased-gold), var(--ased-gold-soft));
    color: #111;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(216, 177, 95, 0.22);
}

/* ============================================================
   Bottom nav
   ============================================================ */

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 80;
    width: 100%;
    max-width: 520px;
    min-height: var(--bottom-nav-height);
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    background: rgba(7, 7, 9, 0.94);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--ased-border);
}

.bottom-nav-item {
    min-width: 0;
    border-radius: 18px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--ased-muted);
    font-size: 10.5px;
    font-weight: 700;
    transition: 0.18s ease;
}

.bottom-nav-icon {
    font-size: 19px;
    line-height: 1;
}

.bottom-nav-item.active {
    color: var(--ased-gold-soft);
    background: rgba(216, 177, 95, 0.12);
    border: 1px solid rgba(216, 177, 95, 0.18);
}

.bottom-nav-primary {
    background: linear-gradient(135deg, rgba(216, 177, 95, 0.95), rgba(241, 213, 138, 0.98));
    color: #111;
    box-shadow: 0 10px 24px rgba(216, 177, 95, 0.2);
}

.bottom-nav-primary.active {
    color: #111;
    background: linear-gradient(135deg, var(--ased-gold), var(--ased-gold-soft));
}

/* ============================================================
   Layout sections
   ============================================================ */

.section {
    margin: 18px 0;
}

.section-tight {
    margin: 12px 0;
}

.section-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-subtitle {
    margin: 0 0 18px;
    color: var(--ased-muted);
    font-size: 14px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(216, 177, 95, 0.1);
    border: 1px solid rgba(216, 177, 95, 0.2);
    color: var(--ased-gold-soft);
    font-size: 12px;
    font-weight: 800;
}

.kicker-blue {
    background: rgba(114, 217, 255, 0.1);
    border-color: rgba(114, 217, 255, 0.22);
    color: var(--ased-blue);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
    margin-top: 8px;
    padding: 24px 18px 20px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(216, 177, 95, 0.18), transparent 42%),
        radial-gradient(circle at bottom left, rgba(114, 217, 255, 0.14), transparent 46%),
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    border: 1px solid var(--ased-border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -65px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(216, 177, 95, 0.08);
    border: 1px solid rgba(216, 177, 95, 0.13);
}

.hero-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-bottom: 14px;
    filter: drop-shadow(0 14px 28px rgba(0,0,0,0.35));
}

.hero-title {
    margin: 0;
    font-size: 34px;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-fullname {
    margin: 8px 0 0;
    color: var(--ased-gold-soft);
    font-weight: 800;
    font-size: 14px;
}

.hero-slogan {
    margin: 14px 0 0;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.18;
}

.hero-text {
    margin: 13px 0 0;
    color: var(--ased-muted);
    font-size: 14px;
}

.hero-actions,
.action-row {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 390px) {
    .hero-actions,
    .action-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
    width: 100%;
    min-height: 48px;
    padding: 13px 15px;
    border-radius: 18px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    font-weight: 850;
    font-size: 14px;
    transition: transform 0.16s ease, opacity 0.16s ease, border 0.16s ease;
}

.btn:active {
    transform: scale(0.985);
}

.btn-primary {
    background: linear-gradient(135deg, var(--ased-gold), var(--ased-gold-soft));
    color: #111;
    box-shadow: 0 14px 26px rgba(216, 177, 95, 0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--ased-white);
    border-color: var(--ased-border);
}

.btn-blue {
    background: linear-gradient(135deg, rgba(114, 217, 255, 0.95), rgba(193, 240, 255, 0.98));
    color: #051018;
    box-shadow: 0 14px 26px rgba(114, 217, 255, 0.14);
}

.btn-danger {
    background: rgba(255, 95, 109, 0.14);
    border-color: rgba(255, 95, 109, 0.28);
    color: #ffd2d6;
}

.btn-small {
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 14px;
    font-size: 12px;
}

/* ============================================================
   Cards / grids
   ============================================================ */

.card {
    border-radius: var(--radius-lg);
    padding: 17px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035)),
        var(--ased-card);
    border: 1px solid var(--ased-border);
    box-shadow: var(--shadow-soft);
}

.card + .card {
    margin-top: 12px;
}

.card-gold {
    background:
        radial-gradient(circle at top right, rgba(216,177,95,0.19), transparent 45%),
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035)),
        var(--ased-card);
    border-color: rgba(216, 177, 95, 0.22);
}

.card-blue {
    background:
        radial-gradient(circle at top right, rgba(114,217,255,0.17), transparent 45%),
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035)),
        var(--ased-card);
    border-color: rgba(114, 217, 255, 0.22);
}

.card h2,
.card h3 {
    margin-top: 0;
}

.card h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.card p {
    color: var(--ased-muted);
}

.card p:last-child {
    margin-bottom: 0;
}

.grid {
    display: grid;
    gap: 12px;
}

.grid-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 430px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.pillar-card {
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(216, 177, 95, 0.12);
    border: 1px solid rgba(216, 177, 95, 0.18);
    font-size: 22px;
    margin-bottom: 10px;
}

/* ============================================================
   Stats / badges
   ============================================================ */

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 14px 0;
}

.stat-card {
    border-radius: 18px;
    padding: 12px 10px;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--ased-border);
    text-align: center;
}

.stat-value {
    display: block;
    color: var(--ased-gold-soft);
    font-size: 21px;
    font-weight: 900;
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 6px;
    color: var(--ased-muted);
    font-size: 10.5px;
    font-weight: 700;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--ased-border);
    color: var(--ased-muted);
}

.badge-gold {
    background: rgba(216,177,95,0.12);
    border-color: rgba(216,177,95,0.22);
    color: var(--ased-gold-soft);
}

.badge-blue {
    background: rgba(114,217,255,0.1);
    border-color: rgba(114,217,255,0.22);
    color: var(--ased-blue);
}

.badge-success {
    background: rgba(61,220,151,0.12);
    border-color: rgba(61,220,151,0.22);
    color: #bdf8df;
}

.badge-danger {
    background: rgba(255,95,109,0.13);
    border-color: rgba(255,95,109,0.25);
    color: #ffd1d6;
}

/* ============================================================
   Lists
   ============================================================ */

.clean-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.clean-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--ased-muted);
    font-size: 14px;
}

.clean-list li::before {
    content: "✓";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    background: rgba(216,177,95,0.13);
    color: var(--ased-gold-soft);
    font-size: 12px;
    font-weight: 900;
}

.link-list {
    display: grid;
    gap: 10px;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--ased-border);
}

.link-card strong {
    display: block;
    font-size: 15px;
}

.link-card span {
    display: block;
    margin-top: 3px;
    color: var(--ased-muted);
    font-size: 12px;
}

.link-card .arrow {
    color: var(--ased-gold-soft);
    font-size: 22px;
}

/* ============================================================
   Prices
   ============================================================ */

.price-card {
    position: relative;
    overflow: hidden;
}

.price-card.featured {
    border-color: rgba(216, 177, 95, 0.36);
    background:
        radial-gradient(circle at top right, rgba(216,177,95,0.2), transparent 43%),
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)),
        var(--ased-card);
}

.price-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.price-name {
    margin: 0;
    font-size: 19px;
}

.price-amount {
    margin: 12px 0 4px;
    color: var(--ased-gold-soft);
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.price-note {
    color: var(--ased-muted-2);
    font-size: 12px;
}

/* ============================================================
   Forms
   ============================================================ */

.form {
    display: grid;
    gap: 13px;
}

.form-section {
    margin-top: 18px;
}

.form-title {
    margin: 0 0 10px;
    color: var(--ased-gold-soft);
    font-size: 15px;
}

.form-row {
    display: grid;
    gap: 12px;
}

@media (min-width: 430px) {
    .form-row.two {
        grid-template-columns: 1fr 1fr;
    }
}

.field {
    display: grid;
    gap: 7px;
}

.field label {
    color: var(--ased-white);
    font-size: 13px;
    font-weight: 800;
}

.field small {
    color: var(--ased-muted-2);
    font-size: 12px;
}

.input,
.select,
.textarea {
    width: 100%;
    border: 1px solid var(--ased-border);
    border-radius: 18px;
    background: rgba(255,255,255,0.07);
    color: var(--ased-white);
    outline: none;
    padding: 13px 14px;
    transition: border 0.16s ease, background 0.16s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: rgba(216,177,95,0.55);
    background: rgba(255,255,255,0.09);
}

.select option {
    color: #111;
}

.textarea {
    min-height: 110px;
    resize: vertical;
}

.checkbox-row,
.radio-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 13px;
    border-radius: 18px;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--ased-border);
}

.checkbox-row input,
.radio-row input {
    margin-top: 3px;
    accent-color: var(--ased-gold);
}

.checkbox-row strong,
.radio-row strong {
    display: block;
    font-size: 13px;
}

.checkbox-row span,
.radio-row span {
    display: block;
    margin-top: 2px;
    color: var(--ased-muted);
    font-size: 12px;
}

/* ============================================================
   Alerts
   ============================================================ */

.alert {
    margin: 0 0 12px;
    padding: 13px 14px;
    border-radius: 18px;
    border: 1px solid var(--ased-border);
    color: var(--ased-white);
    font-size: 13px;
    font-weight: 700;
}

.alert-success {
    background: rgba(61,220,151,0.13);
    border-color: rgba(61,220,151,0.22);
}

.alert-error,
.alert-danger {
    background: rgba(255,95,109,0.13);
    border-color: rgba(255,95,109,0.25);
}

.alert-warning {
    background: rgba(255,204,102,0.13);
    border-color: rgba(255,204,102,0.24);
}

.alert-info {
    background: rgba(114,217,255,0.1);
    border-color: rgba(114,217,255,0.22);
}

/* ============================================================
   Tables / admin mobile
   ============================================================ */

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid var(--ased-border);
    background: rgba(255,255,255,0.04);
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid var(--ased-border);
    text-align: left;
    font-size: 13px;
}

.table th {
    color: var(--ased-gold-soft);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(0,0,0,0.2);
}

.table td {
    color: var(--ased-muted);
}

.table tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   Calendar / session cards
   ============================================================ */

.session-card {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 13px;
    align-items: stretch;
}

.session-date-box {
    border-radius: 18px;
    background: rgba(216,177,95,0.13);
    border: 1px solid rgba(216,177,95,0.2);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 10px 5px;
}

.session-date-box strong {
    font-size: 20px;
    line-height: 1;
    color: var(--ased-gold-soft);
}

.session-date-box span {
    margin-top: 3px;
    color: var(--ased-muted);
    font-size: 10px;
    font-weight: 800;
}

.session-info h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.session-info p {
    margin: 0;
    font-size: 13px;
}

/* ============================================================
   Auth / dashboard
   ============================================================ */

.dashboard-grid {
    display: grid;
    gap: 12px;
}

.dashboard-card {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dashboard-card .big {
    font-size: 28px;
    font-weight: 950;
    color: var(--ased-gold-soft);
    line-height: 1;
}

/* ============================================================
   Footer
   ============================================================ */

.app-footer {
    padding: 8px 16px calc(var(--bottom-nav-height) + 22px);
}

.footer-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.045);
    border: 1px solid var(--ased-border);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.footer-brand strong {
    display: block;
    font-size: 14px;
}

.footer-brand span {
    display: block;
    color: var(--ased-gold);
    font-size: 11px;
    margin-top: 2px;
}

.footer-slogan {
    margin: 14px 0 12px;
    color: var(--ased-white);
    font-weight: 850;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-links a {
    color: var(--ased-muted);
    font-size: 12px;
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--ased-border);
}

.footer-copy {
    margin: 14px 0 0;
    color: var(--ased-muted-2);
    font-size: 11px;
}

/* ============================================================
   Utility
   ============================================================ */

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 14px !important; }
.mt-3 { margin-top: 22px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 14px !important; }
.mb-3 { margin-bottom: 22px !important; }

.text-muted {
    color: var(--ased-muted) !important;
}

.text-gold {
    color: var(--ased-gold-soft) !important;
}

.text-blue {
    color: var(--ased-blue) !important;
}

.center {
    text-align: center;
}

.hide {
    display: none !important;
}

.divider {
    height: 1px;
    background: var(--ased-border);
    margin: 16px 0;
}

.page-header {
    margin: 8px 0 18px;
}

.page-header h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.page-header p {
    margin: 8px 0 0;
    color: var(--ased-muted);
    font-size: 14px;
}

.empty-state {
    padding: 24px 16px;
    text-align: center;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.045);
    border: 1px dashed rgba(255,255,255,0.18);
}

.empty-state strong {
    display: block;
    font-size: 16px;
}

.empty-state p {
    color: var(--ased-muted);
    margin-bottom: 0;
}

/* ============================================================
   PWA install prompt
   ============================================================ */

.install-banner {
    display: none;
    margin: 12px 0;
    padding: 14px;
    border-radius: 20px;
    background: rgba(114,217,255,0.1);
    border: 1px solid rgba(114,217,255,0.22);
}

.install-banner.show {
    display: block;
}

.install-banner p {
    margin: 0 0 10px;
    color: var(--ased-muted);
    font-size: 13px;
}

/* ============================================================
   Desktop small enhancement
   ============================================================ */

@media (min-width: 760px) {
    body {
        padding: 18px 0;
    }

    .app-shell {
        border-radius: 34px;
        overflow: hidden;
        min-height: calc(100vh - 36px);
        border: 1px solid rgba(255,255,255,0.08);
    }

    .topbar {
        border-radius: 34px 34px 0 0;
    }

    .bottom-nav {
        border-radius: 24px 24px 0 0;
    }
}

/* Correction boutons header admin */
.topbar {
    gap: 10px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.topbar-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.1;
}

/* Mobile : éviter que les boutons se collent ou sortent */
@media (max-width: 520px) {
    .topbar {
        align-items: flex-start;
        gap: 8px;
    }

    .brand-text small {
        display: none;
    }

    .topbar-actions {
        max-width: 150px;
        gap: 6px;
    }

    .topbar-action {
        min-height: 30px;
        padding: 6px 10px;
        font-size: 11px;
    }
}
.pwa-install-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 76px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    background: #050505;
    color: #ffffff;
    border: 1px solid rgba(255, 204, 75, 0.7);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.pwa-install-banner[hidden] {
    display: none;
}

.pwa-install-banner div {
    flex: 1;
    min-width: 0;
}

.pwa-install-banner strong {
    display: block;
    font-size: 14px;
}

.pwa-install-banner span {
    display: block;
    font-size: 12px;
    opacity: 0.85;
}

.pwa-install-banner .btn {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .pwa-install-banner {
        align-items: stretch;
        flex-direction: column;
        bottom: 70px;
    }

    .pwa-install-banner .btn {
        width: 100%;
    }
}