:root {
    --bg-start: #f6fbff;
    --bg-mid: #ecf4ff;
    --bg-end: #fff8db;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-strong: #ffffff;
    --surface-border: rgba(33, 99, 190, 0.18);
    --text-main: #1c355f;
    --text-dim: #5f7396;
    --blue: #1f6fd9;
    --blue-soft: #c7defb;
    --yellow: #f4c835;
    --yellow-soft: #fff3c4;
    --danger: #b3293e;
    --status-done: #1f9f62;
    --status-partial: #e2b424;
    --status-open: #c43f58;
    --status-none: #8a97ad;
}

html,
body {
    min-height: 100%;
    margin: 0;
    overflow-y: scroll;
    scrollbar-gutter: stable both-edges;
    font-family: "Segoe UI", "Noto Sans", Tahoma, sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(960px 520px at 8% 2%, rgba(69, 148, 255, 0.14), transparent 58%),
        radial-gradient(920px 540px at 95% 14%, rgba(244, 200, 53, 0.22), transparent 60%),
        linear-gradient(145deg, var(--bg-start) 0%, var(--bg-mid) 52%, var(--bg-end) 100%);
    background-attachment: fixed;
}

a,
.btn-link {
    color: var(--blue);
}

.glass-page {
    width: 100%;
    max-width: 1320px;
    margin: 22px auto 28px auto;
}

.glass-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(17, 56, 114, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.page-card {
    padding: 18px 18px 16px 18px;
}

.plan-card {
    padding: 14px 14px 12px 14px;
    border: 1px solid rgba(44, 110, 199, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
}

.login-card {
    max-width: 520px;
    margin: 56px auto 0 auto;
    padding: 24px;
}

.login-form {
    margin-top: 12px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
}

.page-header h1,
.login-card h1 {
    margin: 0 0 2px 0;
    font-size: 1.72rem;
    letter-spacing: 0.01em;
}

h1:focus {
    outline: none;
}

.page-header p,
.login-card p {
    color: var(--text-dim);
}

.btn-primary {
    color: #ffffff;
    font-weight: 700;
    border-color: #165cbc;
    background: linear-gradient(130deg, #2e84ef 0%, #1f6fd9 56%, #175ab1 100%);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: #124f9f;
    background: linear-gradient(130deg, #3b8ff7 0%, #216fda 56%, #14529d 100%);
}

.btn-success {
    color: #2e2a12;
    font-weight: 700;
    border-color: #e6bc2f;
    background: linear-gradient(125deg, #ffe899 0%, #f8d34f 54%, #efc126 100%);
}

.btn-outline-primary {
    color: var(--blue);
    border-color: rgba(31, 111, 217, 0.5);
    background: rgba(255, 255, 255, 0.74);
}

.btn-outline-primary:hover {
    color: #0d4a9a;
    background: #edf4ff;
    border-color: rgba(31, 111, 217, 0.72);
}

.btn-outline-light {
    color: #7b651d;
    border-color: rgba(244, 200, 53, 0.7);
    background: rgba(255, 243, 196, 0.6);
}

.btn-outline-light:hover {
    color: #634e08;
    border-color: rgba(244, 200, 53, 0.92);
    background: rgba(255, 243, 196, 0.94);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.18rem rgba(77, 145, 235, 0.34);
}

.form-control,
.form-select {
    background: #ffffff;
    border-color: rgba(32, 93, 180, 0.25);
}

.form-inline-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 10px;
    align-items: end;
}

.form-inline-grid.fixed-plan {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.plan-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: end;
}

.plan-filter-fields {
    flex: 1 1 760px;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(100px, 0.55fr) minmax(120px, 0.7fr) minmax(120px, 0.7fr) minmax(170px, 1fr);
    gap: 8px;
    align-items: end;
}

.plan-filter-fields.fixed-plan {
    grid-template-columns: minmax(100px, 0.7fr) minmax(120px, 0.9fr) minmax(120px, 0.9fr);
}

.plan-filter-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
    justify-content: flex-end;
    align-items: end;
}

.plan-filter-actions .btn {
    white-space: nowrap;
}

.table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
}

.table-toolbar .toolbar-left,
.table-toolbar .toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.table-toolbar .form-control {
    min-width: 280px;
}

.filter-chip-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(31, 111, 217, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: #31517d;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
}

.filter-chip.filter-chip-accent {
    border-color: rgba(244, 200, 53, 0.8);
    background: rgba(255, 244, 201, 0.9);
    color: #6d580e;
}

.section-title {
    background: linear-gradient(120deg, rgba(237, 245, 255, 0.9), rgba(255, 246, 208, 0.85));
    border: 1px solid rgba(33, 99, 190, 0.24);
    border-radius: 12px;
    padding: 8px 10px;
    font-weight: 700;
    margin-bottom: 10px;
}

.table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(33, 99, 190, 0.16);
}

.table {
    margin: 0;
    color: var(--text-main);
}

.table th {
    background: rgba(33, 99, 190, 0.12);
    color: #214474;
}

.table td {
    background: rgba(255, 255, 255, 0.86);
}

.density-compact th,
.density-compact td {
    padding: 0.26rem 0.4rem !important;
    font-size: 0.78rem;
    line-height: 1.2;
}

.density-standard th,
.density-standard td {
    padding: 0.4rem 0.55rem !important;
}

.density-large th,
.density-large td {
    padding: 0.62rem 0.8rem !important;
    font-size: 0.98rem;
    line-height: 1.4;
}

.sticky-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.sticky-table .sticky-col {
    position: sticky;
    left: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.94));
    box-shadow: 1px 0 0 rgba(33, 99, 190, 0.14);
}

.sticky-table thead .sticky-col {
    z-index: 3;
    background: rgba(216, 232, 252, 0.98);
}

.line-col {
    min-width: 92px;
    white-space: nowrap;
    font-weight: 700;
}

.icon-row {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.menu-badges {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.food-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(33, 99, 190, 0.2);
    background: rgba(233, 243, 255, 0.84);
    border-radius: 999px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    font-size: 0.95rem;
}

.text-line {
    font-size: 12px;
    line-height: 1.36;
    margin-bottom: 3px;
}

.text-segment {
    white-space: pre-wrap;
}

.segment-klammer {
    font-size: 0.84em;
    color: #7b8799;
}

.segment-klammer-bio {
    color: #24824a;
    font-weight: 600;
}

.selection-head h2 {
    margin: 0;
    font-size: 1.22rem;
    letter-spacing: 0.01em;
}

.selection-head p {
    color: var(--text-dim);
}

.dashboard-month-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dashboard-month-card {
    text-align: left;
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(33, 99, 190, 0.24);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
}

.dashboard-month-card:hover:not(:disabled) {
    border-color: rgba(31, 111, 217, 0.48);
    background: rgba(255, 255, 255, 0.98);
}

.dashboard-month-card:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.dashboard-month-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.dashboard-month-top h2 {
    margin: 0;
    font-size: clamp(1.05rem, 1.1vw + 0.62rem, 1.18rem);
}

.frontend-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(16, 42, 84, 0.34);
    backdrop-filter: blur(4px);
}

.frontend-modal-card {
    width: min(700px, calc(100vw - 36px));
    max-height: min(86vh, 900px);
    overflow: auto;
    border-radius: 18px;
    border: 1px solid rgba(33, 99, 190, 0.18);
    background:
        radial-gradient(720px 260px at 0% 0%, rgba(69, 148, 255, 0.1), transparent 58%),
        radial-gradient(620px 240px at 100% 0%, rgba(244, 200, 53, 0.14), transparent 62%),
        rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(16, 42, 84, 0.18);
    backdrop-filter: blur(10px);
}

.frontend-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    padding: 14px 16px 12px 16px;
    border-bottom: 1px solid rgba(33, 99, 190, 0.12);
}

.frontend-modal-title-wrap h3 {
    margin: 0;
    font-size: 1.18rem;
}

.frontend-modal-subtitle {
    margin-top: 4px;
    color: var(--text-dim);
    font-size: 0.92rem;
}

.frontend-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(33, 99, 190, 0.14);
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-main);
    font-size: 1.4rem;
    line-height: 1;
}

.frontend-modal-body {
    padding: 14px 16px 16px 16px;
    display: grid;
    gap: 12px;
}

.frontend-modal-summary {
    padding: 12px 14px;
    border: 1px solid rgba(33, 99, 190, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

.frontend-modal-toggles {
    margin-left: 0;
}

.frontend-deklaration-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.frontend-deklaration-block {
    border: 1px solid rgba(33, 99, 190, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.84);
    padding: 10px 12px;
}

.frontend-deklaration-block-energy {
    background: rgba(240, 247, 255, 0.96);
    border-color: rgba(69, 148, 255, 0.26);
}

.frontend-deklaration-block strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.frontend-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.frontend-chip-row.compact {
    gap: 5px;
}

.frontend-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(33, 99, 190, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-main);
    padding: 2px 8px;
    font-size: 0.78rem;
    font-weight: 700;
}

.frontend-chip-energy {
    border-color: rgba(69, 148, 255, 0.26);
    background: rgba(235, 245, 255, 0.98);
    color: #22528d;
}

.frontend-component-toggle summary {
    cursor: pointer;
    color: var(--blue);
    font-weight: 700;
}

.frontend-component-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.frontend-component-row {
    display: grid;
    gap: 6px;
    border: 1px solid rgba(33, 99, 190, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.84);
    padding: 10px 12px;
}

.frontend-component-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.frontend-component-head span {
    color: var(--text-dim);
    font-size: 0.82rem;
    font-weight: 700;
}

.frontend-component-text {
    line-height: 1.45;
}

@media (max-width: 720px) {
    .frontend-modal-card {
        width: calc(100vw - 18px);
        max-height: 92vh;
    }
}

.dashboard-state {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.dashboard-month-meta {
    margin-top: 7px;
    font-size: 0.92rem;
    color: #34507c;
    line-height: 1.35;
}

.dashboard-month-meta strong {
    margin-right: 9px;
}

.dashboard-progress {
    margin-top: 10px;
}

.dashboard-progress-track {
    height: 12px;
    border-radius: 999px;
    background: rgba(31, 111, 217, 0.12);
    overflow: hidden;
}

.dashboard-progress-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #35ae72 0%, #1f6fd9 100%);
}

.dashboard-progress-label {
    margin-top: 4px;
    font-size: 0.8rem;
    color: #5f7396;
}

.dashboard-next {
    margin-top: 8px;
    font-size: 0.86rem;
    color: #203f6f;
}

.dashboard-month-card.done {
    border-color: rgba(39, 174, 96, 0.4);
    background: linear-gradient(140deg, rgba(214, 245, 228, 0.98), rgba(242, 255, 248, 0.98)) !important;
}

.dashboard-month-card.done .dashboard-state {
    color: #185d36;
    background: rgba(39, 174, 96, 0.16);
    border-color: rgba(39, 174, 96, 0.45);
}

.dashboard-month-card.open {
    border-color: rgba(179, 41, 62, 0.4);
    background: linear-gradient(140deg, rgba(253, 220, 226, 0.98), rgba(255, 242, 245, 0.98)) !important;
}

.dashboard-month-card.open .dashboard-state {
    color: #7c1f30;
    background: rgba(179, 41, 62, 0.12);
    border-color: rgba(179, 41, 62, 0.42);
}

.dashboard-month-card.partial {
    border-color: rgba(244, 200, 53, 0.65);
    background: linear-gradient(140deg, rgba(255, 238, 184, 0.98), rgba(255, 248, 225, 0.98)) !important;
}

.dashboard-month-card.partial .dashboard-state {
    color: #6b5508;
    background: rgba(244, 200, 53, 0.2);
    border-color: rgba(244, 200, 53, 0.58);
}

.dashboard-month-card.none .dashboard-state {
    color: #4f617a;
    background: rgba(145, 165, 193, 0.16);
    border-color: rgba(145, 165, 193, 0.45);
}

.dashboard-month-card.done:disabled {
    background: linear-gradient(140deg, rgba(214, 245, 228, 0.9), rgba(242, 255, 248, 0.9)) !important;
}

.dashboard-month-card.partial:disabled {
    background: linear-gradient(140deg, rgba(255, 238, 184, 0.9), rgba(255, 248, 225, 0.9)) !important;
}

.dashboard-month-card.open:disabled {
    background: linear-gradient(140deg, rgba(253, 220, 226, 0.9), rgba(255, 242, 245, 0.9)) !important;
}

.dashboard-month-card.done .dashboard-progress-track {
    background: rgba(39, 174, 96, 0.2);
}

.dashboard-month-card.done .dashboard-progress-track span {
    background: linear-gradient(90deg, var(--status-done) 0%, #2fc77a 100%);
}

.dashboard-month-card.partial .dashboard-progress-track {
    background: rgba(244, 200, 53, 0.28);
}

.dashboard-month-card.partial .dashboard-progress-track span {
    background: linear-gradient(90deg, var(--status-partial) 0%, #f5cc53 100%);
}

.dashboard-month-card.open .dashboard-progress-track {
    background: rgba(179, 41, 62, 0.2);
}

.dashboard-month-card.open .dashboard-progress-track span {
    background: linear-gradient(90deg, var(--status-open) 0%, #de5b73 100%);
}

.selection-head-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.selection-head-tools .form-select {
    width: 86px;
}

.selection-grid {
    --kacheln-pro-zeile: 3;
    display: grid;
    grid-template-columns: repeat(var(--kacheln-pro-zeile), minmax(0, 1fr));
    gap: 12px;
}

.day-card {
    border: 1px solid rgba(33, 99, 190, 0.26);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    padding: 12px 12px 10px 12px;
}

.day-card.day-invalid {
    border-color: rgba(179, 41, 62, 0.75);
    background: rgba(253, 232, 237, 0.8);
}

.day-card h3 {
    margin: 0;
    font-size: 1.02rem;
}

.day-card small {
    color: #4c6487;
}

.day-options {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.option-item {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(199, 218, 243, 0.75);
    border-radius: 9px;
    padding: 7px 8px;
    background: rgba(255, 255, 255, 0.94);
}

.option-item.selected {
    border-color: rgba(236, 184, 15, 0.78);
    background: rgba(255, 244, 201, 0.72);
}

.option-item.disabled {
    opacity: 0.62;
}

.option-item.disabled .option-text {
    color: #6f7f97;
}

.option-item.disabled .option-line {
    color: #6f7f97;
}

.option-item input[type="checkbox"] {
    margin: 0;
}

.option-line {
    font-weight: 700;
    min-width: 28px;
}

.option-text {
    display: block;
    font-size: 0.9rem;
    color: #334f79;
    white-space: normal;
    word-break: break-word;
}

.option-text .segment-klammer {
    color: #6f7f97;
}

.option-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.option-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.option-icon {
    line-height: 1;
}

.selection-actions {
    display: flex;
    justify-content: flex-end;
}

.accordion-vdm {
    display: grid;
    gap: 10px;
}

.accordion-item-vdm {
    border: 1px solid rgba(33, 99, 190, 0.22);
    border-radius: 14px;
    overflow: clip;
    background: rgba(255, 255, 255, 0.62);
}

.accordion-toggle-vdm {
    width: 100%;
    border: none;
    background: linear-gradient(125deg, rgba(239, 247, 255, 0.95), rgba(255, 248, 223, 0.92));
    color: #184073;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    text-align: left;
}

.accordion-toggle-vdm.open {
    box-shadow: inset 0 -1px 0 rgba(29, 94, 184, 0.18);
}

.accordion-icon {
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
}

.accordion-body-vdm {
    padding: 14px;
}

.alert {
    border: 1px solid rgba(41, 94, 166, 0.16);
}

.alert-info {
    color: #214779;
    background: rgba(204, 226, 253, 0.72);
}

.alert-danger {
    color: #7f1b2e;
    background: rgba(252, 216, 224, 0.84);
}

.alert-success {
    color: #385116;
    background: rgba(235, 246, 214, 0.9);
}

.empty-state {
    border: 1px dashed rgba(33, 99, 190, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    padding: 16px;
}

.empty-state h3,
.empty-state h4 {
    margin: 0 0 8px 0;
}

.empty-state p {
    margin: 0;
    color: var(--text-dim);
}

.empty-state-actions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.empty-state.empty-state-inline {
    padding: 12px;
}

.skeleton-block,
.skeleton-line,
.skeleton-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(186, 209, 241, 0.32);
}

.skeleton-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.skeleton-card {
    border: 1px solid rgba(33, 99, 190, 0.16);
    background: rgba(255, 255, 255, 0.85);
    padding: 12px;
}

.skeleton-line {
    height: 12px;
    margin-bottom: 10px;
}

.skeleton-line.w-50 {
    width: 50%;
}

.skeleton-line.w-70 {
    width: 70%;
}

.skeleton-block {
    width: 40%;
    height: 14px;
}

.skeleton-block::after,
.skeleton-line::after,
.skeleton-card::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
    animation: shimmer 1.35s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.toast-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1300;
    display: grid;
    gap: 8px;
    width: min(360px, calc(100vw - 32px));
}

.toast-card {
    position: relative;
    border-radius: 10px;
    border: 1px solid rgba(33, 99, 190, 0.28);
    background: rgba(244, 249, 255, 0.98);
    box-shadow: 0 14px 28px rgba(15, 42, 80, 0.28);
    padding: 12px 14px 12px 52px;
    color: #1d3f68;
    font-size: 0.96rem;
    line-height: 1.35;
}

.toast-card::before {
    content: "i";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    background: #2d77d8;
}

.toast-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.toast-card.toast-success {
    border-color: rgba(31, 159, 98, 0.65);
    background: rgba(235, 252, 243, 0.99);
}

.toast-card.toast-success::before {
    content: "✓";
    background: #179158;
}

.toast-card.toast-warn {
    border-color: rgba(226, 180, 36, 0.7);
    background: rgba(255, 247, 224, 0.99);
}

.toast-card.toast-warn::before {
    content: "!";
    background: #b98700;
}

.toast-card.toast-error {
    border-color: rgba(196, 63, 88, 0.74);
    background: rgba(255, 235, 239, 0.99);
}

.toast-card.toast-error::before {
    content: "✕";
    background: #b92845;
}

.toast-card.toast-info {
    border-color: rgba(33, 99, 190, 0.62);
    background: rgba(234, 245, 255, 0.99);
}

.text-muted {
    color: #6f7f99 !important;
}

@media (max-width: 1200px) {
    .plan-filter-fields,
    .plan-filter-fields.fixed-plan {
        grid-template-columns: repeat(3, minmax(130px, 1fr));
        flex-basis: 100%;
    }

    .plan-filter-actions {
        flex-basis: 100%;
        margin-left: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .form-inline-grid {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }

    .form-inline-grid.fixed-plan {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }

    .actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .selection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .table-toolbar .form-control {
        min-width: 220px;
    }
}

@media (max-width: 980px) {
    .plan-filter-fields,
    .plan-filter-fields.fixed-plan {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 760px) {
    .glass-page {
        width: 100%;
        max-width: 1320px;
        margin-top: 14px;
    }

    .page-card,
    .plan-card {
        padding: 12px;
        border-radius: 14px;
    }

    .plan-filter-fields,
    .plan-filter-fields.fixed-plan {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plan-filter-fields > :first-child {
        grid-column: 1 / -1;
    }

    .plan-filter-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .form-inline-grid {
        grid-template-columns: 1fr;
    }

    .selection-grid {
        grid-template-columns: 1fr;
    }

    .table-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .table-toolbar .toolbar-left,
    .table-toolbar .toolbar-right {
        width: 100%;
        justify-content: flex-start;
    }

    .table-toolbar .form-control {
        min-width: 0;
        width: 100%;
    }

    .selection-head-tools {
        flex-wrap: wrap;
    }

    .page-header {
        flex-direction: column;
    }

    .toast-stack {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 10px;
    }
}

