/* _content/WebApp/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-pui3qmsk44] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none !important;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

    #blazor-error-ui .dismiss[b-pui3qmsk44] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/WebApp/Components/Pages/MachineStatusPublic.razor.rz.scp.css */
.openings-divider-wrap[b-3qw1rq8624] {
    display: inline-block;
    width: auto;
    min-width: 0;
    max-width: 100%;
}

.openings-divider[b-3qw1rq8624] {
    border: none;
    border-top: 2.5px solid #444;
    margin: 4px 0 4px 0;
    width: 100%;
    max-width: 260px;
}

.openings-table[b-3qw1rq8624] {
    display: inline-table;
    width: auto;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.97rem;
    min-width: unset;
    max-width: 100%;
}

    .openings-table td[b-3qw1rq8624] {
        padding: 2px 8px 2px 0;
        vertical-align: top;
        border: none;
    }

.openings-day[b-3qw1rq8624] {
    min-width: 90px;
    font-weight: 600;
    color: #222;
    text-align: left;
    white-space: nowrap;
}

.openings-time[b-3qw1rq8624] {
    color: #333;
    text-align: left;
    white-space: nowrap;
}

body[b-3qw1rq8624], html[b-3qw1rq8624] {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.status-container[b-3qw1rq8624] {
    width: 100%;
    padding: 10px;
}

.machine-grid[b-3qw1rq8624] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
    max-width: 100%;
}

/* Force 5 columns on very large screens */
@media (min-width: 1600px) {
    .machine-grid[b-3qw1rq8624] {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Force 4 columns on large screens */
@media (min-width: 1200px) and (max-width: 1599px) {
    .machine-grid[b-3qw1rq8624] {
        grid-template-columns: repeat(4, 1fr);
    }
}

.machine-card[b-3qw1rq8624] {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 20px 18px 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    transition: box-shadow 0.2s, border 0.2s;
    min-height: 200px;
}

    .machine-card:hover[b-3qw1rq8624] {
        box-shadow: 0 4px 16px rgba(0,0,0,0.10);
        border: 1.5px solid #aaa;
    }

.machine-icon[b-3qw1rq8624] {
    font-size: 2.2rem;
    margin-bottom: 12px;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background-color: #f8f9fa;
}

    .machine-icon img[b-3qw1rq8624] {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

.machine-name[b-3qw1rq8624] {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #222;
}

.machine-address[b-3qw1rq8624], .styled-address[b-3qw1rq8624] {
    font-size: 1.01rem;
    color: #2d3a4a;
    margin-bottom: 4px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-style: italic;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.3;
}

.machine-openstate[b-3qw1rq8624] {
    font-size: 1.08rem;
    margin-bottom: 4px;
    color: #222;
    font-weight: bold;
    letter-spacing: 0.01em;
}

.address-link[b-3qw1rq8624] {
    color: #1976d2;
    text-decoration: underline;
    font-weight: 500;
    font-family: inherit;
    word-break: break-word;
    white-space: normal;
    transition: color 0.15s;
}

    .address-link:hover[b-3qw1rq8624] {
        color: #0d47a1;
        text-decoration: underline wavy;
    }

/* Modal grid layout */
.modal-grid[b-3qw1rq8624] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: flex-start;
}

.modal-data[b-3qw1rq8624] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-openings[b-3qw1rq8624] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (max-width: 700px) {
    .modal-grid[b-3qw1rq8624] {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .modal-openings[b-3qw1rq8624] {
        margin-top: 10px;
    }
}

.machine-status[b-3qw1rq8624] {
    display: flex;
    align-items: center;
    margin-top: 6px;
    font-size: 0.97rem;
}

.status-indicator[b-3qw1rq8624] {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
    flex-shrink: 0;
}

.status-green[b-3qw1rq8624] {
    background-color: #28a745;
}

.status-yellow[b-3qw1rq8624] {
    background-color: #ffc107;
}

.status-red[b-3qw1rq8624] {
    background-color: #dc3545;
}

.status-gray[b-3qw1rq8624] {
    background-color: #6c757d;
}

.status-text[b-3qw1rq8624] {
    font-weight: 500;
}

/* Modal styles */
.modal-backdrop[b-3qw1rq8624] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
/*    backdrop-filter: blur(3px);*/
}

.modal-content[b-3qw1rq8624] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 32px 28px 24px 28px;
    min-width: 320px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn-b-3qw1rq8624 0.18s;
}

@keyframes modalIn-b-3qw1rq8624 {
    from {
        transform: translateY(30px) scale(0.98);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

.modal-close[b-3qw1rq8624] {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    z-index: 10;
}

.modal-header[b-3qw1rq8624] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.modal-title[b-3qw1rq8624] {
    font-size: 1.3rem;
    font-weight: bold;
    color: #222;
}

.modal-section[b-3qw1rq8624] {
    margin-bottom: 14px;
    font-size: 1.01rem;
}

.maps-link[b-3qw1rq8624] {
    margin-left: 10px;
    color: #1976d2;
    text-decoration: underline;
    font-size: 0.97rem;
}

.openings-list[b-3qw1rq8624] {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .openings-list li[b-3qw1rq8624] {
        margin-bottom: 2px;
        font-size: 0.97rem;
    }
