.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}
.app-modern {
    --ui-font: "Manrope", "Helvetica Neue", Helvetica, sans-serif;
    --ui-display: "Cormorant Garamond", Georgia, serif;
    --ui-bg: #f7f1e8;
    --ui-bg-alt: #eef5f2;
    --ui-surface: rgba(255, 255, 255, 0.94);
    --ui-muted: #6b7280;
    --ui-text: #1f2933;
    --ui-border: #e7ddd2;
    --ui-border-strong: #d8cab8;
    --ui-primary: #1f7a6b;
    --ui-primary-strong: #165e54;
    --ui-accent: #d87a4c;
    --ui-success: #178f6a;
    --ui-danger: #c05621;
    --ui-warning: #c0842c;
    --ui-shadow: 0 18px 48px rgba(45, 34, 22, 0.1);
    font-family: var(--ui-font);
    background: var(--ui-bg);
    color: var(--ui-text);
}

body.app-modern {
    background:
        radial-gradient(circle at top left, rgba(216, 122, 76, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(31, 122, 107, 0.12), transparent 24%),
        linear-gradient(135deg, var(--ui-bg) 0%, #fbf7f2 48%, var(--ui-bg-alt) 100%);
}

.app-modern .c-app,
.app-modern .c-body,
.app-modern .c-wrapper {
    background: var(--ui-bg);
    color: var(--ui-text);
}

.app-modern .c-header {
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid var(--ui-border);
    box-shadow: 0 14px 30px rgba(45, 34, 22, 0.06);
    backdrop-filter: blur(14px);
}

.app-modern .c-header .c-header-brand {
    color: var(--ui-text);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.app-modern .c-sidebar {
    background:
        linear-gradient(180deg, rgba(18, 49, 67, 0.96), rgba(27, 92, 88, 0.96)),
        linear-gradient(180deg, #123143, #1f7a6b);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 18px 0 40px rgba(18, 49, 67, 0.18);
}

.app-modern .c-sidebar-brand {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 16px;
}

.app-modern .c-sidebar-brand-full {
    color: #fff7f0;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.app-modern .c-sidebar-nav {
    padding: 14px 0 18px;
}

.app-modern .c-sidebar-nav-item,
.app-modern .c-sidebar-nav-dropdown {
    margin: 0 10px 6px;
}

.app-modern .c-sidebar-nav-link,
.app-modern .c-sidebar-nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 247, 240, 0.84) !important;
    border-radius: 14px;
    padding: 11px 14px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    font-weight: 700;
}

.app-modern .c-sidebar-nav-link:hover,
.app-modern .c-sidebar-nav-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff7f0 !important;
    text-decoration: none;
    transform: translateX(2px);
}

.app-modern .c-sidebar-nav-link:hover .c-sidebar-nav-icon,
.app-modern .c-sidebar-nav-dropdown-toggle:hover .c-sidebar-nav-icon {
    color: #f7c998 !important;
}

.app-modern .c-sidebar-nav-link.c-active {
    background: linear-gradient(135deg, rgba(247, 201, 152, 0.22), rgba(216, 122, 76, 0.22));
    color: #fff7f0 !important;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.app-modern .c-sidebar-nav-icon {
    min-width: 16px;
    color: rgba(255, 247, 240, 0.82) !important;
    opacity: 1;
    text-align: center;
}

.app-modern .c-sidebar-nav-link.c-active .c-sidebar-nav-icon,
.app-modern .c-sidebar-nav-dropdown-toggle.c-active .c-sidebar-nav-icon {
    color: #f7c998 !important;
}

.app-modern .c-sidebar-nav-link .c-sidebar-nav-icon,
.app-modern .c-sidebar-nav-dropdown-toggle .c-sidebar-nav-icon {
    color: rgba(255, 247, 240, 0.78) !important;
}

.app-modern .sidebar-link-label {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    line-height: 1.3;
}

.app-modern .c-sidebar-nav-dropdown-items .c-sidebar-nav-link {
    color: rgba(255, 247, 240, 0.84) !important;
    font-weight: 700;
}

.app-modern .c-sidebar-nav-dropdown-items {
    margin-top: 6px;
    padding-left: 8px;
}

.app-modern .sidebar-search-wrap {
    padding: 14px 16px 6px;
}

.app-modern .sidebar-search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-modern .sidebar-search-icon {
    color: rgba(255, 247, 240, 0.72);
    font-size: 0.9rem;
}

.app-modern .sidebar-search-input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff7f0;
    font-size: 0.92rem;
    font-weight: 600;
}

.app-modern .sidebar-search-input::placeholder {
    color: rgba(255, 247, 240, 0.52);
}

.app-modern .sidebar-search-empty {
    margin: 2px 16px 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 247, 240, 0.74);
    font-size: 0.85rem;
    font-weight: 600;
}

.app-modern .c-main {
    padding-top: 18px;
    background: transparent;
}

.app-modern .container-fluid {
    max-width: 1280px;
}

.app-modern .card {
    border-radius: 20px;
    border: 1px solid var(--ui-border);
    box-shadow: var(--ui-shadow);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
}

.app-modern .card-header {
    background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(255, 255, 255, 0.96));
    border-bottom: 1px solid var(--ui-border);
    font-family: var(--ui-display);
    font-weight: 700;
    font-size: 1.55rem;
    color: var(--ui-text);
}

.app-modern .form-control,
.app-modern .custom-select,
.app-modern .select2-container .select2-selection--single,
.app-modern .select2-container .select2-selection--multiple {
    border-radius: 10px;
    border-color: var(--ui-border);
    min-height: 40px;
}

.app-modern .form-control:focus,
.app-modern .custom-select:focus,
.app-modern .select2-container--default .select2-selection--single:focus,
.app-modern .select2-container--default .select2-selection--multiple:focus {
    border-color: var(--ui-primary);
    box-shadow: 0 0 0 0.2rem rgba(31, 122, 107, 0.15);
}

.app-modern .btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.5rem 1rem;
}

.app-modern .btn-primary {
    background: linear-gradient(135deg, var(--ui-primary), var(--ui-accent));
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(31, 122, 107, 0.18);
}

.app-modern .btn-primary:hover {
    background: linear-gradient(135deg, var(--ui-primary-strong), #c96f43);
    border-color: transparent;
}

.app-modern .btn-danger {
    background: var(--ui-danger);
    border-color: var(--ui-danger);
}

.app-modern .btn-outline-secondary {
    border-color: var(--ui-border-strong);
    color: var(--ui-text);
    background: rgba(255, 255, 255, 0.8);
}

.app-modern .table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--ui-border);
    background: var(--ui-surface);
}

.app-modern .table th,
.app-modern .table td {
    padding: 0.5rem 0.65rem;
    vertical-align: middle;
}

.app-modern .table thead th {
    background: #f6efe6;
    color: var(--ui-text);
    border-bottom: 1px solid var(--ui-border);
    font-weight: 700;
}

.app-modern .table tbody tr:hover {
    background: rgba(31, 122, 107, 0.04);
}

.app-modern .alert {
    border-radius: 12px;
}

.app-modern .badge {
    border-radius: 999px;
    padding: 0.35em 0.75em;
    font-weight: 600;
}

.app-modern .pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    color: var(--ui-text);
}

.app-modern .pagination .page-item.active .page-link {
    background: var(--ui-primary);
    border-color: var(--ui-primary);
}

.app-modern .invalid-feedback {
    font-size: 0.85rem;
}

.app-modern .dropdown-menu {
    border-radius: 12px;
    border-color: var(--ui-border);
    box-shadow: var(--ui-shadow);
}

.app-modern .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: rgba(31, 122, 107, 0.12);
    border: 1px solid rgba(31, 122, 107, 0.18);
    color: var(--ui-primary-strong);
    border-radius: 999px;
}

.app-modern .table.datatable {
    border-collapse: separate;
    border-spacing: 0;
}

.app-modern table.dataTable thead th {
    border-bottom: 1px solid var(--ui-border);
}

.app-modern .dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid var(--ui-border);
}

.app-modern .btn-default {
    background: #f8fafc;
    border-color: var(--ui-border);
}

.app-modern .btn-default:hover {
    background: #eef2f7;
    border-color: var(--ui-border-strong);
}

.app-modern .c-header-nav-link {
    color: var(--ui-text);
}

.app-modern .c-header-nav-link:hover {
    color: var(--ui-primary-strong);
}

.app-modern .c-header-toggler {
    color: var(--ui-text);
}

.app-modern .c-header-toggler:hover {
    color: var(--ui-primary-strong);
}

.app-modern .page-actions {
    margin-bottom: 16px;
}

.app-modern .page-actions .btn + .btn {
    margin-left: 8px;
}

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

.app-modern .filter-panel {
    border: 1px solid var(--ui-border);
    background: #f8fafc;
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex: 1 1 420px;
}

.app-modern .filter-panel__title {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ui-muted);
    font-weight: 600;
    margin-bottom: 0;
    min-width: 72px;
}

.app-modern .filter-panel__grid .form-control {
    background: #ffffff;
}

.app-modern .filter-panel__grid {
    flex: 1;
}

.app-modern .filter-panel .mb-2 {
    margin-bottom: 0.4rem !important;
}

.app-modern .filter-panel .form-row {
    margin-left: -4px;
    margin-right: -4px;
}

.app-modern .filter-panel .form-row > [class*="col-"] {
    padding-left: 4px;
    padding-right: 4px;
}

.app-modern .filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
}

.app-modern .table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 16px;
    justify-content: flex-start;
}

.app-modern .action-buttons {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
    justify-content: flex-start;
}

.app-modern .action-buttons form {
    margin: 0;
}

.app-modern .page-actions .btn,
.app-modern .filter-actions .btn,
.app-modern .table-actions .btn,
.app-modern .action-buttons .btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.app-modern .table thead th:first-child,
.app-modern .table tbody td:first-child {
    width: 1%;
    white-space: nowrap;
}

.app-modern .action-buttons .btn {
    padding: 0.25rem 0.55rem;
    font-size: 0.78rem;
}

.app-modern .action-buttons .btn-icon {
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-modern .action-buttons .btn-icon i {
    font-size: 0.85rem;
}

.app-modern .action-buttons .action-view {
    border-color: rgba(31, 122, 107, 0.3);
    color: #1f7a6b;
}

.app-modern .action-buttons .action-edit {
    border-color: rgba(216, 122, 76, 0.32);
    color: #d87a4c;
}

.app-modern .action-buttons .action-delete {
    border-color: rgba(220, 38, 38, 0.35);
    color: #dc2626;
}

.app-modern .action-buttons .action-view:hover {
    background: rgba(31, 122, 107, 0.12);
    color: #165e54;
    border-color: rgba(31, 122, 107, 0.42);
}

.app-modern .action-buttons .action-edit:hover {
    background: rgba(216, 122, 76, 0.12);
    color: #ba6035;
    border-color: rgba(216, 122, 76, 0.42);
}

.app-modern .action-buttons .action-delete:hover {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.5);
}

.app-modern .action-buttons .btn-outline-primary,
.app-modern .action-buttons .btn-outline-secondary,
.app-modern .action-buttons .btn-outline-danger {
    background: #ffffff;
}

.app-modern .action-buttons .btn:hover,
.app-modern .page-actions .btn:hover,
.app-modern .filter-actions .btn:hover,
.app-modern .table-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.app-modern .action-buttons .btn-outline-secondary {
    border-color: #ddc8b5;
    color: #1f2937;
}

.app-modern .action-buttons .btn-outline-secondary:hover {
    background: rgba(31, 122, 107, 0.08);
    border-color: rgba(31, 122, 107, 0.2);
    color: var(--ui-primary-strong);
}

.app-modern .action-buttons .btn-outline-danger:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: #b91c1c;
}

.app-modern .user-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.app-modern .user-chip__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ui-primary), var(--ui-accent));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.app-modern .brand-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-modern .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7c998, #d87a4c);
    color: #1d2d35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.app-modern .brand-title {
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.app-modern .c-header {
    height: 64px;
}

.app-modern .c-header-nav-item {
    margin-left: 8px;
}

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

.app-modern .content-stack > * {
    animation: riseFade 0.5s ease both;
}

.app-modern .content-stack > *:nth-child(2) {
    animation-delay: 0.05s;
}

.app-modern .content-stack > *:nth-child(3) {
    animation-delay: 0.1s;
}

.app-modern .content-stack > *:nth-child(4) {
    animation-delay: 0.15s;
}

.app-modern .content-stack > *:nth-child(5) {
    animation-delay: 0.2s;
}

.app-modern .content-stack > *:nth-child(6) {
    animation-delay: 0.25s;
}

.app-modern .content-stack > *:nth-child(7) {
    animation-delay: 0.3s;
}

.app-modern .content-stack > *:nth-child(8) {
    animation-delay: 0.35s;
}

.app-modern .admin-page-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 24px 26px;
    border: 1px solid var(--ui-border);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(250, 244, 236, 0.94));
    box-shadow: var(--ui-shadow);
}

.app-modern .admin-page-hero__eyebrow {
    margin-bottom: 10px;
    color: var(--ui-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.app-modern .admin-page-hero__title {
    margin: 0;
    font-family: var(--ui-display);
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ui-text);
}

.app-modern .admin-page-hero__copy {
    margin: 12px 0 0;
    max-width: 720px;
    color: var(--ui-muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

.app-modern .admin-page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.app-modern .admin-stat-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ui-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--ui-shadow);
    padding: 22px;
}

.app-modern .admin-stat-card::after {
    content: "";
    position: absolute;
    inset: auto -24px -40px auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 122, 107, 0.12), transparent 64%);
}

.app-modern .admin-stat-card__icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(31, 122, 107, 0.12), rgba(216, 122, 76, 0.14));
    color: var(--ui-primary);
    font-size: 1rem;
    margin-bottom: 14px;
}

.app-modern .admin-stat-card__label {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ui-muted);
    font-weight: 800;
}

.app-modern .admin-stat-card__value {
    margin-top: 10px;
    font-family: var(--ui-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ui-text);
}

.app-modern .admin-stat-card__hint {
    margin: 12px 0 0;
    color: var(--ui-muted);
    line-height: 1.65;
}

.app-modern .admin-module-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 20px;
    border: 1px solid var(--ui-border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 241, 232, 0.86));
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.app-modern .admin-module-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
    border-color: rgba(31, 122, 107, 0.28);
    box-shadow: 0 16px 28px rgba(31, 122, 107, 0.08);
}

.app-modern .admin-module-card__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(31, 122, 107, 0.12), rgba(216, 122, 76, 0.14));
    color: var(--ui-primary);
}

.app-modern .admin-module-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ui-text);
}

.app-modern .admin-module-card__copy {
    color: var(--ui-muted);
    line-height: 1.7;
}

.app-modern .admin-summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.app-modern .admin-summary-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(216, 202, 184, 0.55);
}

.app-modern .admin-summary-list li:last-child {
    border-bottom: 0;
}

.app-modern .admin-summary-list span {
    color: var(--ui-muted);
    font-weight: 600;
}

.app-modern .admin-summary-list strong {
    color: var(--ui-text);
    font-size: 1rem;
}

.app-modern .admin-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.app-modern .admin-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--ui-text);
}

.app-modern .admin-checklist i {
    margin-top: 0.2rem;
    color: var(--ui-primary);
}

.app-modern .admin-placeholder-state {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.app-modern .admin-placeholder-state__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(31, 122, 107, 0.12);
    color: var(--ui-primary-strong);
    font-weight: 800;
    letter-spacing: 0.03em;
}

.app-modern .admin-mini-card {
    height: 100%;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--ui-border);
    background: rgba(255, 255, 255, 0.82);
}

.app-modern .admin-mini-card__icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(31, 122, 107, 0.1);
    color: var(--ui-primary);
    margin-bottom: 12px;
}

.app-modern .admin-mini-card__title {
    font-weight: 800;
    color: var(--ui-text);
}

.app-modern .admin-mini-card__copy {
    margin: 10px 0 0;
    color: var(--ui-muted);
    line-height: 1.65;
    font-size: 0.92rem;
}

.app-modern .admin-settings-card__copy {
    margin: 0 0 16px;
    color: var(--ui-muted);
    line-height: 1.7;
}

.app-modern .admin-settings-switches {
    display: grid;
    gap: 14px;
    margin-top: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .app-modern .content-stack > * {
        animation: none;
    }
}

.login-page .auth-shell {
    display: flex;
    align-items: center;
}

.login-page .auth-panel {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 0;
}

.login-page .auth-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(45, 34, 22, 0.14);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.login-page .auth-card__header {
    padding: 34px 34px 18px;
    background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(255, 255, 255, 0.94));
    border-bottom: 1px solid rgba(231, 221, 210, 0.9);
}

.login-page .auth-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--ui-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.login-page .auth-title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: #1f2933;
}

.login-page .auth-subtitle {
    margin: 12px 0 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
}

.login-page .auth-card__body {
    padding: 28px 34px 34px;
}

.login-page .auth-stack {
    display: grid;
    gap: 16px;
}

.login-page .auth-field {
    border: 1px solid rgba(196, 181, 164, 0.5);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    padding: 14px 18px;
}

.login-page .auth-field label,
.login-page .auth-label {
    display: block;
    margin: 0 0 8px;
    color: #7b8794;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.login-page .auth-field .form-control {
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none !important;
    font-weight: 600;
}

.login-page .auth-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 8px;
}

.login-page .auth-link {
    color: var(--ui-primary);
    font-weight: 700;
    text-decoration: none;
}

.login-page .auth-link:hover {
    color: var(--ui-primary-strong);
    text-decoration: none;
}

.login-page .auth-submit {
    min-width: 170px;
}

.login-page .auth-helper {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(203, 213, 224, 0.7);
    color: #7b8794;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 575.98px) {
    .login-page .auth-card__header,
    .login-page .auth-card__body {
        padding-left: 22px;
        padding-right: 22px;
    }

    .login-page .auth-title {
        font-size: 34px;
    }

    .login-page .auth-actions > * {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .app-modern .admin-page-hero {
        flex-direction: column;
    }

    .app-modern .admin-page-hero__actions {
        justify-content: flex-start;
    }
}


