@import '_content/Community.Blazor.MapLibre/Community.Blazor.MapLibre.vicrawpt6h.bundle.scp.css';

/* _content/Alarms.Web/Components/Dashboard/Company/CompanyProjectList.razor.rz.scp.css */
[b-sb4eiw7s0w] .not-fullscreen {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 60vh;
    margin-bottom: 25px;
}

/* Main Overlay Container */
[b-sb4eiw7s0w] .fullscreen-overlay {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.8);
    z-index: 500;
    overflow-y: auto;
    padding: 16px;

    /* Animation */
    opacity: 0;
    transform: scale(0.95);
    animation: fullscreen-enter-b-sb4eiw7s0w 0.3s ease-out forwards;
}

@media (max-width: 1279px) {
    [b-sb4eiw7s0w] .fullscreen-overlay {
        padding-top: 220px !important;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 16px;
    }
}

@media (max-width: 768px) {
    [b-sb4eiw7s0w] .fullscreen-overlay {
        padding-top: 200px !important;
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: 8px;
    }
}

@media (max-width: 480px) {
    [b-sb4eiw7s0w] .fullscreen-overlay {
        padding-top: 160px !important;
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: 8px;
    }
}

/* Close Button */
[b-sb4eiw7s0w] .fullscreen-close-button {
    position: fixed;
    top: 3vh;
    right: 1.5vw;
    z-index: 10000;
    background: var(--mud-palette-surface) !important;
    color: var(--mud-palette-text-primary) !important;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);

    /* Animation */
    opacity: 0;
    animation: button-fade-in-b-sb4eiw7s0w 0.4s ease-out 0.1s forwards;
}

[b-sb4eiw7s0w] .fullscreen-close-button:hover {
    background: var(--mud-palette-error) !important;
    color: var(--mud-palette-text-primary) !important;
    transform: scale(1.15);
    transition: all 0.2s ease;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fullscreen-enter-b-sb4eiw7s0w {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fullscreen-exit-b-sb4eiw7s0w {
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes button-fade-in-b-sb4eiw7s0w {
    to {
        opacity: 1;
    }
}

/* Exit Animation Class */
[b-sb4eiw7s0w] .fullscreen-overlay.closing {
    animation: fullscreen-exit-b-sb4eiw7s0w 0.25s ease-in forwards;
}

[b-sb4eiw7s0w] .fullscreen-overlay.project-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

[b-sb4eiw7s0w] .fullscreen-overlay.project-list .mud-stack {
    width: 96% !important;
    max-width: 1200px !important; /* or whatever max width you prefer */
}

[b-sb4eiw7s0w] .fullscreen-overlay.project-list .mud-grid-item,
[b-sb4eiw7s0w] .fullscreen-overlay.project-list .mud-paper,
[b-sb4eiw7s0w] .fullscreen-overlay.project-list > * {
    width: 96% !important;
    display: block !important;
    flex: initial !important;
    vertical-align: initial !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

[b-sb4eiw7s0w] .fullscreen-overlay.project-list .mud-grid {
    width: 96% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

/* Ensure the MudGrid inside each list item maintains its horizontal layout */
[b-sb4eiw7s0w] .fullscreen-overlay.project-list .list-item .mud-grid {
    display: flex !important;
    align-items: center !important;
}

[b-sb4eiw7s0w] .fullscreen-overlay.project-list .list-item .mud-grid-item {
    display: flex !important;
    flex: none !important;
}

[b-sb4eiw7s0w] .fullscreen-pagination {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    [b-sb4eiw7s0w] .fullscreen-pagination {
        bottom: 10px;
        padding: 6px 12px;
        left: 10px;
        right: 10px;
        transform: none;
    }
}
[b-sb4eiw7s0w] .fullscreen-pagination-compact {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
}

[b-sb4eiw7s0w] .fullscreen-pagination-row {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    max-width: 100% !important;
}

[b-sb4eiw7s0w] .fullscreen-pagination-row .mud-pagination-item {
    margin: 2px !important;
    min-width: 32px !important;
    height: 32px !important;
}
/* _content/Alarms.Web/Components/Dashboard/Company/CompanyProjectListItem.razor.rz.scp.css */
[b-01ykz9rni9] .list-item {
    border-radius: 18px !important;
}

[b-01ykz9rni9] .list-item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
    transform: scale(1.005) !important;
    transition: all 0.3s ease-in-out !important;
}

[b-01ykz9rni9] .status-text {
    min-width: 65px;
    text-align: left;
    line-height: 1; 
}
/* _content/Alarms.Web/Components/Dashboard/DashboardEventsWidget.razor.rz.scp.css */
.events-scroll-container[b-ppcbji3rd8] {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    scroll-behavior: smooth;
}

.events-scroll-container[b-ppcbji3rd8]::-webkit-scrollbar {
    width: 8px;
}

.events-scroll-container[b-ppcbji3rd8]::-webkit-scrollbar-track {
    background: transparent;
}

.events-scroll-container[b-ppcbji3rd8]::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.events-scroll-container[b-ppcbji3rd8]::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Add smooth transition for loading indicator */
.events-scroll-container .mud-list-item[b-ppcbji3rd8] {
    transition: opacity 0.2s ease-in-out;
}
/* _content/Alarms.Web/Components/Dashboard/DashboardWidget.razor.rz.scp.css */
[b-bmojlynkzj] .outer-box {
    background-color: var(--mud-palette-lines-default);
    border-radius: 32px !important;
}
/* _content/Alarms.Web/Components/Dashboard/Fullscreen/FullscreenContainer.razor.rz.scp.css */
[b-b2fhhwh36r] .fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 500;
    padding: 0;
    margin: 0;
    opacity: 0;
    transform: scale(0.95);
    animation: fullscreen-enter-b-b2fhhwh36r 0.3s ease-out forwards;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

[b-b2fhhwh36r] .fullscreen-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
}

[b-b2fhhwh36r] .fullscreen-header {
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 8px;
    width: auto;
    align-items: center;
    background-color: var(--mud-palette-surface) !important;
    outline: var(--mud-palette-secondary) solid 1.5px !important;
    box-sizing: border-box;
}

[b-b2fhhwh36r] .fullscreen-body {
    flex: 1;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;

}

[b-b2fhhwh36r] .fullscreen-footer {
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 16px;
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;

}

.not-fullscreen[b-b2fhhwh36r] {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 60vh;
    margin-bottom: 25px;
}

[b-b2fhhwh36r] .fullscreen-close-button {
    position: fixed;
    top: 8px;
    right: 8px;
    z-index: 10000;
    background: white !important;
    outline-color: var(--mud-palette-secondary) !important;
    outline-width: 9px !important;
    color: #333 !important;
    transform: scale(0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: button-fade-in-b-b2fhhwh36r 0.4s ease-out 0.1s forwards;

}

[b-b2fhhwh36r] .fullscreen-close-button:hover {
    background: #f44336 !important;
    color: white !important;
    transform: scale(1);
    transition: all 0.2s ease;
}

@keyframes fullscreen-enter-b-b2fhhwh36r {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes button-fade-in-b-b2fhhwh36r {
    to {
        opacity: 1;
    }
}

@media (max-width: 1279px) {
    [b-b2fhhwh36r] .fullscreen-overlay {
        padding-top: 80px;
    }
}

@media (max-width: 768px) {
    [b-b2fhhwh36r] .fullscreen-content {
        padding: 8px;
    }

    [b-b2fhhwh36r] .fullscreen-header,
    [b-b2fhhwh36r] .fullscreen-body,
    [b-b2fhhwh36r] .fullscreen-footer {
        padding: 12px;
    }
    [b-b2fhhwh36r] .fullscreen-close-button {
        top: 16px;
        right: 16px;
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1279px) {
    [b-b2fhhwh36r] .fullscreen-content {
        padding: 12px;
    }

    [b-b2fhhwh36r] .search-field {
        min-width: 250px;
    }
}

/* Tablets */
@media (max-width: 960px) {
    [b-b2fhhwh36r] .fullscreen-content {
        padding: 8px;
    }

    [b-b2fhhwh36r] .fullscreen-header,
    [b-b2fhhwh36r] .fullscreen-body,
    [b-b2fhhwh36r] .fullscreen-footer {
        padding: 12px;
        margin-bottom: 12px;
    }

    [b-b2fhhwh36r] .fullscreen-footer {
        margin-top: 12px;
    }

    [b-b2fhhwh36r] .fullscreen-close-button {
        top: 16px;
        right: 16px;
        transform: scale(0.6);
    }

    [b-b2fhhwh36r] .search-field {
        min-width: 200px;
    }

    [b-b2fhhwh36r] .pagination-control {
        padding: 6px 12px;
        max-width: 300px;
    }
}

/* Mobile landscape */
@media (max-width: 768px) {
    [b-b2fhhwh36r] .fullscreen-content {
        padding: 8px;
    }

    [b-b2fhhwh36r] .fullscreen-header,
    [b-b2fhhwh36r] .fullscreen-body,
    [b-b2fhhwh36r] .fullscreen-footer {
        padding: 8px;
        margin-bottom: 8px;
        border-radius: 6px;
    }

    [b-b2fhhwh36r] .fullscreen-footer {
        margin-top: 8px;
    }

    [b-b2fhhwh36r] .fullscreen-close-button {
        top: 12px;
        right: 12px;
        transform: scale(0.6);
    }

    [b-b2fhhwh36r] .search-header .mud-stack {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    [b-b2fhhwh36r] .search-field {
        min-width: unset;
        width: 100%;
    }

    [b-b2fhhwh36r] .search-header .mud-chip {
        align-self: center;
    }

    [b-b2fhhwh36r] .pagination-control {
        padding: 4px 8px;
        max-width: 280px;
        font-size: 0.875rem;
    }

    [b-b2fhhwh36r] .pagination-footer {
        padding: 12px 0;
    }

    [b-b2fhhwh36r] .paginated-list {
        gap: 6px;
    }

    [b-b2fhhwh36r] .no-items {
        padding: 20px;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    [b-b2fhhwh36r] .fullscreen-content {
        padding: 4px;
    }

    [b-b2fhhwh36r] .fullscreen-header,
    [b-b2fhhwh36r] .fullscreen-body,
    [b-b2fhhwh36r] .fullscreen-footer {
        padding: 6px;
        margin-bottom: 6px;
        border-radius: 4px;
    }

    [b-b2fhhwh36r] .fullscreen-footer {
        margin-top: 6px;
    }

    [b-b2fhhwh36r] .fullscreen-close-button {
        top: 8px;
        right: 8px;
        transform: scale(0.6);
    }

    [b-b2fhhwh36r] .search-header {
        margin-bottom: 12px;
    }

    [b-b2fhhwh36r] .search-header .mud-stack {
        gap: 6px;
    }

    [b-b2fhhwh36r] .pagination-control {
        padding: 2px 6px;
        max-width: 250px;
        font-size: 0.75rem;
    }

    [b-b2fhhwh36r] .pagination-control .mud-button {
        min-width: 32px !important;
        height: 32px !important;
        padding: 0 !important;
    }

    [b-b2fhhwh36r] .pagination-footer {
        padding: 8px 0;
    }

    [b-b2fhhwh36r] .paginated-list {
        gap: 4px;
    }

    [b-b2fhhwh36r] .no-items {
        padding: 16px;
        font-size: 0.875rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    [b-b2fhhwh36r] .fullscreen-content {
        padding: 2px;
    }

    [b-b2fhhwh36r] .fullscreen-header,
    [b-b2fhhwh36r] .fullscreen-body,
    [b-b2fhhwh36r] .fullscreen-footer {
        padding: 4px;
    }

    [b-b2fhhwh36r] .pagination-control {
        max-width: 220px;
    }

    [b-b2fhhwh36r] .pagination-control .mud-button {
        min-width: 28px !important;
        height: 28px !important;
        font-size: 0.7rem !important;
    }

    [b-b2fhhwh36r] .search-field .mud-input-control {
        font-size: 0.875rem;
    }
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {
    [b-b2fhhwh36r] .fullscreen-close-button {
        min-width: 44px;
        min-height: 44px;
    }

    [b-b2fhhwh36r] .pagination-control .mud-button {
        min-width: 44px !important;
        min-height: 44px !important;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    [b-b2fhhwh36r] .fullscreen-overlay {
        backdrop-filter: blur(20px);
    }

    [b-b2fhhwh36r] .fullscreen-header,
    [b-b2fhhwh36r] .fullscreen-body,
    [b-b2fhhwh36r] .fullscreen-footer {
        backdrop-filter: blur(20px);
    }
}
/* _content/Alarms.Web/Components/Dashboard/Fullscreen/PaginatedFooter.razor.rz.scp.css */
[b-h0e78q1q9j] .pagination-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    width: 100%;
    margin: 0 auto;

}

[b-h0e78q1q9j] .pagination-control {
    display: inline-flex;
    justify-content: center;
    background-color: var(--mud-palette-surface) !important;
    border-radius: 18px !important;
    outline: 1.5px solid var(--mud-palette-lines-default) !important;
    padding: 8px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: fit-content;
    margin: 0 auto;

}
/* _content/Alarms.Web/Components/Dashboard/Fullscreen/PaginatedList.razor.rz.scp.css */
[b-krj3vuba7y] .paginated-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

[b-krj3vuba7y] .no-items {
    padding: 40px;
    text-align: center;
    color: #666;
}
/* _content/Alarms.Web/Components/Dashboard/Fullscreen/SearchHeader.razor.rz.scp.css */
[b-tooktk98oo] .search-header {
    margin-bottom: 16px;
}

[b-tooktk98oo] .search-field {
    color: var(--mud-palette-text-primary) !important;
    background-color: var(--mud-palette-surface) !important;
    border-radius: 18px !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    [b-tooktk98oo] .search-field {
        min-width: 200px;
    }
}
/* _content/Alarms.Web/Components/Dashboard/Project/ProjectMeasurementPointList.razor.rz.scp.css */
[b-z7salc28wo] .measurement-points-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[b-z7salc28wo] .updating-indicator {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 16px;
}

[b-z7salc28wo] .charts-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

[b-z7salc28wo] .chart-wrapper {
    width: 100%;
}

[b-z7salc28wo] .chart-paper {
    border-radius: 16px !important;
    transition: all 0.3s ease;
}

[b-z7salc28wo] .chart-paper:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Fullscreen-specific styles */
[b-z7salc28wo] .fullscreen-overlay .chart-paper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

[b-z7salc28wo] .fullscreen-overlay .updating-indicator {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    [b-z7salc28wo] .charts-container {
        gap: 12px;
    }

    [b-z7salc28wo] .chart-wrapper {
        width: 100%;
    }

    [b-z7salc28wo] .updating-indicator {
        padding: 6px 12px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    [b-z7salc28wo] .charts-container {
        gap: 8px;
    }

    [b-z7salc28wo] .chart-paper {
        border-radius: 12px !important;
    }

    [b-z7salc28wo] .updating-indicator {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
}
/* _content/Alarms.Web/Components/Dashboard/Project/ProjectMeasurementPointsToolbar.razor.rz.scp.css */
[b-dma6b2l7sl] .options-toolbar {
    gap: 8px;
    background-color: var(--mud-palette-surface) !important;
    outline: var(--mud-palette-lines-default) 1px solid !important;
    border-radius: 18px !important;
    
}
/* _content/Alarms.Web/Components/Misc/HorizontalCollapse.razor.rz.scp.css */
/* ==========================================================================
   Horizontal Collapse Component CSS Isolation
   ========================================================================== */

[b-dkck6il89f] .horizontal-collapse {
    overflow: hidden;
    transition: width 0.3s ease-in-out;
    height: auto;
    padding: 0 !important;
}

[b-dkck6il89f] .horizontal-collapse.collapsed {
    width: 0 !important;
}

[b-dkck6il89f] .horizontal-collapse.expanded {
    /* Add any expanded state styles here if needed */
}

[b-dkck6il89f] .horizontal-collapse-content {
    white-space: nowrap;
    height: 100%;
    min-width: max-content;
    display: inline-block; /* Ensures proper width calculation */
}

[b-dkck6il89f] .collapse-button-container {
    transition: all 0.3s ease-in-out;
}
/* _content/Alarms.Web/Components/Misc/Map/AlarmsMap.razor.rz.scp.css */
[b-psrl5e9261] .maplibregl-popup-content {
    border-radius: 12px !important;
}

[b-psrl5e9261] .maplibregl-popup-close-button {
    border-radius: 12px;
    font-size: 1.2rem;
    padding: 4px;
    color: var(--mud-palette-primary);
}
/* _content/Alarms.Web/Components/Pages/CompanyDashboard.razor.rz.scp.css */
[b-mmhkstfqj2] .options-toolbar {
    outline: var(--mud-palette-lines-default) 1px solid !important;
    border-radius: 18px !important;
}
