/* Custom CSS for Coop Platform */

/* TailwindCSS-like utility classes */
.bg-turq {background-color: #3fa0a9;}
.bg-gray-100 { background-color: #f3f4f6; }
.bg-info{background-color: #7ee8ff;}
.bg-white { background-color: white; }
.bg-lime { background-color: #223033; }
.bg-primary{background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;}
.shadow { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.text-gray-800 { color: #1f2937; }
.text-gray-500 { color: #6b7280; }
.text-gray-700 { color: #374151; }
.border-indigo-500 { border-color: #6366f1; }
.border-transparent { border-color: transparent; }
.hover\:text-gray-700:hover { color: #374151; }
.hover\:border-gray-300:hover { border-color: #d1d5db; }
.min-h-screen { min-height: 100vh; }
.max-w-7xl { max-width: 80rem; }
.max-w-30 { max-width: 30%; }
.max-w-70 { max-width: 70%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.h-16 { height: 4rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.flex-end { justify-content: flex-end; }
.align-start {align-content: flex-start !important;}
.flex-column {flex-direction: column !important;}
.justify-center { justify-content: center; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.navbar-brand { margin-right: 2rem !important; }
.nav-link { margin: 0 0.5rem !important; padding: 0.5rem 1rem !important; }
.btn-logout { background: none; border: none; color: #6b7280; padding: 0.5rem 1rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-xl { font-size: 1.25rem; }
.text-sm { font-size: 0.875rem; }
.hidden { display: none; }
.sm\:flex { display: flex; }
.inline-flex { display: inline-flex; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.pt-1 { padding-top: 0.25rem; }
.pl-2 { padding-left: 2rem; }
.border-b-2 { border-bottom-width: 2px; }
.ml-3 { margin-left: 0.75rem; }
.ml-10 { margin-left: 2.5rem; }
.sm\:ml-6 { margin-left: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.border { border-width: 1px; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-purple-50 { background-color: #faf5ff; }
.bg-yellow-50 { background-color: #fefce8; }
.bg-gray-50 { background-color: #f9fafb; }
.border-green-400 { border-color: #4ade80; }
.border-red-400 { border-color: #f87171; }
.text-green-700 { color: #15803d; }
.text-green-600 { color: #16a34a; }
.text-green-800 { color: #166534; }
.text-green-500 { color: #22c55e; }
.text-blue-600 { color: #2563eb; }
.text-blue-800 { color: #1e40af; }
.text-blue-500 { color: #3b82f6; }
.text-purple-600 { color: #9333ea; }
.text-purple-800 { color: #6b21a8; }
.text-purple-500 { color: #a855f7; }
.text-yellow-700 { color: #a16207; }
.text-yellow-800 { color: #92400e; }
.text-red-700 { color: #b91c1c; }
.bg-red-100 { background-color: #fee2e2; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-6 { margin-bottom: 6rem; }
.font-semibold { font-weight: 600; }
.text-lg { font-size: 1.125rem; }
.text-3xl { font-size: 1.875rem; }
.hover\:text-blue-800:hover { color: #1e40af; }
.hover\:text-purple-800:hover { color: #6b21a8; }
.font-mono { font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.shrink-0 { flex-shrink: 0; }
.sm\:-my-px { margin-top: -1px; margin-bottom: -1px; }
.relative { position: relative; }
.font-sans { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Navbar styles */
.navbar-brand-logo {
    display: flex;
    align-items: center;
}

.navbar-brand-logo img {
    height: 30px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
    font-weight: bold;
}

.card {
    border-radius: 8px !important;
    border: none !important;
    animation: fadeIn 0.3s ease-out;
}

.btn {
    border-radius: 5px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.form-control, .form-select {
    border-radius: 10px !important;
}

.form-control-lg {
    border-radius: 10px !important;
}

.alert {
    border-radius: 10px !important;
    border: none !important;
}

.progress {
    border-radius: 10px !important;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
}

.btn-primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

.btn-success:hover,
.btn-info:hover,
.btn-warning:hover,
.btn-danger:hover,
.btn-light:hover,
.btn-dark:hover,
.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-info:hover,
.btn-outline-warning:hover,
.btn-outline-danger:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}
.subscription-index .icons {
    width: 42px;
    height: 42px;
    text-align: center;
}
.bg-gradient {
    background-image: linear-gradient(45deg, var(--bs-bg-opacity, 1), rgba(255,255,255,0.1)) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.border-0 {
    border: none !important;
}

.bg-light {
    border-radius: 10px !important;
}

.badge {
    font-size: 14px !important;
    line-height: 1.4;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Улучшенные иконки */
.bi {
    vertical-align: -0.125em;
}

/* Стили для форм */
.form-floating > label {
    padding-left: 1rem;
}

.invalid-feedback {
    font-size: 0.875rem;
}

/* Навигация */
.navbar-brand:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Современная навигация */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.4rem 1rem !important;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* Футер */
footer {
    border-top: 1px solid #dee2e6;
}

/* Контейнер для липкого футера */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.min-h-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Таблицы */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    border-top: none;
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Пагинация */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: none;
}

/* Модальные окна */
.modal-content {
    border-radius: 15px;
    border: none;
}

/* Загрузочные состояния */
.btn:disabled {
    opacity: 0.6;
    transform: none !important;
}

/* Responsive улучшения */
@media (max-width: 768px) {
    .max-w-30 { max-width: 80%; }
    .lg\:px-8 { padding-left: 0.5rem; padding-right: 0.5rem }
    .p-5{padding: 2rem !important;}
    .container-fluid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .navbar-brand {
        margin-right: 0.5rem !important;
    }
    
    .card {
        border-radius: 10px !important;
    }
    
    .btn {
        font-size: 0.875rem;
    }
    .flex-md-column {
        flex-direction: column;
    }
}
/* =========================================================
   Lime dark theme (site-wide, matches homepage)
   ========================================================= */
.theme-dark {
    --home-bg: #070c0e;
    --home-surface: rgba(255, 255, 255, 0.04);
    --home-surface-2: rgba(255, 255, 255, 0.07);
    --home-border: rgba(255, 255, 255, 0.12);
    --home-text: #f3f4f6;
    --home-muted: rgba(255, 255, 255, 0.68);
    --home-accent: #7ee8ff;
    --home-btn: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --home-btn-hover: linear-gradient(135deg, #5558e6 0%, #7c4fe0 100%);
    color: var(--home-text);
    background: var(--home-bg);
}

.theme-dark .min-h-screen,
.theme-dark main,
.theme-dark .max-w-7xl {
    background: var(--home-bg) !important;
}

.theme-dark .bg-gray-100 {
    background-color: var(--home-bg) !important;
}

.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6,
.theme-dark .card-title,
.theme-dark .fw-bold {
    color: #fff;
}

.theme-dark .text-muted,
.theme-dark .text-secondary,
.theme-dark small,
.theme-dark .form-text {
    color: var(--home-muted) !important;
}

.theme-dark .text-dark {
    color: var(--home-text) !important;
}

.theme-dark a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):not(.page-link):not(.mobile-bottom-nav__item) {
    color: var(--home-accent);
}

.theme-dark a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):not(.page-link):not(.mobile-bottom-nav__item):hover {
    color: #a7f3d0;
}

.theme-dark .text-primary {
    color: var(--home-accent) !important;
}

/* Cards / surfaces */
.theme-dark .card {
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    color: var(--home-text);
    border-radius: 16px;
    box-shadow: none;
}

.theme-dark .card.shadow,
.theme-dark .card.shadow-sm,
.theme-dark .card.shadow-lg {
    box-shadow: none !important;
}

.theme-dark .card-header {
    background: rgba(255, 255, 255, 0.06) !important;
    border-bottom: 1px solid var(--home-border);
    color: #fff;
    border-radius: 16px 16px 0 0 !important;
}

.theme-dark .card-header.bg-primary,
.theme-dark .card-header.bg-success,
.theme-dark .bg-primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35) 0%, rgba(139, 92, 246, 0.35) 100%) !important;
    color: #fff !important;
}

.theme-dark .card-header.bg-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.28) 0%, rgba(16, 185, 129, 0.28) 100%) !important;
}

.theme-dark .card-body,
.theme-dark .card-footer {
    background: transparent;
    color: var(--home-text);
    border-color: var(--home-border);
}

.theme-dark .bg-light,
.theme-dark .card.bg-light {
    background: var(--home-surface-2) !important;
    color: var(--home-text) !important;
    border-color: var(--home-border) !important;
}

.theme-dark .bg-white {
    background: var(--home-surface) !important;
    color: var(--home-text) !important;
}

.theme-dark .border,
.theme-dark .border-success,
.theme-dark .border-primary {
    border-color: var(--home-border) !important;
}

.theme-dark .card.border-success {
    border-color: rgba(126, 232, 255, 0.35) !important;
}

/* Buttons */
.theme-dark .btn {
    border-radius: 12px;
    font-weight: 600;
}

.theme-dark .btn-primary {
    color: #fff !important;
    background: var(--home-btn) !important;
    border: 1px solid transparent !important;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.28);
}

.theme-dark .btn-primary:hover,
.theme-dark .btn-primary:focus {
    color: #fff !important;
    background: var(--home-btn-hover) !important;
    transform: translateY(-1px);
}

.theme-dark .btn-success {
    color: #fff !important;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    border: none !important;
}

.theme-dark .btn-outline-primary,
.theme-dark .btn-outline-light,
.theme-dark .btn-outline-success,
.theme-dark .btn-outline-secondary {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
}

.theme-dark .btn-outline-primary:hover,
.theme-dark .btn-outline-light:hover,
.theme-dark .btn-outline-success:hover,
.theme-dark .btn-outline-secondary:hover {
    color: #070c0e !important;
    background: #fff !important;
    border-color: #fff !important;
}

.theme-dark .btn-secondary {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid var(--home-border) !important;
}

.theme-dark .btn-light {
    color: #111827 !important;
    background: #fff !important;
    border: none !important;
}

.theme-dark .btn-link {
    color: var(--home-accent) !important;
}

/* Forms */
.theme-dark .form-control,
.theme-dark .form-select,
.theme-dark .input-group-text {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--home-border);
    color: var(--home-text);
}

.theme-dark .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.theme-dark .form-control:focus,
.theme-dark .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(126, 232, 255, 0.55);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(126, 232, 255, 0.15);
}

.theme-dark .form-label,
.theme-dark .form-check-label {
    color: var(--home-text);
}

.theme-dark .form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
}

.theme-dark .form-check-input:checked {
    background-color: #6366f1;
    border-color: #6366f1;
}

/* Tables */
.theme-dark .table {
    color: var(--home-text);
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-hover-bg: rgba(126, 232, 255, 0.06);
    --bs-table-border-color: var(--home-border);
}

.theme-dark .table th {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #fff;
    border-color: var(--home-border);
}

.theme-dark .table td {
    border-color: var(--home-border);
}

.theme-dark .table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.03);
    color: var(--home-text);
}

/* Alerts */
.theme-dark .alert-info {
    background: rgba(126, 232, 255, 0.1);
    border-color: rgba(126, 232, 255, 0.25);
    color: #d9f7ff;
}

.theme-dark .alert-success {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
    color: #bbf7d0;
}

.theme-dark .alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fde68a;
}

.theme-dark .alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fecaca;
}

/* Flash utility boxes in layout */
.theme-dark .bg-green-100 {
    background: rgba(34, 197, 94, 0.12) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
    color: #bbf7d0 !important;
}

.theme-dark .bg-red-100 {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #fecaca !important;
}

.theme-dark .text-green-700,
.theme-dark .text-red-700 {
    color: inherit !important;
}

/* Badges */
.theme-dark .badge.bg-success {
    background: rgba(16, 185, 129, 0.85) !important;
}

.theme-dark .badge.bg-primary {
    background: rgba(99, 102, 241, 0.9) !important;
}

.theme-dark .badge.bg-secondary {
    background: rgba(255, 255, 255, 0.18) !important;
}

/* Modals */
.theme-dark .modal-content {
    background: #10181b;
    color: var(--home-text);
    border: 1px solid var(--home-border);
}

.theme-dark .modal-header,
.theme-dark .modal-footer {
    border-color: var(--home-border);
}

.theme-dark .modal-title {
    color: #fff;
}

.theme-dark .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.7;
}

/* Dropdowns */
.theme-dark .dropdown-menu {
    background: #121a1d;
    border: 1px solid var(--home-border);
}

.theme-dark .dropdown-item {
    color: var(--home-text);
}

.theme-dark .dropdown-item:hover,
.theme-dark .dropdown-item:focus {
    background: rgba(126, 232, 255, 0.1);
    color: #fff;
}

.theme-dark .dropdown-divider {
    border-color: var(--home-border);
}

/* List group / nav tabs */
.theme-dark .list-group-item {
    background: var(--home-surface);
    border-color: var(--home-border);
    color: var(--home-text);
}

.theme-dark .nav-tabs {
    border-bottom-color: var(--home-border);
}

.theme-dark .nav-tabs .nav-link {
    color: var(--home-muted);
}

.theme-dark .nav-tabs .nav-link.active {
    background: var(--home-surface);
    border-color: var(--home-border) var(--home-border) var(--home-bg);
    color: #fff;
}

/* Pagination */
.theme-dark .pagination .page-link {
    background: var(--home-surface);
    color: var(--home-text);
    border: 1px solid var(--home-border);
}

.theme-dark .pagination .page-item.active .page-link {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.theme-dark .pagination .page-item.disabled .page-link {
    background: transparent;
    color: rgba(255, 255, 255, 0.35);
}

/* Code / hr */
.theme-dark code {
    background: rgba(255, 255, 255, 0.08);
    color: #a7f3d0;
    padding: 2px 6px;
    border-radius: 4px;
}

.theme-dark hr {
    border-color: var(--home-border);
    opacity: 1;
}

/* Footer */
.theme-dark footer {
    background: #05090a !important;
    border-top: 1px solid var(--home-border);
}

.theme-dark footer .text-muted,
.theme-dark footer a {
    color: rgba(255, 255, 255, 0.65) !important;
}

.theme-dark footer a:hover {
    color: var(--home-accent) !important;
}

/* Mobile bottom nav */
.theme-dark .mobile-bottom-nav {
    background: #0b1214;
    border-top: 1px solid var(--home-border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
}

.theme-dark .mobile-bottom-nav__item {
    color: rgba(255, 255, 255, 0.55);
}

.theme-dark .mobile-bottom-nav__item.active {
    color: var(--home-accent);
}

/* Shared content blocks (homepage vocabulary) */
.theme-dark .home-block,
.theme-dark .about-block {
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    padding: 1.75rem;
}

@media (min-width: 992px) {
    .theme-dark .home-block,
    .theme-dark .about-block {
        padding: 2.25rem;
    }
}

.theme-dark .home-heading,
.theme-dark .about-title {
    color: #fff;
    font-weight: 700;
}

.theme-dark .home-text,
.theme-dark .about-text {
    color: var(--home-muted);
}

.theme-dark .home-badge,
.theme-dark .about-label {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: rgba(126, 232, 255, 0.1);
    border: 1px solid rgba(126, 232, 255, 0.22);
    color: var(--home-accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.theme-dark .about-feature {
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    color: var(--home-text);
}

.theme-dark .about-feature h6 {
    color: #fff;
}

.theme-dark .about-feature__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--home-border);
    color: var(--home-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.theme-dark .about-feature--wide {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.theme-dark .about-feature--wide .about-feature__icon {
    margin-bottom: 0;
}

.theme-dark .home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 10.5rem;
    padding: 0.7rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    line-height: 1.25;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.theme-dark .home-btn--primary {
    color: #fff !important;
    background: var(--home-btn);
    border: 1px solid transparent;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.28);
}

.theme-dark .home-btn--primary:hover {
    color: #fff !important;
    background: var(--home-btn-hover);
    transform: translateY(-1px);
}

.theme-dark .home-btn--ghost {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.theme-dark .home-btn--ghost:hover {
    color: #070c0e !important;
    background: #fff;
    border-color: #fff;
}

.theme-dark .home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    width: 100%;
}

.theme-dark .home-actions--stack {
    flex-direction: column;
}

.theme-dark .home-actions--stack .home-btn {
    width: 100%;
    min-width: 0;
}

/* Progress bars / misc bootstrap light wrappers */
.theme-dark .progress {
    background: rgba(255, 255, 255, 0.08);
}

.theme-dark .accordion-item {
    background: var(--home-surface);
    border-color: var(--home-border);
    color: var(--home-text);
}

.theme-dark .accordion-button {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.theme-dark .accordion-button:not(.collapsed) {
    background: rgba(126, 232, 255, 0.08);
    color: #fff;
    box-shadow: none;
}

.theme-dark .accordion-button::after {
    filter: invert(1);
}

.theme-dark .accordion-body {
    background: transparent;
    color: var(--home-muted);
}

.theme-dark .list-group-flush .list-group-item {
    background: transparent;
}

.theme-dark .badge.bg-warning,
.theme-dark .badge.text-dark,
.theme-dark .text-dark.badge {
    color: #111827 !important;
}

.theme-dark .btn-light,
.theme-dark .btn-warning {
    color: #111827 !important;
}

.theme-dark .text-white-50 {
    color: rgba(255, 255, 255, 0.55) !important;
}

.theme-dark .opacity-75 {
    opacity: 0.75 !important;
    color: var(--home-muted);
}
