:root {
    --future-bg: #e9f6f1;
    --future-bg-2: #d2ebe1;
    --future-panel: rgba(255, 255, 255, 0.8);
    --future-panel-strong: rgba(248, 255, 252, 0.92);
    --future-panel-soft: rgba(162, 218, 198, 0.42);
    --future-border: rgba(67, 154, 127, 0.2);
    --future-border-strong: rgba(50, 171, 132, 0.34);
    --future-text: #2f4d44;
    --future-text-muted: #6b8b80;
    --future-heading: #193930;
    --future-accent: #63cfab;
    --future-accent-2: #2aae83;
    --future-accent-3: #2f7b63;
    --future-danger: #ef8f8d;
    --future-warning: #f4c56d;
    --future-success: #57cfa1;
    --future-shadow: 0 26px 54px rgba(33, 94, 77, 0.14);
    --future-shadow-soft: 0 14px 32px rgba(52, 116, 95, 0.1);
    --future-radius-xl: 26px;
    --future-radius-lg: 20px;
    --future-radius-md: 14px;
    --future-radius-sm: 10px;
    --future-font-body: "Manrope", "Segoe UI", sans-serif;
    --future-font-heading: "Space Grotesk", "Segoe UI", sans-serif;
}

html,
body {
    min-height: 100%;
    overflow-x: hidden;
}

body.future-admin-shell,
body.future-auth-shell,
body.future-app-shell {
    position: relative;
    color: var(--future-text);
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(99, 207, 171, 0.32), transparent 30%),
        radial-gradient(circle at top right, rgba(42, 174, 131, 0.2), transparent 24%),
        linear-gradient(135deg, #edf8f4 0%, #d9efe6 46%, #c8e6db 100%);
    font-family: var(--future-font-body);
}

body.future-admin-shell::before,
body.future-auth-shell::before,
body.future-app-shell::before,
body.future-admin-shell::after,
body.future-auth-shell::after,
body.future-app-shell::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
}

body.future-admin-shell::before,
body.future-auth-shell::before,
body.future-app-shell::before {
    top: -10rem;
    right: -8rem;
    width: 26rem;
    height: 26rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(49, 231, 196, 0.24), rgba(49, 231, 196, 0));
}

body.future-admin-shell::after,
body.future-auth-shell::after,
body.future-app-shell::after {
    left: -8rem;
    bottom: -10rem;
    width: 24rem;
    height: 24rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(86, 182, 255, 0.18), rgba(86, 182, 255, 0));
}

a {
    color: inherit;
}

.future-admin-shell .wrapper,
.future-app-shell .min-h-screen {
    position: relative;
    z-index: 1;
    background: transparent;
    max-width: 100%;
    overflow-x: hidden;
}

.future-admin-shell .content-wrapper,
.future-admin-shell .main-footer,
.future-admin-shell .main-header,
.future-admin-shell .main-sidebar,
.future-admin-shell .card,
.future-admin-shell .modal-content,
.future-app-shell .future-app-surface,
.future-auth-shell .future-auth-wrap {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.future-admin-shell .main-sidebar.future-sidebar {
    background: linear-gradient(180deg, rgba(119, 205, 174, 0.94), rgba(72, 151, 124, 0.9));
    border-right: 1px solid var(--future-border);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.2);
}

.future-sidebar .brand-link {
    min-height: 96px;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02));
}

.future-brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.future-brand-logo {
    display: block;
    height: auto;
    opacity: 0.96;
    border-radius: 10px;
}

.future-brand-logo--full {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
}

.future-brand-logo--compact {
    display: none;
    width: 38px;
    height: 38px;
    object-fit: contain;
    margin: 0 auto;
}

.future-sidebar .future-side-meta {
    margin: 0 1rem 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--future-border);
    border-radius: var(--future-radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(233, 249, 243, 0.2));
    box-shadow: var(--future-shadow-soft);
}

.future-side-meta__eyebrow {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.future-side-meta__title {
    display: block;
    font-family: var(--future-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.future-side-meta__text {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.83rem;
    line-height: 1.45;
}

.future-nav-label {
    margin: 0 1rem 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.future-sidebar .nav-sidebar > .nav-item {
    margin-bottom: 0.4rem;
}

.future-sidebar .nav-sidebar .nav-link {
    margin: 0 0.8rem;
    padding: 0.95rem 1rem;
    border: 1px solid transparent;
    border-radius: 16px;
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    transition: 0.22s ease;
}

.future-sidebar .nav-sidebar .nav-link p {
    margin: 0;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.96rem;
    line-height: 1.2;
}

.future-sidebar .nav-sidebar .nav-link:hover,
.future-sidebar .nav-sidebar .nav-link.active {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.38);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(236, 250, 245, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 12px 24px rgba(40, 102, 82, 0.14);
}

.future-sidebar .nav-sidebar .nav-link:hover p,
.future-sidebar .nav-sidebar .nav-link.active p {
    color: #ffffff;
}

.future-sidebar .nav-sidebar .nav-link .nav-icon {
    color: #ffffff;
    width: 1.35rem;
    margin-right: 0.72rem;
    font-size: 1.12rem;
    text-align: center;
}

.sidebar-mini.sidebar-collapse .future-sidebar .brand-link {
    min-height: 84px;
    padding: 1rem 0.4rem;
}

.sidebar-mini.sidebar-collapse .future-brand-logo--full {
    display: none;
}

.sidebar-mini.sidebar-collapse .future-brand-logo--compact {
    display: block;
}

.sidebar-mini.sidebar-collapse .future-sidebar .sidebar {
    overflow-x: hidden;
}

.sidebar-mini.sidebar-collapse .future-nav-label {
    margin: 0 0 0.85rem;
    text-align: center;
    font-size: 0.62rem;
}

.sidebar-mini.sidebar-collapse .future-sidebar .nav-sidebar > .nav-item {
    display: flex;
    justify-content: center;
}

.sidebar-mini.sidebar-collapse .future-sidebar .nav-sidebar .nav-link {
    width: 52px;
    min-width: 52px;
    height: 52px;
    margin: 0 auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.sidebar-mini.sidebar-collapse .future-sidebar .nav-sidebar .nav-link p {
    display: none;
}

.sidebar-mini.sidebar-collapse .future-sidebar .nav-sidebar .nav-link .nav-icon {
    width: auto;
    margin: 0;
    font-size: 1.28rem;
}

.sidebar-mini.sidebar-collapse.sidebar-open .future-sidebar {
    width: 270px !important;
    margin-left: 0 !important;
}

.sidebar-mini.sidebar-collapse.sidebar-open .future-sidebar .brand-link {
    min-height: 96px;
    padding: 1.1rem 1rem;
}

.sidebar-mini.sidebar-collapse.sidebar-open .future-brand-logo--full {
    display: block !important;
    max-height: 60px;
    width: auto;
    visibility: visible;
}

.sidebar-mini.sidebar-collapse.sidebar-open .future-brand-logo--compact {
    display: none !important;
}

.sidebar-mini.sidebar-collapse.sidebar-open .future-nav-label {
    margin: 0 1rem 0.85rem;
    text-align: left;
    font-size: 0.7rem;
}

.sidebar-mini.sidebar-collapse.sidebar-open .future-sidebar .nav-sidebar > .nav-item {
    display: block !important;
    width: 100% !important;
}

.sidebar-mini.sidebar-collapse.sidebar-open .future-sidebar .nav-sidebar .nav-link {
    display: flex !important;
    width: calc(100% - 1.6rem) !important;
    min-width: calc(100% - 1.6rem) !important;
    height: auto !important;
    margin: 0 0.8rem !important;
    padding: 0.9rem 1rem !important;
    justify-content: flex-start !important;
    align-items: center !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
}

.sidebar-mini.sidebar-collapse.sidebar-open .future-sidebar .nav-sidebar .nav-link p {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    margin-left: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    white-space: normal !important;
    opacity: 1 !important;
    animation: none !important;
}

.sidebar-mini.sidebar-collapse.sidebar-open .future-sidebar .nav-sidebar .nav-link .nav-icon {
    width: 1.35rem !important;
    margin-right: 0.72rem !important;
    font-size: 1.12rem !important;
}

.sidebar-open .future-sidebar .nav-sidebar .nav-link p {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    margin-left: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    white-space: normal !important;
    opacity: 1 !important;
    animation: none !important;
}

.sidebar-open .future-sidebar .nav-sidebar > .nav-item {
    display: block !important;
    width: 100% !important;
}

.sidebar-open .future-sidebar .nav-sidebar .nav-link {
    display: flex !important;
    width: calc(100% - 1.6rem) !important;
    min-width: calc(100% - 1.6rem) !important;
    box-sizing: border-box !important;
}

.sidebar-open .future-sidebar .brand-link .future-brand-logo--full {
    display: block !important;
}

.sidebar-open .future-sidebar .brand-link .future-brand-logo--compact {
    display: none !important;
}

.future-admin-shell .main-header.future-topbar {
    margin: 1rem 1rem 0 1rem;
    padding: 0.65rem 1.1rem;
    border: 1px solid var(--future-border);
    border-radius: var(--future-radius-xl);
    background: rgba(253, 255, 254, 0.8);
    box-shadow: var(--future-shadow-soft);
}

.future-topbar .nav-link {
    color: var(--future-text);
}

.future-topbar .future-topbar-title {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-left: 0.5rem;
}

.future-topbar .future-topbar-title strong {
    color: var(--future-heading);
    font-family: var(--future-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
}

.future-topbar .future-topbar-title span {
    color: var(--future-text-muted);
    font-size: 0.78rem;
}

.future-locale-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.24rem;
    margin-right: 0.7rem;
    border: 1px solid var(--future-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--future-shadow-soft);
}

.future-locale-switcher__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 34px;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    color: var(--future-text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: 0.18s ease;
}

.future-locale-switcher__link:hover {
    color: var(--future-heading);
    background: rgba(99, 207, 171, 0.12);
    text-decoration: none;
}

.future-locale-switcher__link.is-active {
    color: #fbfffd;
    background: linear-gradient(135deg, var(--future-accent) 0%, var(--future-accent-2) 100%);
    box-shadow: 0 12px 24px rgba(52, 116, 95, 0.18);
}

.future-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.48rem 0.8rem;
    margin-right: 0.5rem;
    border: 1px solid var(--future-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

.future-user-chip__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--future-accent), var(--future-accent-2));
    color: #041118;
    font-weight: 800;
    font-size: 0.8rem;
}

.future-user-chip__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.future-user-chip__name {
    color: var(--future-heading);
    font-size: 0.82rem;
    font-weight: 700;
}

.future-user-chip__role {
    color: var(--future-text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.future-logout-btn,
.future-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.82rem 1.18rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: 0.2s ease;
}

.future-btn:hover,
.future-logout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(52, 116, 95, 0.18);
}

.future-btn--primary,
.future-logout-btn {
    color: #fbfffd;
    background: linear-gradient(135deg, var(--future-accent) 0%, var(--future-accent-2) 100%);
}

.future-btn--secondary {
    color: var(--future-heading);
    border-color: var(--future-border);
    background: rgba(255, 255, 255, 0.74);
}

.future-btn--danger {
    color: #1a080d;
    background: linear-gradient(135deg, #ff7d95 0%, #ffbf69 100%);
}

.future-btn--success {
    color: #fbfffd;
    background: linear-gradient(135deg, #74d7b3 0%, #3bac84 100%);
}

.future-admin-shell .content-wrapper.future-content-wrapper {
    min-height: calc(100vh - 7rem) !important;
    margin: 1rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background: rgba(251, 255, 253, 0.72);
    box-shadow: var(--future-shadow);
    overflow-x: hidden;
}

.future-admin-shell .content-header,
.future-admin-shell .content-header .container-fluid,
.future-admin-shell .content,
.future-admin-shell .content > .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.page-shell {
    padding: 1.35rem;
}

.page-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--future-border);
    border-radius: var(--future-radius-xl);
    background:
        linear-gradient(135deg, rgba(99, 207, 171, 0.24), rgba(42, 174, 131, 0.08)),
        rgba(255, 255, 255, 0.72);
    box-shadow: var(--future-shadow-soft);
}

.page-hero__copy {
    max-width: 34rem;
}

.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.2rem;
    color: var(--future-accent-3);
    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-title {
    margin: 0;
    color: var(--future-heading);
    font-family: var(--future-font-heading);
    font-size: clamp(1.15rem, 1.7vw, 1.65rem);
    font-weight: 700;
    line-height: 1;
}

.page-subtitle {
    margin: 0.2rem 0 0;
    color: var(--future-text-muted);
    font-size: 0.8rem;
    line-height: 1.35;
}

.page-hero .future-status-pill,
.page-hero.page-hero--compact .future-status-pill {
    padding: 0.35rem 0.62rem;
    font-size: 0.7rem;
}

.action-cluster {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.future-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--future-border);
    border-radius: 999px;
    color: var(--future-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.72);
}

.future-status-pill::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--future-accent);
    box-shadow: 0 0 16px rgba(42, 174, 131, 0.38);
}

.glass-panel,
.future-admin-shell .card,
.future-admin-shell .modal-content,
.future-app-glass,
.future-auth-card {
    border: 1px solid var(--future-border);
    border-radius: var(--future-radius-xl);
    background: var(--future-panel);
    box-shadow: var(--future-shadow-soft);
}

.future-admin-shell .card-header,
.future-admin-shell .card-body,
.future-admin-shell .card-footer,
.future-admin-shell .modal-header,
.future-admin-shell .modal-body,
.future-admin-shell .modal-footer {
    border-color: rgba(67, 154, 127, 0.12);
    background: transparent;
}

.future-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.future-panel-title {
    margin: 0;
    color: var(--future-heading);
    font-family: var(--future-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.future-panel-text {
    margin: 0.45rem 0 0;
    color: var(--future-text-muted);
    font-size: 0.92rem;
}

.future-table-shell {
    position: relative;
}

.future-table-shell .dataTables_wrapper {
    color: var(--future-text-muted);
}

.future-table-shell .dataTables_filter label,
.future-table-shell .dataTables_length label {
    color: var(--future-text-muted);
    font-weight: 700;
}

.future-table-shell .dataTables_wrapper .dataTables_filter input,
.future-table-shell .dataTables_wrapper .dataTables_length select,
.future-form-control,
.future-admin-shell .form-control,
.future-admin-shell .custom-file-label,
.future-admin-shell .custom-file-input:focus ~ .custom-file-label {
    height: auto;
    min-height: 48px;
    padding: 0.78rem 1rem;
    border: 1px solid rgba(67, 154, 127, 0.16);
    border-radius: 14px;
    color: var(--future-heading);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: none !important;
}

.future-admin-shell .custom-file-label::after {
    height: calc(100% - 6px);
    margin: 3px;
    border: 0;
    border-radius: 10px;
    color: #041118;
    background: linear-gradient(135deg, var(--future-accent), var(--future-accent-2));
}

.future-admin-shell .form-control::placeholder,
.future-admin-shell .custom-file-label,
.future-table-shell .dataTables_wrapper .dataTables_filter input::placeholder {
    color: rgba(47, 77, 68, 0.52);
}

.future-admin-shell .table.future-data-table,
.future-admin-shell .table.future-data-table th,
.future-admin-shell .table.future-data-table td {
    border-color: rgba(67, 154, 127, 0.1);
}

.future-admin-shell .table.future-data-table thead th {
    padding: 1rem 0.9rem;
    color: var(--future-accent-3);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(99, 207, 171, 0.12);
}

.future-admin-shell .table.future-data-table tbody td {
    padding: 1rem 0.9rem;
    color: var(--future-text);
    vertical-align: middle;
    background: transparent;
}

.future-admin-shell .table.future-data-table tbody tr:hover {
    background: rgba(99, 207, 171, 0.08);
}

.future-admin-shell .badge {
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.future-admin-shell .badge-primary {
    color: #041118;
    background: linear-gradient(135deg, var(--future-accent), var(--future-accent-2));
}

.future-admin-shell .badge-danger {
    color: #19060c;
    background: linear-gradient(135deg, #ff7d95, #ff9c72);
}

.future-admin-shell .badge-success {
    color: #041118;
    background: linear-gradient(135deg, #6df7b8, #4ae6ff);
}

.future-admin-shell .badge-warning {
    color: #241300;
    background: linear-gradient(135deg, #ffd36f, #ffb545);
}

.future-admin-shell .badge-secondary {
    color: var(--future-heading);
    background: rgba(99, 207, 171, 0.16);
}

.future-table-cards {
    display: none;
    gap: 1rem;
    margin-top: 1rem;
}

.future-data-card {
    padding: 1.15rem;
    border: 1px solid var(--future-border);
    border-radius: var(--future-radius-lg);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--future-shadow-soft);
}

.future-data-card__title {
    margin: 0 0 0.25rem;
    color: var(--future-heading);
    font-family: var(--future-font-heading);
    font-size: 1.03rem;
    font-weight: 700;
}

.future-data-card__row {
    display: grid;
    grid-template-columns: minmax(92px, 34%) 1fr;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-top: 1px solid rgba(67, 154, 127, 0.08);
}

.future-data-card__row:first-of-type {
    border-top: 0;
    padding-top: 0.25rem;
}

.future-data-card__label {
    color: var(--future-text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.future-data-card__value {
    color: var(--future-text);
    font-size: 0.92rem;
    word-break: break-word;
}

.future-modal-dialog .modal-content,
.future-admin-shell .modal-content {
    overflow: hidden;
}

.future-admin-shell .modal {
    z-index: 1065;
    padding-right: 0 !important;
    pointer-events: none;
    background: transparent;
}

.future-admin-shell .modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.future-admin-shell .modal-dialog,
.future-modal-dialog {
    margin: 0 auto;
    pointer-events: auto;
    z-index: 1075;
}

.future-modal-dialog:not(.modal-xl):not(.modal-lg) {
    max-width: 580px;
    width: calc(100% - 2rem);
}

.future-modal-dialog.modal-xl {
    width: min(1140px, calc(100% - 2rem));
}

.future-admin-shell .modal-content {
    pointer-events: auto;
    background: rgba(251, 255, 253, 0.96);
    border: 1px solid rgba(67, 154, 127, 0.16);
    box-shadow: 0 24px 48px rgba(39, 92, 75, 0.18);
    border-radius: 28px;
}

body.future-admin-shell .modal-backdrop {
    display: none !important;
}

body.future-admin-shell .modal-backdrop.show {
    opacity: 0;
}

.future-admin-shell .modal-title {
    color: var(--future-heading);
    font-family: var(--future-font-heading);
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.1;
}

.future-admin-shell .close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(67, 154, 127, 0.14);
    border-radius: 999px;
    color: var(--future-heading);
    background: rgba(255, 255, 255, 0.86);
    opacity: 1;
    box-shadow: 0 8px 18px rgba(52, 116, 95, 0.08);
}

.future-admin-shell .close span {
    display: inline-block;
    line-height: 1;
    transform: translateY(-1px);
}

.future-admin-shell .modal-header {
    align-items: flex-start;
    padding: 1.5rem 1.6rem 1rem;
}

.future-admin-shell .modal-body {
    padding: 1rem 1.6rem 1.5rem;
}

.future-admin-shell .modal-footer {
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0 1.6rem 1.5rem;
}

.future-admin-shell .modal-footer > * {
    margin: 0 !important;
}

.future-modal-head {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.future-modal-kicker {
    color: var(--future-accent-3);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.future-modal-copy {
    margin: 0;
    color: var(--future-text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

.future-modal-sheet {
    border: 1px solid rgba(67, 154, 127, 0.1);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(239, 249, 244, 0.76));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.future-modal-sheet .glass-panel,
.future-modal-sheet .card {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.future-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.future-field + .future-field {
    margin-top: 1rem;
}

.future-admin-shell textarea.future-form-control,
.future-admin-shell textarea.form-control {
    min-height: 122px;
    resize: vertical;
}

.future-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.future-field label,
.future-admin-shell label {
    margin-bottom: 0;
    color: var(--future-text-muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.future-field-help,
.future-admin-shell .error-text {
    font-size: 0.8rem;
}

.future-control-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.future-control-grid__main {
    grid-column: span 8 / span 8;
}

.future-control-grid__side {
    grid-column: span 4 / span 4;
}

.future-terminal,
.future-admin-shell #log {
    padding: 1rem 1.15rem !important;
    border: 1px solid rgba(73, 243, 163, 0.16) !important;
    border-radius: var(--future-radius-xl);
    background:
        linear-gradient(180deg, rgba(73, 243, 163, 0.08), rgba(0, 0, 0, 0)),
        rgba(0, 0, 0, 0.72) !important;
    color: #d8ffee !important;
    font-family: "JetBrains Mono", "SFMono-Regular", monospace !important;
    box-shadow: inset 0 0 0 1px rgba(49, 231, 196, 0.05), 0 24px 50px rgba(0, 0, 0, 0.32);
}

.future-auth-shell {
    overflow-x: hidden;
}

.future-auth-locale {
    display: flex;
    justify-content: flex-end;
    width: min(1120px, calc(100% - 2rem));
    margin: 0.9rem auto 0;
}

.future-auth-wrap {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 2rem));
    margin: 2rem auto;
    padding: 1.25rem;
    border: 1px solid var(--future-border);
    border-radius: 32px;
    background: rgba(251, 255, 253, 0.74);
    box-shadow: var(--future-shadow);
}

.future-auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 430px);
    gap: 1.2rem;
    align-items: stretch;
}

.future-auth-panel {
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    background:
        radial-gradient(circle at top, rgba(99, 207, 171, 0.22), transparent 34%),
        rgba(255, 255, 255, 0.76);
}

.future-auth-kicker {
    color: var(--future-accent-3);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.future-auth-heading {
    margin: 0.85rem 0 0;
    color: var(--future-heading);
    font-family: var(--future-font-heading);
    font-size: clamp(2.15rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 0.95;
}

.future-auth-copy {
    max-width: 30rem;
    margin-top: 1rem;
    color: var(--future-text-muted);
    line-height: 1.8;
}

.future-auth-points {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.future-auth-point {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(67, 154, 127, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.future-auth-point__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 207, 171, 0.3), rgba(42, 174, 131, 0.22));
    color: #1d493d;
    font-family: var(--future-font-heading);
    font-weight: 700;
}

.future-auth-card {
    padding: 1.6rem;
}

.future-auth-card .future-auth-form-title {
    margin: 1rem 0 0.35rem;
    color: var(--future-heading);
    font-family: var(--future-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
}

.future-auth-card .future-auth-form-copy {
    margin: 0 0 1.5rem;
    color: var(--future-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.future-auth-shell .future-input,
.future-app-shell .future-input {
    width: 100%;
    border-color: rgba(67, 154, 127, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--future-heading);
    box-shadow: none;
}

.future-auth-shell .future-input:focus,
.future-app-shell .future-input:focus {
    border-color: rgba(49, 231, 196, 0.5);
    box-shadow: 0 0 0 4px rgba(49, 231, 196, 0.14);
}

.future-auth-shell .future-label,
.future-app-shell .future-label {
    color: var(--future-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 800;
}

.future-primary-button {
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--future-accent) 0%, var(--future-accent-2) 100%) !important;
    color: #fbfffd !important;
    font-family: var(--future-font-heading);
    font-size: 0.83rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
}

.future-app-shell .future-topnav {
    margin: 1rem auto 0;
    width: min(1200px, calc(100% - 2rem));
    padding: 0.8rem 1rem;
    border: 1px solid var(--future-border);
    border-radius: 24px;
    background: rgba(251, 255, 253, 0.82);
    box-shadow: var(--future-shadow-soft);
}

.future-app-shell .future-app-surface {
    width: min(1200px, calc(100% - 2rem));
    margin: 1rem auto 2rem;
    padding: 1.25rem;
    border: 1px solid var(--future-border);
    border-radius: 30px;
    background: rgba(251, 255, 253, 0.76);
    box-shadow: var(--future-shadow);
}

.future-app-shell .future-page-header {
    margin-bottom: 1rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid var(--future-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
}

.future-app-shell .future-page-header h2 {
    margin: 0;
    color: var(--future-heading);
    font-family: var(--future-font-heading);
}

.future-app-shell .future-page-content {
    display: grid;
    gap: 1rem;
}

.future-app-shell .bg-white,
.future-app-shell .bg-gray-100,
.future-app-shell .bg-gray-50 {
    background: transparent !important;
}

.future-app-shell .shadow,
.future-app-shell .shadow-md,
.future-app-shell .sm\:rounded-lg {
    box-shadow: none !important;
    border-radius: 24px !important;
}

.future-app-shell .text-gray-900,
.future-app-shell .text-gray-800,
.future-app-shell .text-gray-700 {
    color: var(--future-heading) !important;
}

.future-app-shell .text-gray-600,
.future-app-shell .text-gray-500,
.future-app-shell .text-gray-400 {
    color: var(--future-text-muted) !important;
}

.future-app-shell .border-gray-100,
.future-app-shell .border-gray-200,
.future-app-shell .border-gray-300 {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.future-admin-shell .main-footer {
    margin: 0 1rem 1rem 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--future-border);
    border-radius: 24px;
    background: rgba(251, 255, 253, 0.78);
    color: var(--future-text-muted);
}

.future-admin-shell .main-footer a {
    color: var(--future-accent-3);
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .future-admin-shell .content-wrapper.future-content-wrapper,
    .future-admin-shell .main-header.future-topbar,
    .future-admin-shell .main-footer {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }

    .future-control-grid__main,
    .future-control-grid__side {
        grid-column: span 12 / span 12;
    }

    .future-auth-grid {
        grid-template-columns: 1fr;
    }

    .future-auth-locale {
        width: calc(100% - 2rem);
    }
}

@media (max-width: 767.98px) {
    .page-shell {
        padding: 1rem;
    }

    .page-hero {
        padding: 1.15rem;
        flex-direction: column;
    }

    .future-admin-shell .main-header.future-topbar {
        padding: 0.65rem 0.85rem;
    }

    .future-user-chip {
        display: none;
    }

    .future-locale-switcher {
        margin-right: 0;
    }

    .future-locale-switcher__link {
        min-width: 40px;
        min-height: 32px;
        padding: 0.4rem 0.62rem;
    }

    .future-admin-shell .content-wrapper.future-content-wrapper {
        border-radius: 24px;
    }

    .future-table-shell table,
    .future-table-shell .dataTables_length,
    .future-table-shell .dataTables_info,
    .future-table-shell .dataTables_paginate {
        display: none !important;
    }

    .future-table-shell .dataTables_filter {
        float: none !important;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .future-table-shell .dataTables_filter label {
        width: 100%;
    }

    .future-table-shell .dataTables_filter input {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .future-table-cards {
        display: grid;
    }

    .future-admin-shell .main-sidebar.future-sidebar .future-side-meta {
        margin-top: 0.75rem;
    }
}
