.fmu-streaming {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

.fmu-streaming__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(14, 65, 148, 0.08);
    margin-bottom: 1rem;
}

.fmu-streaming__title h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0e4194 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fmu-streaming__title p {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    color: var(--textcolor-80contrast, #64748b);
    font-weight: 500;
}

.fmu-status {
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.3), rgba(148, 163, 184, 0.1));
    color: #475569;
    border: 2px solid rgba(148, 163, 184, 0.3);
    transition: all 0.3s ease;
}

.fmu-status--running {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.1));
    border-color: rgba(34, 197, 94, 0.4);
    color: #166534;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.fmu-status--stopped {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(239, 68, 68, 0.1));
    border-color: rgba(239, 68, 68, 0.4);
    color: #991b1b;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .8;
    }
}

.fmu-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.95));
    border: 1px solid rgba(14, 65, 148, 0.08);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(14, 65, 148, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 500px;
}

.fmu-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(14, 65, 148, 0.08);
}

.fmu-section__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.fmu-section__toolbar > div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.fmu-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.fmu-control input[type="number"] {
    width: 100px;
    border-radius: 14px;
    border: 2px solid rgba(14, 65, 148, 0.2);
    padding: 0.6rem 0.9rem;
    font-weight: 600;
    color: #0f172a;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transition: all 0.3s ease;
}

.fmu-control input[type="number"]:focus {
    border-color: #0e4194;
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 65, 148, 0.1);
}

.fmu-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.fmu-actions--saved {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    width: 100%;
    gap: 0.75rem;
}

.fmu-action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fmu-action-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fmu-action-button__icon svg {
    width: 18px;
    height: 18px;
}

.fmu-action-button__label {
    text-align: center;
}

.btn-primary .fmu-action-button__label {
    color: white;
}

.fmu-action-button:hover,
.fmu-action-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(14, 65, 148, 0.12);
}

.fmu-action-button:focus-visible {
    outline: 3px solid rgba(14, 65, 148, 0.28);
    outline-offset: 2px;
}

#saveMeasurementBtn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.fmu-badge {
    border-radius: 16px;
    padding: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(14, 65, 148, 0.03) 100%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid rgba(14, 65, 148, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fmu-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0e4194 0%, #3b82f6 100%);
}

.fmu-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 65, 148, 0.1);
    border-color: rgba(14, 65, 148, 0.15);
}

.fmu-badge__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fmu-badge__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0e4194;
    font-family: 'Inter', sans-serif;
}

.fmu-chart-wrapper {
    position: relative;
    width: 100%;
    min-height: 450px;
    height: 450px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 255, 0.9));
    padding: 20px;
    border: 1px solid rgba(14, 65, 148, 0.08);
    box-shadow: 0 4px 16px rgba(14, 65, 148, 0.04);
}

.fmu-chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}

.fmu-empty-state {
    margin: 0;
    color: rgba(71, 85, 105, 0.9);
    font-size: 0.95rem;
}

.fmu-table-wrapper {
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow-x: auto;
    background: rgba(248, 250, 252, 0.8);
    display: flex;
    flex-direction: column;
}

#measurementsTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

#measurementsTable thead th {
    background: linear-gradient(135deg, #0e4194 0%, #1e3a8a 100%);
    color: #fff;
    font-weight: 700;
    padding: 1rem;
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

#measurementsTable thead th:first-child {
    border-top-left-radius: 12px;
}

#measurementsTable thead th:last-child {
    border-top-right-radius: 12px;
}

#measurementsTable tbody td {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 0.7rem;
    vertical-align: middle;
    font-size: 0.93rem;
}

#measurementsTable tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

#measurementsTable tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

#measurementsTable tbody tr:hover td {
    background: rgba(224, 242, 254, 0.4);
}

.fmu-table__time {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.2;
}

.fmu-time-main {
    font-weight: 600;
}

.fmu-time-sub {
    font-size: 0.75rem;
    color: rgba(71, 85, 105, 0.85);
}

.fmu-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1050;
}

.fmu-modal.is-visible {
    display: flex;
}

.fmu-modal__content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    width: min(1100px, 100%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.3);
    border: 2px solid rgba(14, 65, 148, 0.1);
    animation: modalSlideIn 0.3s ease-out;
}

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

.fmu-modal__header,
.fmu-modal__footer {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.fmu-modal__header h4 {
    margin: 0;
    font-weight: 600;
}

.fmu-modal__close {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: #0f172a;
}

.fmu-modal__body {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
}

@media (min-width: 900px) {
    .fmu-modal__body {
        flex-direction: row;
    }
}

.fmu-modal__axes {
    flex: 0 0 420px;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-height: 100%;
    overflow: hidden;
}

.fmu-option-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 0.35rem;
    width: 100%;
}

.fmu-axis-option {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(203, 213, 225, 0.9);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 68px;
}

.fmu-axis-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 65, 148, 0.1);
    border-color: rgba(14, 65, 148, 0.3);
}

.fmu-axis-option input {
    margin-top: 0.15rem;
}

.fmu-axis-option__label {
    font-weight: 600;
    font-size: 0.92rem;
    color: #0f172a;
    word-break: break-word;
    flex: 1;
}

.fmu-axis-option.is-selected {
    border-color: #0e4194;
    background: linear-gradient(135deg, rgba(14, 65, 148, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    box-shadow: 0 0 0 4px rgba(14, 65, 148, 0.15);
    transform: scale(1.02);
}

.fmu-axis-option.is-selected .fmu-axis-option__label {
    color: #0e4194;
    font-weight: 700;
}

.fmu-modal__footer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-left: auto;
}

.fmu-modal__footer-actions .btn {
    min-width: 180px;
}

@media (max-width: 768px) {
    .fmu-modal__axes {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .fmu-modal__footer-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .fmu-modal__footer-actions .btn {
        flex: 1 1 100%;
        min-width: 0;
    }
}

.fmu-modal__chart {
    flex: 1 1 auto;
    min-height: 320px;
    background: rgba(248, 250, 252, 0.9);
    border-radius: 14px;
    padding: 1rem;
}

.fmu-modal__chart canvas {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 768px) {
    .fmu-section {
        padding: 20px;
        border-radius: 16px;
        min-height: 400px;
    }

    .experiment-dashboard__data {
        max-height: 600px;
    }

    .fmu-section__toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .fmu-actions {
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }

    .fmu-actions .btn {
        width: 100%;
    }

    .fmu-badges {
        grid-template-columns: 1fr;
    }

    .fmu-chart-wrapper {
        min-height: 320px;
        padding: 16px;
    }
}

/* Modern Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #0e4194 0%, #1e3a8a 100%);
    color: white;
    border-color: #0e4194;
    box-shadow: 0 4px 15px rgba(14, 65, 148, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 65, 148, 0.35);
    background: linear-gradient(135deg, #1e3a8a 0%, #0e4194 100%);
}

.btn-outline-primary {
    background: transparent;
    color: #0e4194;
    border-color: #0e4194;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, rgba(14, 65, 148, 0.1) 0%, rgba(14, 65, 148, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 65, 148, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-color: #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
}

.btn-success:disabled {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    border-color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-outline-secondary {
    background: transparent;
    color: #64748b;
    border-color: #94a3b8;
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.1) 0%, rgba(148, 163, 184, 0.05) 100%);
    transform: translateY(-2px);
    color: #475569;
}

.btn-outline-danger {
    background: transparent;
    color: #ef4444;
    border-color: #ef4444;
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Enhanced input range slider styles */
.custom-inputslider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: linear-gradient(to right, #0e4194 0%, #e2e8f0 0%);
    outline: none;
    transition: all 0.3s ease;
}

.custom-inputslider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0e4194 0%, #1e3a8a 100%);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(14, 65, 148, 0.3);
    transition: all 0.3s ease;
}

.custom-inputslider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 15px rgba(14, 65, 148, 0.4);
}

.custom-inputslider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0e4194 0%, #1e3a8a 100%);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(14, 65, 148, 0.3);
    transition: all 0.3s ease;
}

.custom-inputslider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 15px rgba(14, 65, 148, 0.4);
}

/* Loading animation for data updates */
@keyframes dataLoad {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fmu-badge[data-updated="true"] {
    animation: dataLoad 0.4s ease-out;
}

/* Tab Navigation Styles */
.fmu-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid rgba(14, 65, 148, 0.1);
    margin-bottom: 1.5rem;
}

.fmu-tab {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: rgba(14, 65, 148, 0.7);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.fmu-tab:hover {
    background: rgba(14, 65, 148, 0.03);
    color: rgba(14, 65, 148, 0.9);
}

.fmu-tab--active {
    color: #0e4194;
    border-bottom-color: #0e4194;
    background: rgba(14, 65, 148, 0.05);
}

.fmu-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
    height: 100%;
    min-height: 600px;
}

.fmu-tab-content--active {
    display: block;
}

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

/* Header Actions */
.fmu-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Icon Button */
.btn-icon {
    padding: 8px;
    background: linear-gradient(135deg, rgba(14, 65, 148, 0.1), rgba(14, 65, 148, 0.05));
    border: 1px solid rgba(14, 65, 148, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: linear-gradient(135deg, rgba(14, 65, 148, 0.15), rgba(14, 65, 148, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 65, 148, 0.15);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
    color: #0e4194;
    stroke: currentColor;
}

/* Fullscreen Modal Styles */
.fmu-fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 10000;
    animation: fadeInModal 0.3s ease;
}

.fmu-fullscreen-modal--active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fmu-fullscreen-modal__content {
    width: 95vw;
    height: 95vh;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.fmu-fullscreen-modal__header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(14, 65, 148, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fmu-fullscreen-modal__header h3 {
    margin: 0;
    color: #0e4194;
    font-size: 1.5rem;
}

.fmu-fullscreen-modal__close {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #64748b;
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.fmu-fullscreen-modal__close:hover {
    color: #0e4194;
    background: rgba(14, 65, 148, 0.1);
}

.fmu-fullscreen-modal__body {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.fmu-fullscreen-modal__footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(14, 65, 148, 0.1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: linear-gradient(145deg, rgba(248, 250, 255, 0.95), rgba(241, 245, 249, 0.9));
}

.fmu-fullscreen-modal__button {
    min-width: 220px;
    font-weight: 600;
}

.fmu-fullscreen-modal__button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fmu-fullscreen-modal__controls {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 255, 0.9));
    border: 1px solid rgba(14, 65, 148, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(14, 65, 148, 0.08);
}

.fmu-fullscreen-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.fmu-fullscreen-controls__inputs {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    flex: 1;
}

.fmu-fullscreen-control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
    position: relative;
}

.fmu-fullscreen-control-group__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.fmu-fullscreen-control-group label {
    font-weight: 600;
    color: #475569;
    font-size: 14px;
}

.fmu-fullscreen-control-group__inputs {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.fmu-fullscreen-control-group__inputs--paired {
    align-items: flex-end;
}

.fmu-fullscreen-control-group input {
    padding: 10px 14px;
    border: 1px solid rgba(14, 65, 148, 0.2);
    border-radius: 10px;
    background: white;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.fmu-fullscreen-control-group input[type="range"] {
    padding: 4px 0;
}

.fmu-fullscreen-control-group .value-display {
    position: relative;
    background: linear-gradient(135deg, #0e4194, #1e3a8a);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.fullscreen-input--number {
    max-width: 110px;
}

.fullscreen-range-wrapper {
    min-width: 220px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fullscreen-range-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    padding: 0 4px;
}

.fullscreen-range-meta span {
    font-variant-numeric: tabular-nums;
}

.fmu-fullscreen-controls__placeholder {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.fmu-fullscreen-control-group input:focus {
    outline: none;
    border-color: #0e4194;
    box-shadow: 0 0 0 3px rgba(14, 65, 148, 0.1);
}

.fmu-fullscreen-controls__actions {
    display: flex;
    gap: 12px;
}

.fmu-fullscreen-modal__chart {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(14, 65, 148, 0.08);
    position: relative;
    min-height: 400px;
}

.fmu-fullscreen-modal__chart canvas {
    width: 100% !important;
    height: 100% !important;
    max-height: calc(100% - 40px);
}

/* Fullscreen Table Styles */
.fmu-fullscreen-table-wrapper {
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

#fullscreenMeasurementsTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}

#fullscreenMeasurementsTable thead th {
    background: linear-gradient(135deg, #0e4194 0%, #1e3a8a 100%);
    color: #fff;
    font-weight: 700;
    padding: 1.2rem;
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    position: sticky;
    top: 0;
    z-index: 10;
}

#fullscreenMeasurementsTable tbody td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(14, 65, 148, 0.06);
    background: #fff;
    transition: background-color 0.2s ease;
}

#fullscreenMeasurementsTable tbody tr:hover td {
    background: rgba(14, 65, 148, 0.02);
}

#fullscreenMeasurementsTable tbody tr:nth-child(even) td {
    background: rgba(248, 250, 255, 0.5);
}

#fullscreenMeasurementsTable tbody tr:nth-child(even):hover td {
    background: rgba(14, 65, 148, 0.03);
}

.btn-outline-info {
    background: transparent;
    color: #0891b2;
    border-color: #0891b2;
}

.btn-outline-info:hover {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(8, 145, 178, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.2);
}

.btn-outline-info svg {
    margin-right: 0.5rem;
    vertical-align: middle;
}
