@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700&family=Playfair+Display:wght@600&display=swap');

:root {
    --bg-900: #030712;
    --bg-850: #060d1b;
    --bg-800: #0c1628;
    --bg-750: #121f34;
    --bg-700: #1b293f;
    --brand-ice: #9fd8ff;
    --brand-peak: #6ca7ff;
    --brand-ember: #ffb347;
    --brand-rose: #ff7c9a;
    --text-body: #e0e8ff;
    --text-muted: #9aa5c4;
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(156, 214, 255, 0.35);
    --shadow-deep: 0 30px 60px rgba(3, 12, 24, 0.65);
    --radius-large: 12px;
    --radius-medium: 5px;
    --radius-small: 3px;
    --blur: blur(18px);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-body);
    background: radial-gradient(circle at top, #0c1a2d 0%, #050b16 40%, #020409 100%);
    min-height: 100vh;
    font-size: 14px;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background: linear-gradient(180deg, rgba(5, 10, 20, 0.95), rgba(3, 7, 18, 0.98));
    border-right: 1px solid var(--border-soft);
    padding: 1.5rem 1.2rem;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
}

.sidebar__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar__brand img {
    width: 48px;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4));
}

.sidebar__brand span {
    display: block;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.sidebar__brand small {
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.sidebar__menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sidebar__title {
    margin: 1.25rem 0 0.35rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.sidebar__link {
    text-decoration: none;
    color: var(--text-body);
    padding: 0.5rem 0.7rem;
    border-radius: var(--radius-medium);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.sidebar__icon {
    width: 18px;
    text-align: center;
    color: var(--text-muted);
}

.sidebar__link:hover,
.sidebar__link.is-active {
    background: rgba(111, 196, 255, 0.15);
    color: var(--brand-ice);
    transform: translateX(4px);
}

.sidebar__link:hover .sidebar__icon,
.sidebar__link.is-active .sidebar__icon {
    color: var(--brand-ice);
}

.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.topbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.75rem;
    background: rgba(5, 12, 24, 0.8);
    border-bottom: 1px solid var(--border-glow);
    backdrop-filter: var(--blur);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.topbar--compact {
    position: sticky;
    top: 0;
    background: rgba(6, 12, 24, 0.75);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: none;
    padding: 0.9rem 1.75rem;
}

.topbar__context h1 {
    margin: 0;
    font-size: 1rem;
}

.topbar__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0 0 0.3rem;
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand__logo {
    width: 56px;
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
    object-fit: contain;
}

.brand__mark {
    width: 56px;
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand__name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--brand-ice);
}

.brand__tagline {
    padding-top: 5px;
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.18rem;
}

.topbar__nav {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-medium);
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-ice);
}

.nav-link--danger {
    color: var(--brand-rose);
}

.nav-user {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.page {
    width: 100%;
    margin: 1.2rem auto 2.5rem;
    padding: 0 1.75rem 2.5rem;
    padding-bottom: 0rem;
    margin-bottom: 1rem;
    flex: 1;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-medium);
    margin-bottom: 1rem;
    font-weight: 600;
    border: 1px solid var(--border-soft);
}

.alert--success {

    background: rgba(15, 107, 67, 0.25);
    color: #6af2b8;
}

.alert--error {
    background: rgba(185, 28, 28, 0.22);
    color: #ff8f8f;
}

.alert--warning {
    background: rgba(255, 179, 71, 0.18);
    color: #ffd59e;
}

.grid {
    display: grid;
    gap: 1.25rem;
}

.grid--two {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background: linear-gradient(135deg, rgba(8, 20, 37, 0.95), rgba(8, 25, 45, 0.85));
    border-radius: var(--radius-large);
    padding: 1.25rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-deep);
}

.card h2 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: var(--brand-ice);
}

.muted {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.metric {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-ember);
}

.tour-hero {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tour-hero__head h1 {
    margin: 0;
    font-size: 1rem;
    color: var(--brand-ice);
}

.tour-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.tour-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--border-glow);
    background: rgba(111, 196, 255, 0.08);
    color: var(--brand-ice);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stat-grid {
    margin-top: 1.2rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-grid__item {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-medium);
    padding: 0.75rem 1rem;
    background: rgba(10, 20, 38, 0.7);
}

.stat-grid__label {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.stat-grid__value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.3rem;
    color: var(--brand-ice);
}

.dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stat-card {
    border: 1px solid var(--border-soft);
    background: linear-gradient(145deg, rgba(8, 18, 32, 0.9), rgba(8, 24, 42, 0.85));
    position: relative;
    overflow: hidden;
}

.stat-card--revenue { background: radial-gradient(circle at 20% 20%, rgba(108, 167, 255, 0.18), rgba(6, 12, 24, 0.95)); }
.stat-card--expenses { background: radial-gradient(circle at 20% 20%, rgba(255, 179, 71, 0.2), rgba(12, 18, 28, 0.95)); }
.stat-card--gross { background: radial-gradient(circle at 20% 20%, rgba(106, 242, 184, 0.16), rgba(6, 16, 26, 0.95)); }
.stat-card--bookings { background: radial-gradient(circle at 20% 20%, rgba(123, 164, 255, 0.16), rgba(8, 14, 24, 0.95)); }
.stat-card--netdue { background: radial-gradient(circle at 20% 20%, rgba(255, 82, 82, 0.22), rgba(28, 10, 14, 0.96)); }

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0 0 0.35rem;
}

.stat-value {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-ice);
}

.stat-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(108, 167, 255, 0.4), rgba(4, 10, 20, 0.7));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(108, 167, 255, 0.25);
    color: #dcecff;
    position: absolute;
    top: 1rem;
    right: 1rem;
    animation: floatIcon 4.5s ease-in-out infinite;
    z-index: 1;
}

.stat-card__icon--revenue { background: radial-gradient(circle at 30% 30%, rgba(108, 167, 255, 0.5), rgba(4, 10, 20, 0.8)); }
.stat-card__icon--expenses { background: radial-gradient(circle at 30% 30%, rgba(255, 179, 71, 0.55), rgba(12, 18, 28, 0.85)); }
.stat-card__icon--gross { background: radial-gradient(circle at 30% 30%, rgba(106, 242, 184, 0.55), rgba(6, 16, 26, 0.85)); }
.stat-card__icon--bookings { background: radial-gradient(circle at 30% 30%, rgba(123, 164, 255, 0.5), rgba(8, 14, 24, 0.85)); }
.stat-card__icon--netdue { background: radial-gradient(circle at 30% 30%, rgba(255, 82, 82, 0.6), rgba(28, 10, 14, 0.9)); }

.stat-card__icon--accent {
    background: radial-gradient(circle at 30% 30%, rgba(255, 179, 71, 0.45), rgba(8, 16, 30, 0.8));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 179, 71, 0.3);
}

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

.stat-card__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(108, 167, 255, 0.12), transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.text-positive { color: #6af2b8; }
.text-negative { color: #ff8f8f; }

.chart-card {
    position: relative;
}

.card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-body);
    font-size: 0.85rem;
}

.pill--success { border-color: rgba(106, 242, 184, 0.35); color: #6af2b8; }
.pill--warning { border-color: rgba(255, 179, 71, 0.35); color: #ffb347; }

.pill--primary { border-color: rgba(108, 167, 255, 0.45); color: var(--brand-ice); background: rgba(108, 167, 255, 0.12); }

.badge--soft {
    background: rgba(108, 167, 255, 0.14);
    border: 1px solid var(--border-glow);
    color: var(--brand-ice);
}

.card--tight {
    padding: 0.85rem 1rem;
}

.report-table table {
    min-width: 720px;
}

.report-table th,
.report-table td {
    padding: 0.55rem 0.7rem;
}

.report-foot {
    margin-top: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pager {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    max-width: 100%;
}

.pager--mini .button,
.pager--mini a.button {
    padding: 0.28rem 0.5rem;
    min-width: 36px;
    font-size: 0.8rem;
    text-align: center;
}

.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.chart-card canvas {
    height: 260px !important;
    max-width: 520px;
    margin: 0 auto;
}

.period-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.period-panel {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-large);
    background: linear-gradient(160deg, rgba(8, 18, 34, 0.92), rgba(8, 26, 46, 0.85));
    padding: 1rem 1rem 1.2rem;
    position: relative;
}

.period-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.period-panel__title {
    margin: 0;
    font-size: 0.9rem;
    color: var(--brand-ice);
}

.period-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.period-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-soft);
    background: rgba(7, 15, 30, 0.7);
}

.period-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(108, 167, 255, 0.25), rgba(4, 10, 20, 0.7));
    color: var(--brand-ice);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}

.period-item__body {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    width: 100%;
}

.period-item__label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin: 0 0 0.2rem;
}

.period-item__value {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-body);
}

.period-item__hint {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.period-item__meta {
    text-align: right;
}

.report-filters {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: flex-end;
}

.report-filters input,
.report-filters select {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-soft);
    background: rgba(8, 16, 30, 0.8);
    color: var(--text-body);
}

.report-actions {
    display: flex;
    gap: 0.5rem;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-large);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-deep);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    background: rgba(4, 10, 20, 0.7);
}

th,
td {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--border-soft);
    text-align: left;
}

th {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.12rem;
    color: var(--text-muted);
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(108, 167, 255, 0.08);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-medium);
    background: rgba(111, 196, 255, 0.12);
    color: var(--brand-peak);
    font-size: 0.75rem;
    border: 1px solid rgba(111, 196, 255, 0.35);
}

.badge--pending {
    background: rgba(255, 179, 71, 0.1);
    border-color: rgba(255, 179, 71, 0.5);
    color: var(--brand-ember);
}

.badge--confirmed {
    background: rgba(15, 107, 67, 0.2);
    border-color: rgba(106, 242, 184, 0.5);
    color: #6af2b8;
}

.badge--cancelled {
    background: rgba(185, 28, 28, 0.25);
    border-color: rgba(255, 124, 154, 0.45);
    color: #ff8fba;
}

.badge--receive {
    background: rgba(15, 107, 67, 0.25);
    border-color: rgba(106, 242, 184, 0.5);
    color: #6af2b8;
}

.badge--refund {
    background: rgba(185, 28, 28, 0.25);
    border-color: rgba(255, 124, 154, 0.5);
    color: #ff8f8f;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-medium);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    min-height: 40px;
    line-height: 1.4;
}

.button:active {
    transform: translateY(0);
}

.button--compact {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    min-height: 36px;
}

.button--primary {
    background: linear-gradient(120deg, var(--brand-peak), #5df0ff);
    color: #061120;
    box-shadow: 0 2px 8px rgba(92, 194, 255, 0.3);
}

.button--primary:hover {
    box-shadow: 0 4px 12px rgba(92, 194, 255, 0.4);
    transform: translateY(-1px);
}

.button--ghost {
    background: transparent;
    color: var(--brand-ice);
    border: 1px solid var(--border-glow);
}

form label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.35rem;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-soft);
    font-family: inherit;
    font-size: 0.9rem;
    background: rgba(8, 16, 33, 0.8);
    color: var(--text-body);
    transition: border 0.2s, box-shadow 0.2s;
    appearance: none;
}

form input[type="radio"],
form input[type="checkbox"] {
    width: auto;
    appearance: auto;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: var(--brand-peak);
    box-shadow: 0 0 0 3px rgba(108, 167, 255, 0.25);
    outline: none;
}

form input[type="radio"]:focus,
form input[type="checkbox"]:focus {
    box-shadow: 0 0 0 2px rgba(108, 167, 255, 0.4);
    outline: 2px solid var(--brand-peak);
    outline-offset: 2px;
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

form select option {
    background: #050b16;
    color: #f3f6ff;
}

.form-actions {
    display: flex;
    gap: 0.85rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-soft);
    justify-content: flex-start;
    align-items: center;
}

.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.field-pair {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.field-pair .field-group {
    flex: 1 1 240px;
}

.page--auth {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(100vh - 220px);
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

body.auth-page {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
}

.auth-modern {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.auth-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a2332 25%, #0f1923 50%, #1e2a3a 75%, #0d1520 100%);
    z-index: 0;
}

.auth-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.auth-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #6fc4ff 0%, #4a9fd8 100%);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.auth-shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    bottom: -250px;
    right: -150px;
    animation-delay: -7s;
}

.auth-shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(225deg, #a8e6cf 0%, #56ab91 100%);
    top: 50%;
    right: 10%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    text-align: center;
}

.auth-brand {
    margin-bottom: 2.5rem;
}

.auth-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.auth-brand h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    background: linear-gradient(135deg, #6fc4ff 0%, #a8e6cf 50%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
}

.auth-card-modern {
    backdrop-filter: blur(20px);
    background: rgba(10, 22, 40, 0.7);
    border: 1px solid rgba(111, 196, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    padding: 3rem 2.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.auth-card-modern:hover {
    border-color: rgba(111, 196, 255, 0.4);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 1.75rem;
    margin: 0 0 0.5rem;
    color: #fff;
}

.auth-header .muted {
    font-size: 0.95rem;
}

.auth-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-modern label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group-modern input {
    padding: 0.875rem 1rem;
    background: rgba(15, 25, 40, 0.6);
    border: 1px solid rgba(111, 196, 255, 0.2);
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group-modern input:focus {
    outline: none;
    border-color: #6fc4ff;
    background: rgba(15, 25, 40, 0.8);
    box-shadow: 0 0 0 3px rgba(111, 196, 255, 0.1);
}

.form-group-modern input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.button--modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6fc4ff 0%, #4a9fd8 100%);
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(111, 196, 255, 0.3);
}

.button--modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(111, 196, 255, 0.4);
    background: linear-gradient(135deg, #7fd0ff 0%, #5aaee5 100%);
}

.button--modern:active {
    transform: translateY(0);
}

.button--modern svg {
    transition: transform 0.3s ease;
}

.button--modern:hover svg {
    transform: translateX(4px);
}

.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(111, 196, 255, 0.1);
}

.auth-footer .muted {
    font-size: 0.875rem;
}

.site-footer {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--text-muted);
    background: #03070f;
    border-top: 1px solid var(--border-soft);
}

@media (max-width: 720px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }

    .page {
        padding: 0 1rem 2.5rem;
        margin: 1.2rem auto;
    }

    .page--auth {
        padding: 0 1rem 2.5rem;
    }

    .auth-brand h1 {
        font-size: 2rem;
    }
    
    .auth-card-modern {
        padding: 2rem 1.5rem;
    }
    
    .auth-modern {
        padding: 1rem;
    }
    
    .auth-shape {
        filter: blur(60px);
    }
}

@media (max-width: 1024px) {
    .app-shell {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: column;
        position: relative;
    }

    .sidebar__menu {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar__link {
        flex: 1 1 auto;
        text-align: center;
    }
}
