html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}
.app-layout {
    display: flex;
    min-height: calc(100vh - 60px); /* minus header */
}

.sidebar {
    width: 290px;
    background: #473316;
    border-right: 1px solid #ddd;
    padding: 1rem;
}


.titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main-content {
    flex: 1;
}

.content-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.table-panel {
    flex: 1;
}

.right-column {
    width: 400px; /* adjust as needed */
}
.content {
    flex: 1;
    padding: 2rem;
}
body {
    margin-bottom: 60px;
    /* background-color: #473316; your color */
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.LoginImage {
    max-width: 200px;
    height: auto;
}
.nav-link.active {
    font-weight: 600;
    border-bottom: 2px solid white;
}
.drop-zone {
    border: 2px dashed #4CAF50;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    color: #555;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

    .drop-zone.dragover {
        background-color: #f0fff0;
        border-color: #2e7d32;
    }
.selected-row {
    background-color: #F89826;
    color: white;
}

    .selected-row td {
        background-color: #F89826;
        color: white;
    }
input[type="file"] {
    display: none;
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    margin-bottom: 0.5rem;
}
a.btn-primary {
    background-color: #473316;
}

a.btn-secondary {
    background-color: c;
}

a.btn-primary:hover {
    background-color: #473316;
    border-color: #473316;
}

a.btn-secondary:hover {
}

button.btn-primary {
    background-color: #473316;
    border-color: #473316;
}

button.btn-secondary {
    background-color: #473316;
    border-color: #473316;
}

button.btn-primary:hover {
    background-color: #473316;
    border-color: #473316;
}

button.btn-secondary:hover {
    background-color: #473316;
    border-color: #473316;
}
.partial-container {
    background-color: #473316;
    border: 1px solid #473316;
    color: white;
    padding: 10px;
}

    .partial-container h5 {
        color: white;
    }

    .partial-container table {
        width: 100%;
        border-collapse: collapse;
    }

    .partial-container td {
        border-color: #6b4508;
        padding: 8px 0;
    }

    .partial-container a,
    .partial-container a:visited {
        color: white;
        text-decoration: none;
    }

        .partial-container a:hover {
            color: white;
            text-decoration: underline;
        }
    .partial-container .table-active {
        color: white;
        text-decoration: underline;
    }


        .partial-container .table-active td {
            text-decoration: underline;
        }
.dashboard-container {
    display: flex;
    gap: 20px;
}
.partial-container,
.partial-container table,
.partial-container tr,
.partial-container td {
    border: none;
    box-shadow: none;
}
.tables-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.table-panel {
    flex: 4;
    background: #5d3d10;
    border-radius: 16px;
    padding: 15px;
}

.kpi-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kpi-card {
    background: #5d3d10;
    border-radius: 16px;
    height: 100%;
    min-height: 140px;
    color: white;
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kpi-value {
    white-space: nowrap;
    font-size: 2rem;
    font-weight: bold;
}
.kpi-small {
    height: 75px;
}

.kpi-large {
    height: 300px;
}
.kpi-label {
    font-size: 1.2rem;
    margin-top: 10px;
}
.kpi-title {
    font-size: 1rem;
}
tr.rowclass:hover > td {
    background-color: #F89826;
    cursor: pointer;
}
.contract-table {
    color: white;
}

    .contract-table th {
        border-bottom: 1px solid rgba(255,255,255,.2);
    }

    .contract-table .total-row {
        font-weight: bold;
    }
.chart-box {
    height: 500px;
    border: 2px solid brown;
    border-radius: 12px;
    padding: 8px;
    background: #fff;
}
.chart-container {
    border: 1px solid #473316;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

    .chart-container canvas {
        max-height: 350px;
    }
.powerscan-pane {
    background-color: #473316;
    padding: 30px;
    border-radius: 10px;
    color: white;
}

.powerscan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 300px;
    gap: 20px;
}

.info-card,
.small-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 15px rgba(255,255,255,.2);
    text-align: center;
}

.info-card {
    min-height: 350px;
    padding: 30px;
}

    .info-card p,
    .info-card h4 {
        margin: 0;
    }

    .info-card ul {
        margin-top: 20px;
        text-align: left;
        display: inline-block;
    }

.right-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.small-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 20px;
}

.process-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.step {
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.15);
    padding: 12px 40px;
    border-radius: 10px;
    font-weight: bold;
}

    .step::after {
        content: "➜";
        position: absolute;
        right: -22px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
    }

    .step:last-child::after {
        display: none;
    }