﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

span.field-validation-error {
    font-size: small;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: red;
    font-weight: 400;  
}

/* Hide header of DataTable */
.dataTables-hide-header .dataTables_wrapper table thead {
    display: none;
}

table.dataTables-medium-size thead tr th {    
    line-height: 1.2em;
    font-size: 0.95em;
}

table.dataTables-medium-size tbody tr td {
    line-height: 1em;
    padding-bottom: 6px;
    padding-top: 6px;
    font-size: 0.9em;
}

    table.dataTables-medium-size tbody tr td.dataTables_empty {
        line-height: 1.5em;
        font-size: 0.9em;
    }

    table.dataTables-medium-size tbody tr td.cell-button {
        padding-bottom: 3px;
        padding-top: 3px;
    }

/* Similar to external-event; used to display car park occupancy info */
.info-message {
    white-space: nowrap;
    display: flex;
    align-items: center;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    font-weight: bold;
    margin-left: 10px;
    margin-bottom: 4px;
    padding: 5px 10px;
}
/* ---------- Occupancy ---------- */
/* ---- Step indicator ---- */
.oc-stepper {
    margin: 0;
    padding: 0;
}

.oc-step {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.oc-step-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid #adb5bd;
    color: #adb5bd;
    background: #fff;
}

.oc-step-label {
    margin-left: 8px;
    font-size: 0.85rem;
    color: #6c757d;
    white-space: nowrap;
}

.oc-step.completed .oc-step-circle {
    border-color: #007bff;
    color: #007bff;
}

.oc-step.completed .oc-step-label {
    color: #495057;
}

.oc-step.active .oc-step-circle {
    border-color: #007bff;
    background: #007bff;
    color: #fff;
}

.oc-step.active .oc-step-label {
    color: #007bff;
    font-weight: 600;
}

.oc-step-line {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: #dee2e6;
    vertical-align: middle;
    margin: 0 10px;
}

/* ---- Selected car park summary card ---- */
.oc-summary-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e7f1ff;
    color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto 0.75rem;
}

/* ---- Direction / Status cell rendering ---- */
.oc-direction-up {
    color: #28a745;
}

.oc-direction-down {
    color: #dc3545;
}

.oc-status-badge {
    font-weight: 500;
    padding: 0.3em 0.6em;
}