/* ==================== TIVA CONTROL PANEL ==================== */

:root {
    --bg: #12060f;
    --bg-soft: #1c0b17;
    --panel: rgba(31, 12, 25, 0.88);
    --panel-strong: rgba(40, 15, 32, 0.96);
    --line: rgba(255, 184, 221, 0.18);
    --line-strong: rgba(255, 122, 200, 0.42);
    --pink: #ff7ac8;
    --pink-hot: #ff4d9f;
    --lavender: #b88cff;
    --candy: #ffb7dc;
    --blush: #ffe3f3;
    --text: #fff7fb;
    --muted: rgba(255, 247, 251, 0.62);
    --faint: rgba(255, 247, 251, 0.36);
    --danger: #ff5d7d;
    --success: #ff9ed6;
    --warning: #ffe3f3;
}

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

body {
    font-family: 'Quicksand', system-ui, sans-serif;
    background:
        linear-gradient(135deg, rgba(255, 122, 200, 0.08), transparent 28%),
        linear-gradient(225deg, rgba(255, 183, 220, 0.08), transparent 30%),
        linear-gradient(180deg, #170713 0%, #24101e 48%, #10060d 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* ==================== LOGIN PAGE ==================== */
.login-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.login-bg .bg-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 122, 200, 0.20), transparent 34%),
        linear-gradient(300deg, rgba(184, 140, 255, 0.20), transparent 35%),
        linear-gradient(180deg, #12060f 0%, #26101f 58%, #0e060c 100%);
    animation: silkShift 14s ease-in-out infinite alternate;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
    animation: gridDrift 18s linear infinite;
}

@keyframes silkShift {
    0% { filter: hue-rotate(0deg); transform: scale(1); }
    100% { filter: hue-rotate(10deg); transform: scale(1.03); }
}

@keyframes gridDrift {
    0% { background-position: 0 0; }
    100% { background-position: 56px 56px; }
}

.login-container {
    position: relative;
    z-index: 10;
    width: min(460px, calc(100vw - 32px));
    padding: 20px;
}

.login-card {
    position: relative;
    overflow: hidden;
    background: rgba(25, 8, 20, 0.9);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 38px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    animation: panelRise 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.login-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 42%, transparent 58%);
    transform: translateX(-130%);
    animation: softSheen 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes panelRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes softSheen {
    0%, 55% { transform: translateX(-130%); }
    100% { transform: translateX(130%); }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 122, 200, 0.16), rgba(255, 183, 220, 0.08));
    animation: floatMark 5s ease-in-out infinite;
}

.login-logo-img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34));
}

@keyframes floatMark {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.login-kicker {
    color: var(--blush);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.login-title {
    font-family: 'Baloo 2', cursive;
    font-size: 54px;
    line-height: 0.95;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0;
    text-shadow: 0 10px 34px rgba(255, 77, 159, 0.35);
}

.login-subtitle {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--muted);
    text-transform: uppercase;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label,
.form-group label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 20px;
    height: 20px;
    color: rgba(255, 122, 200, 0.72);
    transform: translateY(-50%);
    transition: color 180ms ease, transform 180ms ease;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.input-wrapper input::placeholder,
.form-group input::placeholder {
    color: var(--faint);
}

.input-wrapper input:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--pink);
    background: rgba(255, 255, 255, 0.085);
    box-shadow: 0 0 0 4px rgba(255, 122, 200, 0.1);
}

.input-wrapper:has(input:focus) .input-icon {
    color: var(--blush);
    transform: translateY(-50%) scale(1.05);
}

.error-message {
    min-height: 18px;
    color: var(--danger);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.login-btn,
.preview-btn,
.save-btn,
.timer-btn,
.overlay-url button {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 34px;
    margin-top: 8px;
    color: #16040f;
    background: linear-gradient(90deg, var(--blush), var(--pink), var(--lavender));
    border: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(255, 77, 159, 0.3);
}

.btn-text {
    color: #170713;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 3px;
}

.btn-icon svg {
    width: 22px;
    height: 22px;
    fill: #170713;
    transition: transform 180ms ease;
}

.login-btn:hover .btn-icon svg {
    transform: translateX(4px);
}

.login-footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.login-footer p {
    color: var(--faint);
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

/* ==================== ADMIN DASHBOARD ==================== */
.admin-page {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
    width: 250px;
    padding: 18px;
    overflow-y: auto;
    background: rgba(18, 6, 15, 0.96);
    border-right: 1px solid var(--line);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.sidebar-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
}

.sidebar-title {
    font-family: 'Baloo 2', cursive;
    font-size: 25px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0;
}

.sidebar-subtitle,
.nav-label {
    color: var(--faint);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.nav-section {
    margin-bottom: 22px;
}

.nav-label {
    margin: 0 0 9px 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    margin-bottom: 5px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-item:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.055);
    transform: translateX(2px);
}

.nav-item.active {
    color: var(--text);
    background: linear-gradient(90deg, rgba(255, 122, 200, 0.22), rgba(184, 140, 255, 0.12));
    border-color: var(--line-strong);
}

.nav-item svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.nav-item span {
    font-size: 14px;
    font-weight: 700;
}

.logout-btn {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    color: var(--danger);
    background: rgba(255, 93, 125, 0.08);
    border: 1px solid rgba(255, 93, 125, 0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.logout-btn:hover {
    background: rgba(255, 93, 125, 0.15);
    transform: translateY(-1px);
}

.logout-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.logout-btn span {
    font-size: 14px;
    font-weight: 800;
}

.admin-content {
    flex: 1;
    min-height: 100vh;
    margin-left: 250px;
    padding: 24px 24px 76px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.page-title {
    font-family: 'Baloo 2', cursive;
    color: var(--text);
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.page-title span {
    color: var(--pink);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.preview-btn,
.save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.6px;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.preview-btn {
    color: var(--pink);
    background: rgba(255, 255, 255, 0.05);
}

.save-btn {
    color: #170713;
    background: linear-gradient(90deg, var(--blush), var(--pink));
    border-color: transparent;
}

.preview-btn:hover,
.save-btn:hover,
.timer-btn:hover,
.overlay-url button:hover {
    transform: translateY(-2px);
}

.save-btn:hover {
    box-shadow: 0 14px 34px rgba(255, 77, 159, 0.25);
}

.preview-btn svg,
.save-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.panel {
    display: none;
}

.panel.active {
    display: block;
    animation: panelRise 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.section-card {
    position: relative;
    margin-bottom: 16px;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--pink);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.section-title svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    min-height: 42px;
    padding: 10px 13px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-color: #1d0c18;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ff7ac8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.form-group select option {
    background: #1d0c18;
    color: var(--text);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    appearance: textfield;
}

.toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.toggle-label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 28px;
    flex: 0 0 auto;
}

.toggle-switch input {
    width: 0;
    height: 0;
    opacity: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 20px;
    height: 20px;
    background: var(--text);
    border-radius: 50%;
    transition: transform 180ms ease, background 180ms ease;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(90deg, var(--pink), var(--lavender));
    border-color: transparent;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
    background: #16040f;
}

.timer-display {
    margin: 16px 0 8px;
    color: var(--text);
    font-family: 'Baloo 2', cursive;
    font-size: 72px;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 18px 42px rgba(255, 77, 159, 0.24);
}

.timer-status {
    display: block;
    width: fit-content;
    margin: 0 auto 20px;
    padding: 7px 16px;
    color: var(--warning);
    background: rgba(255, 183, 220, 0.1);
    border: 1px solid rgba(255, 183, 220, 0.24);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.timer-status.running {
    color: var(--success);
    background: rgba(255, 158, 214, 0.1);
    border-color: rgba(255, 158, 214, 0.26);
}

.timer-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.timer-btn {
    min-height: 42px;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.timer-btn.start {
    color: #2a061b;
    background: var(--success);
    border-color: transparent;
}

.timer-btn.pause {
    color: #241300;
    background: var(--warning);
    border-color: transparent;
}

.timer-btn.reset {
    color: var(--pink);
    background: rgba(255, 122, 200, 0.09);
    border-color: rgba(255, 122, 200, 0.24);
}

.message-list,
.message-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message-item,
.overlay-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.sponsor-editor {
    display: grid;
    gap: 12px;
    margin-bottom: 10px;
    padding: 14px;
    background:
        linear-gradient(120deg, rgba(255, 122, 200, 0.12), rgba(184, 140, 255, 0.08)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 184, 221, 0.22);
    border-radius: 8px;
}

.slide-editor-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
}

.slide-number {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 28px;
    color: #2b071d;
    background: linear-gradient(90deg, var(--blush), var(--pink));
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.slide-editor-title {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.slide-remove-btn {
    width: 30px;
    height: 30px;
    color: #fff;
    background: rgba(255, 77, 159, 0.78);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
}

.slide-editor-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr 0.8fr 0.8fr;
    gap: 10px;
}

.slide-editor-grid label {
    display: grid;
    gap: 6px;
}

.slide-editor-grid label span {
    color: var(--faint);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.slide-editor-grid input {
    min-height: 38px;
    padding: 9px 11px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
}

.slide-editor-grid input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(255, 122, 200, 0.1);
}

.message-item .remove-btn {
    width: 40px;
    height: 40px;
    color: #fff;
    background: var(--danger);
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.color-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.color-input-row input[type="color"] {
    width: 52px;
    height: 42px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}

.opacity-slider {
    flex: 1;
    height: 8px;
    appearance: none;
    background: linear-gradient(90deg, rgba(255, 122, 200, 0.24), rgba(255, 183, 220, 0.24));
    border-radius: 999px;
    cursor: pointer;
}

.opacity-slider::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    appearance: none;
    background: var(--pink);
    border-radius: 50%;
}

.opacity-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--pink);
    border: none;
    border-radius: 50%;
}

.color-input-row span {
    min-width: 42px;
    color: var(--muted);
    font-size: 13px;
}

.status-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 250px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 24px;
    background: rgba(18, 6, 15, 0.94);
    border-top: 1px solid var(--line);
}

.status-text {
    color: var(--faint);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: statusBlink 1.8s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.86); }
}

.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    min-width: 260px;
    padding: 15px 48px 15px 18px;
    color: #2a061b;
    background: var(--success);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    font-weight: 800;
    transform: translateX(140%);
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    color: #fff;
    background: var(--danger);
}

.toast-close {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 24px;
    height: 24px;
    color: inherit;
    background: transparent;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
}

.overlay-item h3 {
    color: var(--pink);
    margin-bottom: 6px;
}

.overlay-item p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
}

.overlay-url {
    display: flex;
    gap: 10px;
}

.overlay-url input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.overlay-url button {
    padding: 10px 14px;
    color: #170713;
    background: var(--pink);
    border: none;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .admin-sidebar {
        width: 220px;
    }

    .admin-content {
        margin-left: 220px;
    }

    .status-bar {
        left: 220px;
    }
}

@media (max-width: 768px) {
    .admin-page {
        display: block;
    }

    .admin-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .sidebar-header {
        padding-left: 0;
    }

    .nav-section:first-of-type {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .nav-label,
    .nav-item span,
    .nav-section:nth-of-type(2) {
        display: none;
    }

    .nav-item {
        justify-content: center;
        margin: 0;
        padding: 11px;
    }

    .nav-item svg {
        width: 23px;
        height: 23px;
    }

    .logout-btn {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 10px;
    }

    .admin-content {
        margin-left: 0;
        padding: 18px 15px 96px;
    }

    .content-header {
        align-items: stretch;
        flex-direction: column;
    }

    .header-actions {
        width: 100%;
    }

    .header-actions button {
        flex: 1;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .slide-editor-grid {
        grid-template-columns: 1fr;
    }

    .timer-display {
        font-size: 54px;
    }

    .status-bar {
        left: 0;
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 15px;
    }

    .overlay-url {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 28px 22px;
    }

    .login-title {
        font-size: 44px;
    }

    .nav-section:first-of-type {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
