/* CSS stiliai lentelėms */

.grayscale {
    filter: grayscale(80%);
}

body {
    padding: 0;
    margin: 0;
}

html,
body,
#mapid {
    height: 100%;
    width: 100vw;
}

.stationLabel {
    background: rgba(255, 0, 0, 0);
    border: 0;
    border-radius: 0px;
    box-shadow: 0 0px 0px;
    font-weight: bold;
    color: rgb(0, 82, 121);
}

.popup-table th {
    background-color: #f9f9f9;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

.red {
    border: 2px solid rgba(255, 99, 71, 0.7);
    background-color: rgba(255, 99, 71, 0.2);
}

.yellow {
    border: 2px solid rgba(255, 215, 0, 0.7);
    background-color: rgba(255, 215, 0, 0.2);
}

.green {
    border: 2px solid rgba(144, 238, 144, 0.7);
    background-color: rgba(144, 238, 144, 0.2);
}

.gray {
    border: 2px solid rgba(169, 169, 169, 0.7);
    background-color: rgba(169, 169, 169, 0.2);
}

.leaflet-control.date-filter-control {
    background: white;
    padding: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}


/* Stilius kontrolės konteineriui */

.date-control {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 250px;
    /* Nustatykite tinkamą plotį pagal poreikį */
    font-size: 12px;
    /* Sumažintas šrifto dydis */
}

.date-control .title {
    text-align: left;
    font-size: 14px;
    /* Šrifto dydis antraštei */
    font-weight: bold;
    margin-bottom: 5px;
}

.date-control .input-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.date-control label {
    font-size: 12px;
    /* Sumažintas šrifto dydis */
    font-weight: bold;
    white-space: nowrap;
    width: 60px;
    /* Fiksuotas pločio etiketėms */
}

.date-control input[type="date"] {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
    /* Sumažintas šrifto dydis */
}

.export-excel-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 6px;
    /* Sumažintas padding */
    background-color: transparent;
    /* Be fono spalvos */
    color: #333;
    /* Tamsiai pilka spalva */
    border: 1px solid #ccc;
    /* Lengvas kraštinis */
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    /* Sumažintas šrifto dydis */
    font-weight: normal;
    transition: background-color 0.3s ease;
}

.export-excel-button i {
    margin-right: 5px;
    font-size: 12px;
    /* Sumažinta ikonos dydis */
}

.export-excel-button:hover {
    background-color: #f0f0f0;
}


/* CSS stiliai lentelėms */


/* Add this to your CSS file */


/* Add this to your CSS file or <style> section */


/* Add or update this in your CSS file or <style> section */


/* Add or update this in your CSS file or <style> section */

.days-label.normal {
    color: green;
}

.days-label.warning {
    color: orange;
}

.days-label.urgent {
    color: red;
}

.days-label {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #000;
    /* Adjust color as needed */
    font-size: 12px;
    /* Adjust font size as needed */
    text-align: center;
    white-space: nowrap;
    font-weight: bold;
    /* Optional */
    text-shadow: 1px 1px 2px rgba(243, 7, 7, 0.8);
    /* Optional for better readability */
    pointer-events: none;
}