﻿/* Container and Layout */
.container {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-right: 20px !important; /* Retain the 20px right offset */
    background-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Content Header */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

/* Primary Button */
.btn-primary {
    background: #1b568b !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}

    .btn-primary:hover {
        background: #144a7a !important;
    }

/* ========================================= */
/* STANDARDIZED TABLE SYSTEM */
/* ========================================= */
/* Standard Table Container */
.table-container {
    background-color: transparent;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    border: 1px solid #dee2e6;
    overflow-x: auto; /* Explicitly enable horizontal scrolling */
    overflow-y: visible; /* Allow vertical overflow for expanded rows */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on touch devices */
    box-sizing: border-box; /* Ensure padding/border don't affect width */
    position: relative; /* Ensure proper positioning context */
}

/* Standard Table - Flexible by default */
.table-with-slider {
    width: auto; /* Allow table to size based on column widths */
    min-width: 2250px; /* Ensure table is wide enough to trigger scrolling */
    font-size: 14px;
    background-color: transparent;
    border-radius: 8px;
    table-layout: auto; /* Allow columns to size based on content and defined widths */
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border: 0 none !important;
}

/* Standard Table - Flexible by default */
.fixed-table {
    width: 100% !important;
    font-size: 14px !important;
    background-color: transparent !important;
    border-radius: 8px !important;
    table-layout: fixed !important; /* Ensure fixed layout with flexible widths */
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border: 0 none !important;
}

/* Standard Table Header */
.table-header th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    font-size: 13px;
    border-right: 1px solid #dee2e6;
    background-color: #f8f9fa;
    white-space: nowrap;
}

    .table-header th:first-child {
        border-top-left-radius: 8px;
    }

    .table-header th:last-child {
        border-top-right-radius: 8px;
    }

/* Sortable Headers */
.th-sortable {
    cursor: pointer;
    user-select: none;
}

    .th-sortable:hover {
        background-color: #e9ecef;
    }

.th-status {
    width: 40px !important; /* Fixed width */
    text-align: center;
}

.th-street {
    width: 50px !important; /* Fixed width */
    text-align: left;
}

 /*New th-withButtons classes*/ 
.th-withButtons {
    width: 130px !important;
    align-content: center;
}

    .th-withButtons:hover {
        background-color: #e9ecef !important;
    }

.th-withButtonsBigger {
    width: 100px !important;
    align-content: center;
}

    .th-withButtonsBigger:hover {
        background-color: #e9ecef !important;
    }

.th-userType {
    width: 80px !important; /* Fixed width */
}

.th-userTypeWithButtons {
    min-width: 150px !important; /* Fixed width */
    max-width: 350px !important; /* Fixed width */
}

.th-plz {
    width: 80px !important; /* Fixed width */
}

.th-fahrschulname {
    width: 180px !important; /* Fixed width */
}

.th-debitorAndSchoolNr {
    width: 120px !important; /* Fixed width */
}

.th-actions {
    width: 80px !important; /* Fixed width */
    background-color: #e3f2fd !important;
    align-items: center;
    justify-content: center;
}

/* Standard Table Cells */
.table-row td {
    padding: 8px 10px;
    vertical-align: middle;
    background-color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.even,
.table-row.odd {
    background-color: #ffffff;
}

.table-row:hover {
    background-color: #e3f2fd;
}

.table-row.selected {
    background-color: #e6f0fa !important;
}

    .table-row.selected:hover {
        background-color: #e6f0fa;
    }

.table-row td:first-child {
    border-left: none;
}

.table-row td:last-child {
    border-right: none;
}

.table-row:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.table-row:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.td-statusBorderColloring {
    position: relative; /* Needed for pseudo-element positioning */
}

    .td-statusBorderColloring::before {
        content: "";
        position: absolute;
        top: 1px; /* 1px from top */
        bottom: 1px; /* 1px from bottom */
        left: 0;
        width: 8px; /* Same as your border thickness */
        background-color: var(--status-border-color);
        border-radius: 4px; /* Rounds the top and bottom edges */
    }

    /* Status icon inside the cell */
    .td-statusBorderColloring .status-icon {
        width: 18px;
        height: 18px;
        display: block;
        margin: 0 auto;
    }

.tr-statusBorderColloring {
    position: relative; /* Required for pseudo-element positioning */
}

    .tr-statusBorderColloring::before {
        content: "";
        position: absolute;
        top: -10px;
        bottom: 1px;
        left: 0;
        width: 8px;
        background-color: var(--status-border-color);
        border-radius: 4px;
        z-index: 1; /* Above the background */
    }

/* Standard Column Type Classes - Flexible widths */
.td-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-email {
    color: #2563eb;
}

.td-date {
    text-align: left;
}

.td-number {
    text-align: left;
}

.td-button {
    text-align: center;
}

.td-userType {
    width: 150px; /* Fixed width to match th-userType */
    text-align: left;
}

.td-actions {
    width: 100px; /* Minimum width to match th-actions */
    background-color: #e3f2fd !important;
}

/* User Type Badges */
.user-type {
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    min-width: 0; /* Allow shrinking */
    max-width: 100%; /* Fit within parent */
    overflow: hidden;
    text-overflow: ellipsis;
}

    .user-type.hauptnutzer {
        background-color: #dbeafe;
        color: #1e40af;
    }

    .user-type.unternutzer {
        background-color: #f3f4f6;
        color: #6b7280;
    }

    .user-type.vollnutzer {
        background-color: #dcfce7;
        color: #166534;
    }

/* Action Buttons */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.action-btn {
    background: none;
    border: none;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

    .action-btn:hover:not(:disabled) {
        background-color: #f3f4f6 !important;
    }

    .action-btn:disabled,
    .action-btn.disabled {
        opacity: 0.4 !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
    }

.info-btn:hover {
    background-color: #dbeafe !important;
}

.edit-btn:hover:not(:disabled) {
    background-color: #dbeafe !important;
}

.delete-btn:hover:not(:disabled) {
    background-color: #fee2e2 !important;
}

/* Icon Styling */
.action-icon {
    width: 18px !important;
    height: 18px !important;
    display: inline-block !important;
    transition: opacity 0.2s ease !important;
}

    .action-icon:hover:not(.disabled-icon) {
        opacity: 0.8 !important;
    }

.disabled-icon {
    opacity: 0.4 !important;
    filter: grayscale(100%) !important;
}

/* Pagination */
.pagination-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 2px 0 !important;
    font-size: 14px !important;
    background-color: transparent !important;
}

.pagination-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.items-per-page {
    padding: 4px 8px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background-color: white !important;
    cursor: pointer !important;
}

.pagination-text {
    color: #6b7280 !important;
}

.pagination-center {
    flex: 1 !important;
    text-align: center !important;
}

.pagination-info {
    color: #6b7280 !important;
}

.pagination-right {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.pagination-btn {
    padding: 6px 12px !important;
    border: 1px solid #d1d5db !important;
    background-color: white !important;
    color: #374151 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
}

    .pagination-btn:hover:not(.disabled) {
        background-color: #f3f4f6 !important;
    }

    .pagination-btn.active {
        background: #1b568b !important;
        color: white !important;
        border-color: #1b568b !important;
    }

    .pagination-btn.disabled {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
    }

/* Alert Styles */
.alert {
    padding: 12px 16px !important;
    margin-bottom: 20px !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    position: relative !important;
}

.alert-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

.alert-dismissible .btn-close {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 2 !important;
    padding: 12px 16px !important;
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    cursor: pointer !important;
}

/* Modal Styles */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 7000 !important; /* Lowered from 10000 to be below toasts */
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

    .modal-overlay.show {
        opacity: 1 !important;
        visibility: visible !important;
    }

.modal-content-custom {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    width: 90% !important;
    max-width: 500px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    transform: scale(0.9) !important;
    transition: transform 0.3s ease !important;
    z-index: 1060 !important; /* Above overlay but below toasts */
}

/* Toast Styles */
.custom-toasts {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 7001 !important; /* Higher than modal overlay and content */
    pointer-events: auto !important; /* Ensure toasts are clickable */
    /* Enhance visibility with background and text contrast */
    --bb-toast-bg: #ffffff !important; /* Force white background */
    --bb-toast-text-color: #000000 !important; /* Dark text for contrast */
    --bb-toast-border-color: #000000 !important; /* Optional border for definition */
}

/* Modal Styles */
.modal-overlay-termsOfUse {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
}

.modal-content-termsOfUse {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    width: 90% !important;
    max-width: 595px !important; /* A4 width at 72dpi */
    overflow-y: hidden !important; /* Disable scroll bar on modal content */
}

.modal-overlay.show .modal-content {
    transform: scale(1) !important;
}

.modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 24px 16px 24px !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.modal-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin: 0 !important;
}

.modal-close-btn-custom {
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    padding: 4px !important;
    border-radius: 4px !important;
    transition: background-color 0.2s !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

    .modal-close-btn:hover {
        background-color: #f3f4f6 !important;
        color: #374151 !important;
    }

.modal-body-custom {
    padding: 24px !important;
    overflow-y: hidden !important; /*Disable scroll bar on modal body */
}

.pdf-container {
    width: 100% !important;
    height: 600px !important;
    overflow-y: auto !important; /* Restore scroll bar for PDF container */
    border: 1px solid #e5e7eb !important;
    border-radius: 4px !important;
    margin-bottom: 16px !important;
    /* Hide scroll bar but keep functionality */
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
    position: relative !important; /* Ensure proper positioning context */
}

    .pdf-container::-webkit-scrollbar {
        display: none !important; /* Chrome, Safari, and Edge */
    }

.pdf-viewer {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    overflow: hidden !important; /* Ensure no iframe scroll bar */
    display: block !important; /* Prevent layout issues */
    position: absolute !important; /* Fill the container */
    top: 0 !important;
    left: 0 !important;
}

.modal-footer-custom {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 24px !important;
    padding: 0 24px 24px 24px !important;
}

/* Form Styles */
.form-group {
    margin-bottom: 12px !important;
}

.form-label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 2px !important;
}

.form-input,
.form-select {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    color: #1f2937 !important;
    background-color: white !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
}

    .form-input:focus,
    .form-select:focus {
        outline: none !important;
        border-color: #1b568b !important;
        box-shadow: 0 0 0 3px rgba(27, 86, 139, 0.1) !important;
    }

    .form-input::placeholder {
        color: #9ca3af !important;
    }

.disabled-dropdown:disabled {
    background-color: #e5e7eb !important; /* Light gray for disabled state */
    color: black !important; /* Slightly darker gray for text to ensure readability */
}

    /* Ensure the focus styles don't apply to disabled state */
    .disabled-dropdown:disabled:focus {
        outline: none !important;
        border-color: #d1d5db !important; /* Match the normal border */
        box-shadow: none !important;
    }

.validation-message {
    color: #dc2626 !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    display: block !important;
}

/* Modal Buttons */
.btn-create {
    background: #1b568b !important;
    color: white !important;
    border: none !important;
    padding: 14px 24px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
    width: 100% !important;
    text-align: center !important;
}

    .btn-create:hover:not(:disabled) {
        background: #144a7a !important;
    }

    .btn-create:disabled {
        opacity: 0.6 !important;
        cursor: not-allowed !important;
    }

.btn-cancel {
    background: white !important;
    color: #1b568b !important;
    border: 1px solid #1b568b !important;
    padding: 14px 24px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background-color 0.2s, border-color 0.2s !important;
    width: 100% !important;
    text-align: center !important;
}

    .btn-cancel:hover {
        background: #f0f6ff !important;
        border-color: #144a7a !important;
    }

/* Success Modal Styles */
.success-modal-body {
    padding: 40px 24px !important;
    text-align: center !important;
}

.success-modal-footer {
    padding: 0 24px 24px 24px !important;
}

.success-icon-container {
    margin-bottom: 24px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.success-icon {
    width: 100px !important;
    height: 100px !important;
    display: block !important;
}

.success-message {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.btn-close-success {
    background: #1b568b !important;
    color: white !important;
    border: none !important;
    padding: 14px 24px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
    width: 100% !important;
    text-align: center !important;
}

    .btn-close-success:hover {
        background: #144a7a !important;
    }

/* User Management Tab Navigation */
.user-management-container {
    padding: 20px;
}

#xlModal .modal-title {
    font-size: 2.5rem !important; /* Matches Bootstrap h2 default (~40px if 1rem = 16px) */
    font-weight: bold !important; /* Matches h2 boldness */
    color: #000000 !important; /* Black instead of blue */
}

/* Standard link styling without bold */
.email-show {
    color: darkblue; /* Matches the orange color */
    text-decoration: underline darkblue;
    display: inline-flex;
    align-items: center;
    gap: 4px; /* Matches the original gap */
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .email-show:hover {
        color: darkblue; /* Slightly darker orange on hover */
        text-decoration: underline #e06c00;
    }

    .email-show .email-text {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }

    .email-show img {
        width: 20px;
        height: 20px;
        cursor: pointer;
        flex-shrink: 0;
    }

.nav-menu {
    margin-bottom: 0px;
}

    .nav-menu .nav-tabs {
        display: flex !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid #dee2e6 !important;
        background-color: transparent !important;
    }

    .nav-menu .nav-item {
        margin-bottom: -1px !important;
    }

    .nav-menu .nav-link {
        display: block !important;
        padding: 12px 24px !important;
        color: #495057 !important;
        text-decoration: none !important;
        background-color: transparent !important;
        border: 1px solid transparent !important;
        border-top-left-radius: 6px !important;
        border-top-right-radius: 6px !important;
        cursor: pointer !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        transition: all 0.2s ease !important;
        white-space: nowrap !important;
    }

        .nav-menu .nav-link:hover {
            background-color: #f8f9fa !important;
            border-color: #dee2e6 #dee2e6 #dee2e6 !important;
            color: #495057 !important;
        }

        .nav-menu .nav-link.active {
            background-color: #fff !important;
            border-color: #dee2e6 #dee2e6 #fff !important;
            color: #1b568b !important;
            font-weight: 600 !important;
        }

.content-area {
    border: 1px solid #dee2e6 !important;
    border-top: none !important;
    border-radius: 0 0 6px 6px !important;
    padding: 20px !important;
    background-color: #fff !important;
    min-height: 400px !important;
}

.tab-content {
    width: 100% !important;
}

.tab-pane {
    width: 100% !important;
}

.general-container {
    width: 100% !important;
    padding: 0 !important;
}

.actionButtons-container {
    position: relative !important;
    display: inline-block !important;
}

.general-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1b568b !important;
    margin: 0 0 5px 0 !important;
}

/* Filter Bar */
.filter-bar {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    align-items: center !important;
}

.search-icon-input-container {
    position: relative;
    display: inline-block;
}

.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.search-input {
    padding: 8px 12px 8px 40px; /* was 32px, now more space for icon */
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    min-width: 400px;
}

.filter-select {
    padding: 8px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background-color: white !important;
    min-width: 200px !important;
}

.filter-reset-btn {
    padding: 8px 16px !important;
    background: #6c757d !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}

    .filter-reset-btn:hover {
        background: #5a6268 !important;
    }

.buttonInTable-btn {
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    background: transparent !important;
    /* Override text truncation that causes the dots */
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

.date-fields {
    display: flex;
    gap: 1rem; /* Space between fields */
}

.date-field {
    flex: 1; /* Equal width for both fields */
}

/* Standard button - blue border */
.buttonInTable-btn-primary {
    border: 3px solid #0046AD !important;
    color: #0046AD !important;
}

    .buttonInTable-btn-primary:hover:not(:disabled) {
        background: rgba(27, 86, 139, 0.05) !important;
    }

/* Success button - green border */
.buttonInTable-btn-success {
    border: 3px solid #20A84E !important;
    color: #20A84E !important;
    background-image: url('/Content/img/successButtonBlazor.png') !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    checkmark on the right background-size: 14px 14px !important;
    padding-right: 28px !important; /* space for icon */
}

    .buttonInTable-btn-success:disabled {
        opacity: 0.6 !important;
        cursor: not-allowed !important;
    }

    .buttonInTable-btn-success:hover:not(:disabled) {
        background-color: rgba(40, 167, 69, 0.05) !important;
    }

/* History Link */
.history-link {
    background: none !important;
    border: none !important;
    color: #1b568b !important;
    cursor: pointer !important;
    font-size: 13px !important;
    text-decoration: underline !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 0 !important;
    transition: color 0.2s !important;
}

    .history-link:hover {
        color: #144a7a !important;
    }

.history-icon {
    width: 16px !important;
    height: 16px !important;
}

/* Expansion Details */
tr.details-row {
    display: none;
}

    tr.details-row.expanded {
        display: table-row;
        background-color: #e6f0fa; /* Light blue background */
        border-top: 1px solid #dee2e6;
        position: relative; /* Needed so ::before from tr-statusBorderColloring can layer correctly */
        z-index: 0; /* Base layer */
    }

.details-row.expanded td:first-child {
                padding: 0; /* Ensure no padding interferes with border alignment */
            }

.details-content {
    margin-left: 70px; /* 50px offset from the left */
    display: flex;
    gap: 10px; /* Space between info items */
    min-height: 160px; /* Increased to accommodate additional fields */
    padding-top: 10px; /* 10px offset from the top */
    padding-bottom: 10px; /* 10px offset from the bottom */
    align-items: flex-start; /* Align items to the top */
    background-color: #bbdefb !important;
}

.detail-item {
    flex: 1; /* Distribute space evenly, adjusted per column width */
    min-width: 0; /* Allow shrinking */
}

/* Standard link styling */
.hiper-link-standard {
    color: blue;
    text-decoration: underline blue;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px; /* Space between icon and text */
}

    .hiper-link-standard:hover {
        color: darkblue; /* Darker blue on hover for better UX */
        text-decoration: underline darkblue;
    }

.details-content p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .fixed-table {
    }
}

@media (max-width: 1200px) {
    .fixed-table {
    }

    .table-row td {
        padding: 4px 2px !important; /* Reduce padding further for smaller screens */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px !important;
    }

    .fixed-table {
        font-size: 12px !important;
    }

    .action-btn {
        width: 26px !important;
        height: 26px !important;
        padding: 4px !important;
    }

    .action-icon {
        width: 16px !important;
        height: 16px !important;
    }
}

.tab-loading {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #337ab7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
