﻿:root {
    --card-bg: #fff;
    --card-border: #e7e9ee;
    --muted: #6b7280;
    --shadow: 0 10px 30px rgba(2,6,23,.12);
    --accent: rgba(10, 97, 147, 0.5); /* adjust to your brand */
    --brand: #075F92;
    --input-border: rgba(7,95,146,.25);
    --focus-ring: rgba(7,95,146,.15);
    --left-bg: rgba(1, 74, 116, .9); /* solid dark teal */
    --left-ink: #eaf6ff; /* light text */
    --left-ink-sub: #cfe6f4;
    --left-border: rgba(255,255,255,.55);
    --left-card-bg: rgba(255,255,255,.08);
    --left-card-border: rgba(255,255,255,.25);
}



.blazored-toast-container {
    z-index: 9999 !important;
}


.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: rgba(10, 97, 147, 0.5);
    padding: 2rem;
    border-radius: 10px;
    width: 400px;
    max-width: 80vw;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: white;
}

    .modal-content img{
        max-height: 85vh;
    }

    .modal-content button:not(.close-button) {
        max-width: 100%;
        padding: 0.5rem 1.25rem;
        border: none;
        border-radius: 30px;
        background-color: #fc8b27;
        color: white;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
        box-sizing: border-box;
        margin: 0.5rem;
    }

    .modal-content button:hover {
        background-color: #5a2f13;
    }

.modal-table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
    color: white;
    font-size: 0.95rem;
    text-align: center;
}

    .modal-table th,
    .modal-table td {
        padding: 0.6rem 0.8rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .modal-table th {
        font-weight: bold;
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .modal-table tr:last-child td,
    .modal-table tr:last-child th {
        border-bottom: none;
    }

    .modal-table td:first-child {
        white-space: nowrap;
        width: auto
            
            ;
    }


.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: transparent;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}

.typebutton {
    max-width: 100%;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 30px;
    background-color: #fc8b27;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    margin: 0.5rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

    .typebutton:hover {
        background-color: #5a2f13;
    }

.rfid-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    border: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.custom-image {
    width: 300px;
    height: auto;
    display: block;
    margin: auto;
}