/* Light / white theme for Fibre Network Manager */
body {
    background: #f4f6f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 0.925rem;
}
main { flex: 1; }

.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    border-radius: 0.5rem;
}
.card-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

/* Fibre colour badge */
.fibre-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(0,0,0,.1);
}

/* Colour cells matching Excel look */
.fibre-cell {
    width: 70px;
    text-align: center;
    vertical-align: middle !important;
    font-weight: 700;
    color: #fff;
    border-radius: 4px;
}
.fibre-cell.white, .fibre-cell.yellow, .fibre-cell.aqua, .fibre-cell.lightblue {
    color: #333 !important;
}

/* Table tweaks */
.table-fibre th {
    background: #e9ecef;
    font-size: 0.8rem;
    white-space: nowrap;
}
.table-fibre td {
    vertical-align: middle;
    font-size: 0.85rem;
}
.table-fibre input, .table-fibre select {
    font-size: 0.85rem;
    padding: 0.25rem 0.4rem;
}

/* Service count badges on dashboard */
.count-badge {
    display: inline-block;
    min-width: 2rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    background: #e9ecef;
    font-weight: 600;
}

/* Sticky header for long forms */
.sticky-toolbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    padding: 0.75rem 0;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1rem;
}

/* View mode – disable inputs visually */
.view-mode input,
.view-mode select,
.view-mode textarea {
    background: #f8f9fa;
    pointer-events: none;
    border-color: #e9ecef;
}

.bb-input { max-width: 90px; }
.num-input { max-width: 80px; }
.addr-input { min-width: 140px; }
.coord-input { max-width: 110px; }

.section-title {
    background: #343a40;
    color: #fff;
    padding: 0.4rem 0.75rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
