:root {
    --portal-bg-start: #f9fbff;
    --portal-bg-end: #eef2fb;
    --portal-surface: #ffffff;
    --portal-surface-soft: #f5f7ff;
    --portal-border: rgba(15, 23, 42, 0.08);
    --portal-text: #0f172a;
    --portal-muted: #475569;
    --portal-highlight: #2563eb;
    --portal-radius: 0.75rem;
    --portal-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.06);
    --portal-input-bg: #ffffff;
    --portal-input-border: rgba(15, 23, 42, 0.18);
    --portal-input-border-hover: rgba(37, 99, 235, 0.4);
    --portal-input-border-focus: rgba(37, 99, 235, 0.65);
    --portal-input-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.12);
    --portal-input-radius: 0.5rem;
    --portal-input-padding-y: 0.5rem;
    --portal-input-padding-x: 0.85rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* UX/UI улучшения для согласованности */
.section-title {
    font-weight: 600;
    color: var(--portal-text);
    margin-bottom: 1rem;
}

/* Улучшенные формы */
.form-label {
    font-weight: 500;
    color: var(--portal-text);
    margin-bottom: 0.5rem;
}

.form-label i {
    width: 16px;
    text-align: center;
}

/* Визуальные разделители */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.form-section:not(:last-child) {
    border-bottom: 1px solid var(--portal-border);
}

/* Улучшенные алерты */
.alert {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.alert-info {
    background: rgba(13, 202, 240, 0.1);
    color: #0c5460;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #664d03;
}

.alert-success {
    background: rgba(25, 135, 84, 0.1);
    color: #0a3622;
}

/* Улучшенные кнопки для согласованности */
.btn {
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all var(--response-time, 200ms) ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-primary {
    background: var(--portal-highlight);
    border-color: var(--portal-highlight);
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* Улучшенные input группы */
.input-group-text {
    background: var(--portal-surface-soft);
    border-color: var(--portal-input-border);
    color: var(--portal-muted);
}

/* Страница аутентификации */
.page-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--portal-bg-start) 0%, var(--portal-bg-end) 100%);
}

.auth-card {
    max-width: 440px;
    width: 100%;
    margin: 2rem;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

/* Premium Analytics Platform Navbar */
.global-navbar {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 80px;
}

/* Brand Styling */
.brand-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    border-radius: 12px;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.brand-text .fw-bold {
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

/* Module Navigation */
.module-nav {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-module {
    position: relative;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-module .nav-link {
    color: rgba(255, 255, 255, 0.8);
    border: none;
    min-width: 140px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-module .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.nav-module.active .nav-link {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.nav-module.active .nav-link:hover,
.nav-module.active .nav-link:focus-visible {
    background: linear-gradient(45deg, #5aa0ff, #2f6de5);
    color: white;
    box-shadow: 0 12px 32px rgba(47, 109, 229, 0.4);
}

.module-icon {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

.module-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}

.module-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
    line-height: 1;
}

.module-indicator {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

/* Action Buttons */
.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-success {
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.btn-outline-success:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    transform: translateY(-1px);
}

/* User Menu */
.user-menu .btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-avatar {
    font-size: 1.5rem;
}

.user-info .user-name {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}

.user-info .user-role {
    font-size: 0.75rem;
    line-height: 1;
}

.avatar-lg {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
}

/* Dropdown Improvements */
.dropdown-menu {
    border-radius: 16px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    overflow: hidden;
}

.dropdown-item {
    border-radius: 8px;
    margin: 0;
    padding: 0.6rem 0.75rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    box-shadow: inset 0 0 0 1px rgba(var(--bs-primary-rgb), 0.2);
}

/* Status Badges */
.badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
    font-weight: 600;
}

/* Mobile Responsive Enhancements */
@media (max-width: 991.98px) {
    .global-navbar {
        min-height: 70px;
    }
    
    .brand-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .brand-text .fw-bold {
        font-size: 1.1rem;
    }
    
    .module-nav {
        background: transparent;
        border: none;
        padding: 0;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .nav-module .nav-link {
        min-width: auto;
        width: 100%;
        justify-content: flex-start;
        padding: 12px 16px;
    }
}

/* Enhanced Mobile Experience */
@media (max-width: 767.98px) {
    /* Typography scaling */
    .display-6 {
        font-size: 1.5rem;
    }
    
    .h3 {
        font-size: 1.35rem;
    }
    
    /* Card improvements */
    .card-body {
        padding: 1rem;
    }
    
    .analytics-card .card-body {
        padding: 1.25rem 1rem;
    }
    
    /* Form improvements */
    .form-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .input-group-lg > .form-control,
    .input-group-lg > .form-select,
    .input-group-lg > .input-group-text {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    /* Button improvements */
    .btn-group-sm > .btn,
    .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Table responsiveness */
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .table td,
    .table th {
        padding: 0.5rem;
    }
    
    /* Job cards mobile layout */
    .job-status-card .card-body {
        padding: 1rem;
    }
    
    .job-header h5 {
        font-size: 1rem;
    }
    
    .job-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    
    .job-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .job-actions .btn {
        justify-content: center;
    }
    
    /* Analytics cards mobile layout */
    .analytics-card {
        margin-bottom: 1rem;
    }
    
    .analytics-value h3 {
        font-size: 1.75rem;
    }
    
    .analytics-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .analytics-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Filter panel mobile */
    .filter-panel .row {
        margin: 0;
    }
    
    .filter-panel .col-md-3,
    .filter-panel .col-md-6 {
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .filter-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-actions > div {
        width: 100%;
    }
    
    .filter-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Page header mobile */
    .page-header .container {
        padding: 1rem 1rem;
    }
    
    .page-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    .page-actions {
        width: 100%;
    }
    
    .page-actions .btn {
        flex: 1;
        min-width: 0;
    }
    
    .page-stats {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    /* Upload form mobile */
    .upload-form-wrapper .card-header {
        padding: 1rem;
    }
    
    .upload-form-wrapper .card-body {
        padding: 1rem;
    }
    
    .file-drop-zone {
        padding: 2rem 1rem;
    }
    
    .form-actions {
        flex-direction: column-reverse;
        gap: 1rem;
    }
    
    .action-buttons {
        width: 100%;
    }
    
    .action-buttons .btn {
        flex: 1;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .nav-link:hover,
    .breadcrumb-link:hover,
    .dropdown-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        padding: 0.625rem 1rem;
    }
    
    .btn-sm {
        min-height: 36px;
        padding: 0.5rem 0.75rem;
    }
    
    .nav-link {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    .form-check-input {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .pagination .page-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Task Results & Analytics Enhancement */
.results-dashboard {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding-bottom: 2rem;
}

.results-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.results-header .display-6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.results-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.results-chart-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.results-table-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.results-table-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.results-table-body {
    padding: 0;
}

.results-table {
    margin: 0;
}

.results-table th {
    background: transparent;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    color: #475569;
    padding: 1rem 1.5rem;
}

.results-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.results-table tbody tr:hover {
    background: #f8fafc;
}

.query-highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
}

.trend-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
}

.trend-up {
    color: #059669;
}

.trend-down {
    color: #dc2626;
}

.trend-neutral {
    color: #6b7280;
}

.metric-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #64748b;
    font-weight: 500;
    font-size: 0.875rem;
}

.metric-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Export & Download Controls */
.export-controls {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.export-controls .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.export-controls .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Data Visualization Enhancements */
.chart-container {
    position: relative;
    height: 400px;
    margin: 1rem 0;
}

.chart-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

/* Results Mobile Responsiveness */
@media (max-width: 767.98px) {
    .results-header {
        padding: 1.5rem 0;
        margin-bottom: 1rem;
    }
    
    .results-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .results-chart-container,
    .results-table-wrapper {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .results-table-header {
        padding: 1rem;
    }
    
    .results-table th,
    .results-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
    
    .chart-container {
        height: 300px;
    }
    
    .export-controls {
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
    }
    
    .export-controls .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Переключатели (switches) */
.form-check-input:checked {
    background-color: var(--portal-highlight);
    border-color: var(--portal-highlight);
}

/* Premium Component Styles */

/* Compact Job Status Cards */
.job-status-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.job-status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.job-status-card .card-body {
    padding: 1rem;
}

.job-header .job-title {
    color: var(--portal-text);
    line-height: 1.3;
    font-size: 0.95rem;
}

.job-header h5 {
    margin-bottom: 0.5rem;
}

.job-meta {
    flex-wrap: wrap;
}

.job-meta .small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.job-status .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.job-progress {
    margin-bottom: 0.75rem;
}

.job-progress .progress {
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.05);
}

.job-progress small {
    font-size: 0.7rem;
}

.job-details {
    margin-bottom: 0.75rem;
}

.job-details .detail-item {
    margin-bottom: 0.5rem;
}

.job-details .detail-item:last-child {
    margin-bottom: 0;
}

.job-details .small {
    font-size: 0.75rem;
}

.job-details .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
}

.job-actions {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}

.job-actions .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
}

/* Analytics Cards */
.analytics-card .analytics-icon {
    margin-bottom: 1rem;
}

.analytics-card .icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--portal-highlight), #1d4ed8);
    color: white;
    font-size: 1.75rem;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.analytics-card .analytics-value {
    margin: 1rem 0;
}

.analytics-card .analytics-title h6 {
    color: #64748b;
    font-weight: 600;
}

.analytics-card .analytics-meta {
    border-top: 1px solid #f1f5f9;
}

/* Page Header Component */
.page-header .page-icon .icon-wrapper {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
}

.page-header .page-title {
    color: var(--portal-text);
    margin-bottom: 0.25rem;
}

.page-header .page-subtitle {
    color: #64748b;
    font-size: 1rem;
}

.page-header .page-badges .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.page-header .page-stats .stat-item {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Filter Panel Component */
.filter-panel .card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.filter-panel .form-group {
    margin-bottom: 1.5rem;
}

.filter-panel .form-label {
    color: var(--portal-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.filter-panel .form-control,
.filter-panel .form-select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-panel .form-control:focus,
.filter-panel .form-select:focus {
    border-color: var(--portal-highlight);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-panel .active-filters .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--portal-highlight);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Upload Form Component */
.upload-form-wrapper .card-header {
    background: linear-gradient(135deg, var(--portal-highlight) 0%, #1d4ed8 100%);
}

.upload-form-wrapper .upload-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.file-drop-zone {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.file-drop-zone:hover {
    border-color: var(--portal-highlight);
    background: rgba(59, 130, 246, 0.02);
}

.file-drop-zone.dragover {
    border-color: var(--portal-highlight);
    background: rgba(59, 130, 246, 0.05);
    transform: scale(1.02);
}

.file-drop-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.section-divider hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d1d5db, transparent);
}

.section-divider span {
    font-weight: 600;
    color: #6b7280;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

/* Data Table Component */
.data-table-wrapper .table-header h4 {
    color: var(--portal-text);
    margin-bottom: 0.25rem;
}

.data-table-wrapper .table-filters {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.data-table-wrapper .results-count {
    font-size: 0.9rem;
    color: #6b7280;
}

.data-table-wrapper .table {
    margin: 0;
}

.data-table-wrapper .table th {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    color: #475569;
    padding: 1rem;
}

.data-table-wrapper .table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.data-table-wrapper .table tbody tr:hover {
    background: #f8fafc;
}

/* Empty State */
.empty-state {
    padding: 3rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    color: #d1d5db;
}

.empty-state h4 {
    color: #6b7280;
}

.empty-state p {
    color: #9ca3af;
    max-width: 400px;
    margin: 0 auto;
}

/* Task Type Filters */
.task-type-filters .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.task-type-filters .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Compact Breadcrumbs System */
.breadcrumb-wrapper {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.02rem 0;
}

.breadcrumb-wrapper .container {
    padding-top: 0.12rem;
    padding-bottom: 0.12rem;
}

.breadcrumb-wrapper nav {
    display: flex;
    justify-content: space-between;
    padding: 0 0.15rem;
    margin: 0;
    flex-wrap: wrap;
    gap: 0.08rem;
    font-size: 0.72rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 0.08rem;
    font-size: 0.72rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.breadcrumb-item.active {
    color: var(--portal-text);
    font-weight: 500;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #cbd5e1, #94a3b8);
    border-radius: 50%;
    margin: 0 0.4rem;
    flex-shrink: 0;
}

.breadcrumb-link {
    color: #64748b;
    text-decoration: none;
    padding: 0.25rem 0.45rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

.breadcrumb-link:hover {
    color: var(--portal-highlight);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.breadcrumb-link span {
    transition: all 0.2s ease;
}

.breadcrumb-link:hover span {
    color: var(--portal-highlight);
}

.breadcrumb-item.active {
    color: var(--portal-text);
    font-weight: 600;
    padding: 0.25rem 0.45rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.breadcrumb-item.active i {
    color: var(--portal-highlight);
}

/* Breadcrumb Actions */
.breadcrumb-actions .btn {
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.breadcrumb-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive Breadcrumbs */
@media (max-width: 767.98px) {
    .breadcrumb-wrapper .container {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .breadcrumb-wrapper nav {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start !important;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        font-size: 0.85rem;
    }
    
    .breadcrumb-link {
        padding: 0.375rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .breadcrumb-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .breadcrumb-actions .btn {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background: radial-gradient(circle at top, var(--portal-bg-start) 0%, var(--portal-bg-end) 65%);
    color: var(--portal-text);
    min-height: 100vh;
}

body.theme-light {
    background: radial-gradient(circle at top, var(--portal-bg-start) 0%, var(--portal-bg-end) 65%);
    color: var(--portal-text);
}

body.theme-light .form-control,
body.theme-light .form-select,
body.theme-light textarea,
body.theme-light input[type="text"],
body.theme-light input[type="email"],
body.theme-light input[type="password"],
body.theme-light input[type="number"],
body.theme-light input[type="tel"],
body.theme-light input[type="date"],
body.theme-light input[type="search"] {
    background: var(--portal-input-bg);
    border: 1px solid var(--portal-input-border);
    border-radius: var(--portal-input-radius);
    padding: var(--portal-input-padding-y) var(--portal-input-padding-x);
    color: var(--portal-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.theme-light .form-control:hover,
body.theme-light .form-select:hover,
body.theme-light textarea:hover,
body.theme-light input[type="text"]:hover,
body.theme-light input[type="email"]:hover,
body.theme-light input[type="password"]:hover,
body.theme-light input[type="number"]:hover,
body.theme-light input[type="tel"]:hover,
body.theme-light input[type="date"]:hover,
body.theme-light input[type="search"]:hover {
    border-color: var(--portal-input-border-hover);
}

body.theme-light .form-control:focus,
body.theme-light .form-select:focus,
body.theme-light textarea:focus,
body.theme-light input[type="text"]:focus,
body.theme-light input[type="email"]:focus,
body.theme-light input[type="password"]:focus,
body.theme-light input[type="number"]:focus,
body.theme-light input[type="tel"]:focus,
body.theme-light input[type="date"]:focus,
body.theme-light input[type="search"]:focus {
    background: var(--portal-input-bg);
    border-color: var(--portal-input-border-focus);
    box-shadow: var(--portal-input-shadow);
    color: var(--portal-text);
}

body.theme-light .form-control:disabled,
body.theme-light .form-select:disabled,
body.theme-light textarea:disabled,
body.theme-light input:disabled {
    background: #f1f5f9;
    color: var(--portal-muted);
    border-color: rgba(15, 23, 42, 0.12);
    cursor: not-allowed;
}

body.theme-light .form-control::placeholder,
body.theme-light .form-select::placeholder,
body.theme-light textarea::placeholder,
body.theme-light input::placeholder {
    color: #94a3b8;
}

body.theme-light .input-group-text {
    background: #f8fafc;
    border: 1px solid var(--portal-input-border);
    border-radius: var(--portal-input-radius);
    color: var(--portal-muted);
}

body.theme-light .form-check-input {
    width: 1rem;
    height: 1rem;
    border-radius: 0.3rem;
    border: 1px solid rgba(15, 23, 42, 0.25);
}

body.theme-light .form-check-input:checked {
    background-color: var(--portal-highlight);
    border-color: var(--portal-highlight);
}

body.theme-light .form-select[multiple] {
    min-height: 220px;
}

body.page-auth {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-shell {
    min-height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
    padding-bottom: 3rem;
}

@media (max-width: 991.98px) {
    .app-shell {
        min-height: calc(100vh - 3.5rem);
    }
}

.global-navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--portal-border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.global-navbar .navbar-brand {
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--portal-text);
}

.global-navbar .nav-link {
    font-weight: 500;
    color: #475569;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
}

.global-navbar .nav-link.active,
.global-navbar .nav-link:focus,
.global-navbar .nav-link:hover {
    color: var(--portal-highlight);
    background-color: rgba(37, 99, 235, 0.08);
}

.global-navbar .btn {
    font-weight: 600;
    border-radius: 999px;
}

.btn[class*="btn-outline-"] {
    border-width: 1px;
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.9rem;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn[class*="btn-outline-"]:hover,
.btn[class*="btn-outline-"]:focus {
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.15);
}

.hero {
    padding: 3rem 0 2.5rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--portal-highlight);
    font-size: 0.8rem;
    font-weight: 600;
}

.hero h1 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

.hero-description {
    max-width: 840px;
    margin: 1rem auto 0;
    color: var(--portal-muted);
}

.tiles-grid {
    padding-bottom: 3rem;
}

.module-card {
    border-radius: var(--portal-radius);
    padding: 1.5rem;
    height: 100%;
    position: relative;
    border: 1px solid var(--portal-border);
    background: var(--portal-surface);
    box-shadow: var(--portal-shadow);
    transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.module-card .title {
    font-size: 1.1rem;
    font-weight: 600;
}

.module-card .status {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.module-card .desc {
    color: var(--portal-muted);
}

.module-card .btn {
    border-radius: 999px;
    padding: 0.45rem 1.25rem;
    font-size: 0.9rem;
}

.module-card.is-active {
    border-color: rgba(13, 110, 253, 0.5);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(13, 202, 240, 0.08));
}

.module-card.is-disabled {
    opacity: 0.55;
}

.module-card:hover {
    transform: translateY(-4px);
}

.stat-pill {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    color: var(--portal-highlight);
}

.filter-card,
.table-card,
.detail-card,
.job-card,
.price-card,
.job-layout {
    background: var(--portal-surface);
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius);
    padding: 1.25rem;
    box-shadow: var(--portal-shadow);
    color: var(--portal-text);
}

.table-card .table {
    margin-bottom: 0;
}

.table-card .table thead th {
    color: var(--portal-muted);
    border-bottom: 1px solid var(--portal-border);
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
}

.table-card .table tbody td {
    vertical-align: middle;
    border-color: var(--portal-border);
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
}

.product-name {
    font-weight: 600;
}

.badge-parser {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.detail-card pre,
.job-card pre,
.code-block {
    background: #f4f6fb;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    color: #0f172a;
    font-size: 0.85rem;
}

.related-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.12);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.preview-table {
    max-height: 320px;
    overflow: auto;
    border-radius: 0.5rem;
}

.auth-wrapper {
    width: 100%;
    padding: 2.5rem 1rem;
}

.auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
    border-radius: var(--portal-radius);
}

.auth-card .card-body {
    padding: 2rem;
}

.category-tree {
    max-height: 420px;
    overflow-y: auto;
    padding: 0.85rem;
    border-radius: 0.75rem;
    border: 1px dashed rgba(15, 23, 42, 0.15);
    background: var(--portal-surface);
}

.category-node {
    margin-bottom: 0.65rem;
}

.category-node__label {
    font-weight: 600;
}

.parser-log-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.parser-log-item {
    border-left: 2px solid rgba(99, 102, 241, 0.4);
    padding-left: 1rem;
    margin-left: 0.4rem;
    margin-bottom: 1.2rem;
}

.parser-log-level {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.parser-log-scroll {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.page-parsers .form-control,
.page-parsers .form-select,
.page-parsers textarea,
.page-parsers input[type="text"],
.page-parsers input[type="tel"],
.page-parsers input[type="number"] {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: var(--portal-text);
    border-radius: 0.65rem;
}

.page-parsers .form-control:focus,
.page-parsers .form-select:focus {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
    color: var(--portal-text);
}

.page-parsers .form-control::placeholder,
.page-parsers .form-select::placeholder,
.page-parsers textarea::placeholder {
    color: #94a3b8;
}

.page-parsers .form-control:disabled,
.page-parsers .form-select:disabled {
    background: #f1f5f9;
    color: #94a3b8;
}

.page-parsers .form-text,
.page-parsers .text-muted {
    color: var(--portal-muted) !important;
}

.page-parsers .form-check-input {
    background-color: #ffffff;
    border-color: rgba(15, 23, 42, 0.25);
}

.page-parsers .form-check-input:checked {
    background-color: var(--portal-highlight);
    border-color: var(--portal-highlight);
}

.page-parsers .choices {
    color: var(--portal-text);
    background: transparent !important;
}

.page-parsers .choices__inner {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
    border-radius: 0.65rem;
    min-height: 3rem;
}

.page-parsers .choices.is-focused .choices__inner,
.page-parsers .choices.is-open .choices__inner {
    border-color: rgba(37, 99, 235, 0.6) !important;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
    background: #ffffff;
}

.page-parsers .choices__list--dropdown,
.page-parsers .choices__list[aria-expanded="true"] {
    background-color: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
    color: var(--portal-text);
    box-shadow: 0 20px 30px rgba(15, 23, 42, 0.12);
}

.page-parsers .choices__list--dropdown .choices__item {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background-color: transparent;
}

.page-parsers .choices__list--dropdown .choices__item:last-child {
    border-bottom: none;
}

.page-parsers .choices__item--selectable {
    color: var(--portal-text);
    background: rgba(37, 99, 235, 0.08);
    border-color: transparent;
}

.page-parsers .choices__list--multiple {
    background: transparent;
    border: none;
    color: inherit;
    padding-left: 0;
}

.page-parsers .bg-dark {
    background-color: #f8fafc !important;
    color: var(--portal-text) !important;
}

.page-parsers .text-light {
    color: var(--portal-text) !important;
}

.page-parsers .border-secondary {
    border-color: rgba(15, 23, 42, 0.2) !important;
}

.page-parsers .table.table-dark {
    --bs-table-bg: var(--portal-surface);
    --bs-table-color: var(--portal-text);
    --bs-table-striped-bg: rgba(37, 99, 235, 0.04);
    --bs-table-striped-color: var(--portal-text);
    --bs-table-hover-bg: rgba(37, 99, 235, 0.08);
    --bs-table-hover-color: var(--portal-text);
    --bs-table-border-color: rgba(15, 23, 42, 0.08);
}

.progress-thin {
    height: 0.5rem;
    border-radius: 999px;
}

.table-progress {
    min-width: 180px;
}

.job-layout dl,
.price-card dl {
    margin-bottom: 0;
}

.field-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field-block + .field-block {
    margin-top: 1.1rem;
}

.field-block label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.field-block .form-text {
    margin-top: 0;
}

.field-block .input-group {
    width: 100%;
}

.field-block .form-control,
.field-block .form-select,
.field-block textarea {
    width: 100%;
}

.price-card h1,
.price-card h2,
.price-card h3 {
    color: var(--portal-text);
}

.price-card .form-label {
    color: #334155;
    font-size: 0.9rem;
}

.price-card .form-text {
    color: var(--portal-muted);
}

.breadcrumb a {
    text-decoration: none;
}

.choice-group {
    display: grid;
    gap: 0.75rem;
}

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

.choice-grid.choice-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.choice-tile {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    border-radius: 0.85rem;
    border: 1px solid var(--portal-border);
    background-color: var(--portal-surface);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    min-height: 4rem;
}

.choice-tile input.choice-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.choice-tile .choice-title {
    display: block;
    font-weight: 600;
}

.choice-tile .choice-caption {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    line-height: 1.35;
}

.choice-tile.active {
    border-color: var(--portal-highlight);
    background-color: rgba(37, 99, 235, 0.08);
    box-shadow: 0 0.85rem 1.5rem rgba(37, 99, 235, 0.18);
}

.choice-tile.active::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    color: var(--portal-highlight);
    font-size: 0.85rem;
}

.choice-tile:focus-within {
    border-color: var(--portal-highlight);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.choice-tile.disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}

.choice-tile.disabled input[type="checkbox"] {
    cursor: not-allowed !important;
}

.fieldset-hint {
    font-size: 0.9rem;
    color: var(--portal-muted);
    margin-top: 0.35rem;
}

.callout {
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    background-color: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.16);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.callout.warning {
    background-color: rgba(255, 193, 7, 0.14);
    border-color: rgba(255, 193, 7, 0.35);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--portal-highlight);
}

.summary-card {
    border-radius: 1rem;
    background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
    color: #fff;
}

.summary-card .badge-count {
    background-color: rgba(255, 255, 255, 0.25);
}

.summary-card .icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    margin-right: 0.85rem;
}

.summary-section + .summary-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.summary-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.badge-count {
    background-color: rgba(37, 99, 235, 0.15);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    color: var(--portal-highlight);
}

.submit-bar {
    position: sticky;
    bottom: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--portal-surface, #fff) 45%);
    padding-top: 1.5rem;
}

.submit-bar .btn {
    box-shadow: 0 0.75rem 1.5rem rgba(37, 99, 235, 0.25);
}

.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--portal-muted);
}

.empty-state i {
    margin-bottom: 1.5rem;
}

.theme-light .text-white,
.theme-light .text-light {
    color: var(--portal-text) !important;
}

.theme-light .text-white-50 {
    color: var(--portal-muted) !important;
}

.theme-light .bg-dark {
    background-color: #f8fafc !important;
    color: var(--portal-text) !important;
}

.theme-light .border-secondary {
    border-color: rgba(15, 23, 42, 0.2) !important;
}

.theme-light .btn-outline-light {
    color: var(--portal-highlight);
    border-color: rgba(37, 99, 235, 0.4);
}

.theme-light .btn-outline-light:hover {
    color: #ffffff;
    background-color: var(--portal-highlight);
    border-color: var(--portal-highlight);
}

.theme-light .table-dark {
    --bs-table-bg: var(--portal-surface);
    --bs-table-color: var(--portal-text);
    --bs-table-striped-bg: rgba(37, 99, 235, 0.04);
    --bs-table-striped-color: var(--portal-text);
    --bs-table-hover-bg: rgba(37, 99, 235, 0.08);
    --bs-table-hover-color: var(--portal-text);
    --bs-table-border-color: rgba(15, 23, 42, 0.08);
}

.theme-light .table-dark th,
.theme-light .table-dark td {
    border-color: rgba(15, 23, 42, 0.08);
}

.toast-stack {
    z-index: 1100;
}

.toast-message {
    border-radius: var(--portal-radius);
    min-width: 320px;
    background-color: var(--portal-surface);
    color: var(--portal-text);
    border: 1px solid var(--portal-border);
    box-shadow: var(--portal-shadow);
    overflow: hidden;
}

.toast-message .toast-body {
    padding: 1rem 1.25rem;
}

.toast-message .btn-close {
    filter: invert(35%);
}

.toast-message.toast-success {
    border-left: 4px solid #198754;
}

.toast-message.toast-info {
    border-left: 4px solid #0dcaf0;
}

.toast-message.toast-warning {
    border-left: 4px solid #ffc107;
}

.toast-message.toast-danger {
    border-left: 4px solid #dc3545;
}

.toast-message.toast-secondary {
    border-left: 4px solid #6c757d;
}

.toast-message.toast-primary {
    border-left: 4px solid var(--portal-highlight);
}
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-info,
.btn-outline-light {
    color: var(--portal-highlight);
    border-color: rgba(37, 99, 235, 0.4);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-light:hover,
.btn-outline-light:focus {
    color: #ffffff;
    background-color: var(--portal-highlight);
    border-color: var(--portal-highlight);
}
