* { box-sizing: border-box; }

:root {
    --brand-red: #f0102e;
    --brand-red-dark: #c40d25;
    --brand-black: #0a0a0a;
    --font-heading: 'Barlow Condensed', system-ui, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: #f7f7f7;
    color: #1a1a1a;
    -webkit-text-size-adjust: 100%;
}

.shared-koi-viewer {
    width: 100%;
}

.shared-koi-card {
    display: grid;
    grid-template-columns: minmax(8rem, 12rem) 1fr;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
}

.shared-koi-card img,
.shared-koi-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #e8e8e8;
}

.shared-koi-card .shared-koi-photo {
    cursor: zoom-in;
}

.shared-koi-placeholder {
    display: grid;
    place-items: center;
    color: #555;
    text-align: center;
}

.shared-koi-card dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.75rem;
}

.shared-koi-card dt {
    font-weight: 700;
}

.shared-koi-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}

.shared-koi-navigation button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

@media (max-width: 560px) {
    .shared-koi-card {
        grid-template-columns: 1fr;
    }

    .shared-koi-list-controls {
        grid-template-columns: minmax(12rem, 2fr) repeat(4, minmax(8rem, 1fr));
    }
}

.info-page {
    max-width: 52rem;
}

.info-page p {
    line-height: 1.6;
}

.info-section {
    margin: 0 0 2rem;
    padding: 1.25rem;
    background: white;
    border-radius: 0.5rem;
    border-left: 4px solid var(--brand-red);
}

.info-signature {
    white-space: pre-line;
    margin-top: 1.5rem;
}

.donation-section {
    border-left-color: #003087;
}

.paypal-logo {
    display: inline-block;
    margin-bottom: 1rem;
    color: #003087;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.08em;
}

.info-page a {
    overflow-wrap: anywhere;
}

.donation-qr {
    display: block;
    width: min(100%, 20rem);
    height: auto;
    margin-top: 1rem;
    image-rendering: pixelated;
}

h1, h2, h3, h4, .app-title {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--brand-black);
}

.app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-header {
    background: var(--brand-black);
    color: white;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 3px solid var(--brand-red);
    position: sticky;
    top: 0;
    z-index: 10;
}

.app-shell.environment-development .app-header {
    border-bottom-color: #2e9f4b;
}

.app-shell.environment-test .app-header {
    border-bottom-color: #f28c28;
}

.impersonation-banner {
    background: var(--brand-red);
    color: white;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 11;
}

.impersonation-banner .btn-secondary {
    background: white;
    color: var(--brand-red);
    border: none;
    padding: 0.25rem 0.6rem;
    font-size: 0.85rem;
}

.app-logo-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.app-logo {
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
}

.app-title {
    font-size: 1.15rem;
    color: white;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lang-switch {
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

.lang-switch:hover {
    background: white;
    color: var(--brand-black);
}

.hamburger-btn {
    background: transparent;
    border: none;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.hamburger-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1.4rem;
    height: 1rem;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger-icon.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.app-main {
    flex: 1;
    padding: 1rem;
    padding-bottom: 1.5rem;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 90;
}

.nav-backdrop.open {
    display: block;
}

.app-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    background: white;
    border-left: 2px solid var(--brand-black);
    padding: 4.2rem 0 1rem;
    overflow-y: auto;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.app-nav.open {
    transform: translateX(0);
}

.app-nav a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #333;
    padding: 0.85rem 1.25rem;
}

.app-nav .nav-icon {
    font-size: 1.3rem;
    line-height: 1;
    width: 1.6rem;
    text-align: center;
}

.app-nav .nav-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.app-nav a.active {
    background: #fdecee;
    color: var(--brand-red);
}

@media (min-width: 641px) {
    .hamburger-btn {
        display: none;
    }

    .nav-backdrop {
        display: none !important;
    }

    .app-main {
        padding-bottom: 5.5rem;
    }

    .app-nav {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        height: auto;
        width: auto;
        max-width: none;
        flex-direction: row;
        border-left: none;
        border-top: 2px solid var(--brand-black);
        padding: 0.25rem 0;
        padding-bottom: calc(0.25rem + env(safe-area-inset-bottom));
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        transform: none;
    }

    .app-nav a {
        flex-direction: column;
        justify-content: center;
        gap: 0.15rem;
        flex: 1 1 0;
        min-width: 3.6rem;
        padding: 0.35rem 0.15rem;
        border-radius: 10px;
    }

    .app-nav .nav-icon {
        font-size: 1.25rem;
        width: auto;
    }

    .app-nav .nav-label {
        font-size: 0.62rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .app-nav a.active {
        background: transparent;
        color: var(--brand-red);
    }
}

.koi-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.koi-list-controls {
    display: grid;
    grid-template-columns: minmax(12rem, 2fr) repeat(4, minmax(8rem, 1fr));
    gap: 0.75rem;
    align-items: end;
    margin: 1rem 0;
    padding: 0.9rem;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 10px;
}

.koi-filter-panel {
    padding: 0.75rem;
}

.koi-filter-panel summary {
    font-size: 1rem;
}

.koi-filter-panel[open] summary {
    margin-bottom: 0;
}

.koi-list-controls .form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
}

.koi-list-controls label {
    display: flex;
    align-items: flex-end;
    min-height: 2.25rem;
    margin-bottom: 0.35rem;
    color: #555;
    font-size: 0.85rem;
    line-height: 1.2;
}

.koi-list-controls input,
.koi-list-controls select {
    width: 100%;
    height: 2.75rem;
    min-width: 0;
    padding: 0.55rem 0.7rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
    color: inherit;
    font: inherit;
}

.koi-list-controls input:focus,
.koi-list-controls select:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 2px rgba(240, 16, 46, 0.15);
}

.koi-filter-empty {
    color: #666;
    margin: 1rem 0;
}

.koi-card {
    background: white;
    border-radius: 10px;
    padding: 0.75rem;
    border: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 760px) {
    .koi-list-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .koi-list-controls .koi-search {
        grid-column: 1 / -1;
    }
}

.koi-thumb {
    width: 2.6rem;
    height: 3.6rem;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
    background: #f0f0f0;
}

.koi-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.pond-thumb {
    width: 4.2rem;
    height: 2.8rem;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
    background: #f0f0f0;
}

.pond-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.koi-card-info {
    min-width: 0;
    flex: 1;
}

.koi-card-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.koi-card-sub {
    color: #666;
    font-size: 0.9rem;
}

.water-analysis {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: #444;
    background: #f5f5f5;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
}

.koi-card-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: var(--brand-red);
    color: white;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.koi-card-static {
    cursor: default;
    justify-content: space-between;
}

.koi-card-actions {
    display: flex;
    gap: 0.3rem;
    flex-shrink: 0;
}

.icon-btn {
    border: none;
    background: transparent;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.4rem;
    border-radius: 8px;
    cursor: pointer;
}

.icon-btn:hover {
    background: #f0f0f0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    background: transparent;
    color: var(--brand-black);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    padding: 0.3rem 0;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.back-btn:hover {
    color: var(--brand-red);
}

.page-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.page-header-row h2 {
    margin: 0;
}

.fab-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--brand-red);
    color: var(--brand-red);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.fab-add-btn:hover {
    background: #fdecee;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.9rem;
}

.form-row label {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.3rem;
}

.form-row input, .form-row select, .form-row textarea {
    padding: 0.7rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 2px rgba(240, 16, 46, 0.15);
}

.form-row textarea[readonly] {
    background: #f5f5f5;
    color: #444;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    text-decoration: none;
    padding: 0.8rem 1.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 1rem;
    border-radius: 999px;
    border: 2px solid var(--brand-black);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    vertical-align: middle;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.button-row .btn-primary,
.button-row .btn-secondary {
    margin-right: 0;
    margin-bottom: 0;
}

.btn-primary {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
}

.btn-secondary {
    background: white;
    color: var(--brand-black);
}

.btn-secondary:hover {
    background: #f0f0f0;
}

.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.tab, .tab-active {
    flex: 1;
    padding: 0.7rem;
    text-align: center;
    border: 2px solid var(--brand-black);
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    cursor: pointer;
}

.tab {
    background: white;
    color: var(--brand-black);
}

.tab-active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: white;
}

.account-message {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #333;
}

.calc-result {
    margin-top: 1rem;
    padding: 1rem;
    background: #fdecee;
    border: 1px solid var(--brand-red);
    border-radius: 8px;
}

.calc-result .disclaimer {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.6rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.6rem;
}

.help-logo-row {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.help-logo {
    max-width: 220px;
    width: 100%;
    height: auto;
}

.help-section {
    margin-bottom: 1.4rem;
}

.help-section h3 {
    color: var(--brand-red);
    margin-bottom: 0.3rem;
}

.chart-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.chart-card {
    background: white;
    border-radius: 10px;
    padding: 0.75rem;
    border: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.chart-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
}

.mini-chart-svg {
    width: 100%;
    height: 90px;
    display: block;
}

.mini-chart-point {
    cursor: pointer;
}

.mini-chart-tooltip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: #f5f5f5;
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    margin-top: 0.4rem;
    font-size: 0.85rem;
}

.mini-chart-tooltip-close {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.85rem;
    color: #666;
    line-height: 1;
    padding: 0;
}

.mini-chart-axis,
.mini-chart-dates {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.2rem;
}

.mini-chart-empty {
    color: #999;
    font-size: 0.85rem;
    padding: 1.5rem 0;
    text-align: center;
}

.lifecycle-log {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lifecycle-log-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    border: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.lifecycle-log-info {
    flex: 1;
    min-width: 0;
}

.lifecycle-log-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.lifecycle-log-title {
    font-weight: 600;
}

.lifecycle-log-sub {
    color: #666;
    font-size: 0.9rem;
}

.pond-logbook-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.pond-logbook-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #f7f7f7;
    border: 1px solid #e7e7e7;
    text-decoration: none;
    color: var(--brand-black);
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.pond-logbook-action:hover {
    background: #fdecee;
    border-color: var(--brand-red);
    transform: translateY(-1px);
}

.admin-role-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-red);
    border: 1px solid var(--brand-red);
    border-radius: 6px;
    padding: 0.1rem 0.4rem;
    margin-left: 0.5rem;
}

.admin-blocked-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: var(--brand-red);
    border-radius: 6px;
    padding: 0.1rem 0.4rem;
    margin-left: 0.5rem;
}

.collapsible {
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    background: white;
}

.collapsible summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.collapsible summary::-webkit-details-marker {
    display: none;
}

.collapsible summary::after {
    content: '▸';
    font-size: 0.9rem;
    color: var(--brand-red);
    transition: transform 0.15s ease;
    margin-left: 0.5rem;
}

.collapsible[open] summary::after {
    transform: rotate(90deg);
}

.collapsible[open] summary {
    margin-bottom: 0.75rem;
}

.photo-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.photo-item {
    position: relative;
}

.photo-item img {
    width: 100%;
    border-radius: 8px;
    display: block;
    cursor: zoom-in;
}

.photo-delete-btn {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.photo-delete-btn:hover {
    background: rgba(200, 0, 0, 0.85);
}

.photo-measurement-badge {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    border-radius: 50%;
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 16, 46, 0.9);
    font-size: 0.9rem;
}

.photo-date {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-top: 0.25rem;
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.photo-lightbox img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    cursor: zoom-in;
}

.photo-lightbox img.zoomed {
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    cursor: zoom-out;
}

.photo-lightbox {
    overflow: auto;
}

.photo-lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.25rem;
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1001;
}

.photo-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.video-list {
    display: grid;
    gap: 1rem;
}

.video-item {
    padding: 0.75rem;
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(70vh, 34rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.video-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.video-fullscreen-btn {
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 2rem;
    height: 2rem;
    background: #fff;
    color: #333;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.video-fullscreen-btn:hover {
    background: #f3f3f3;
}

.video-delete-btn {
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 2rem;
    height: 2rem;
    background: #fff;
    color: #a40000;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.video-delete-btn:hover:not(:disabled) {
    background: #fff0f0;
}

.video-delete-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.loading-shell {
    padding: 2rem;
    text-align: center;
    color: #666;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.loading-logo {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

#blazor-error-ui {
    display: none;
    background: #fffae6;
    border-top: 1px solid #f2d600;
    padding: 0.8rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

@media (max-width: 380px) {
    .app-header {
        padding: 0.6rem 0.7rem;
    }

    .app-logo {
        height: 1.7rem;
        width: 1.7rem;
    }

    .app-title {
        font-size: 1rem;
    }

    .lang-switch {
        padding: 0.25rem 0.55rem;
        font-size: 0.75rem;
    }

    .app-nav {
        width: 85%;
    }
}
