html {
    font-family: Monospace, sans-serif, Arial;
}

body {
    margin: 0;
    min-height: 100vh;
}

p {
}

b {
    font-weight: bolder;
}

a {
    color: inherit;
    text-decoration: none;
}

table tr td {
    vertical-align: top;
}

.selectMenu {
    background: #fff;
}

.pointer {
    cursor: pointer;
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}
textarea:nth-child(even) {
    background: #eee;
}
.underline {
    text-decoration: underline;
}
.notSupported {
    font-style: italic;
    color: #f88;
}
.hoverLight:hover {
    background-color: #eee;
}
.topSeparator tr:first-child {
    border-top: #000 1px solid;
}
.topSeparator tr td {
    border-right: #ccc 1px solid;
}
.mt2 {
    margin-top: 20px;
}
.mb2 {
    margin-bottom: 20px;
}
.lookup div:nth-child(even) {
    background: #eee;
}
.lookup .LINE {
    margin-left: 20px;
}
.lookup .WARNING {
    margin-left: 20px;
    background: #fc0;
}
.lookup .ERROR {
    margin-left: 20px;
    background: #c00;
    color: #fff;
}
.lookup .TOGGLE {
    margin-left: 20px;
}

.lookup .TOGGLE .toggle-title {
    font-weight: bold;
}

.lookup .TOGGLE .toggle-title.expandable {
    cursor: pointer;
}

.lookup .TOGGLE .toggle-title.expandable::after {
    content: '▲';
    margin-left: 5px;
}

.lookup .TOGGLE .toggle-lines {
    display: none;
}

.lookup .TOGGLE.toggled .toggle-title.expandable::after {
    content: '▼';
}

.lookup .TOGGLE.toggled .toggle-lines {
    display: block;
}

.dump tr:nth-child(even) {
    background: #eee;
}
.dump tr:hover {
    background: #ccc;
}
.dump {
    border-spacing: 5px 2px;
}
.dump th {
    text-align: left;
}

.dumpStatic tr:nth-child(even) {
    background: #eee !important;
}
.dumpStatic tr:nth-child(odd) {
    background: #fff !important;
}
.dumpStatic {
    border-spacing: 5px 2px;
    background: #fff;
    border-collapse: collapse;
}
.dumpStatic td {
    border: 1px solid black;
    padding: 5px;
}
.dumpStatic th {
    text-align: left;
}

.dumpEx2 tbody tr:nth-child(even) {
    background: #eee;
}
.dumpEx2 tbody tr:hover {
    background: #ccc;
}
.dumpEx2 {
    border-spacing: 5px 2px;
}
.dumpEx2 th {
    text-align: left;
}

.dumpEx tbody:nth-child(even) {
    background: #eee;
}
.dumpEx tbody:hover {
    background: #ccc;
}
.dumpEx {
    border-spacing: 5px 2px;
}
.dumpEx th {
    text-align: left;
}

.diffTable {
    font-size: 12px;
}

.blink_me {
    animation: blinker 2s linear infinite;
}
.noOutline:focus {
    outline-width: 0;
}
@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.pages-list-link {
    color: #f00;
    cursor: pointer;
}
.block-form {
    background: #ddd;
    margin: 20px;
    padding: 10px;
}
.top-submenu {
    display: inline-block;
    background: #ccf;
    padding: 5px;
    border-radius: 5px;
}

* {
    margin: 0;
}


.container-app {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.performanceBody {
    font-family:
        Helvetica Neue,
        Arial,
        sans-serif;
    font-size: 14px;
    color: #444;
    background: #e5e5e5;
}

.navigation {
    z-index: 1;
    position: static;
    display: flex;
    padding: 20px 0;
    width: 100%;
    justify-content: space-around;
    background: #ffffff;
    color: #246c7f;
    border-bottom: #246c7f 1px solid;
}

.menu {
    cursor: pointer;
}

h1.performance {
    font-size: 22px;
    color: #246c7f;
}

h2.performance {
    margin: 0 0 30px 0;
    font-size: 22px;
    color: #246c7f;
}

h3.performance {
    font-size: 18;
    margin-bottom: 20px;
    height: 30px;
}

p.performance {
    font-size: 18px;
    font-weight: bold;
    color: #02141a;
}

p.performance:hover {
    color: #246c7f;
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}

.table-routes {
    height: 70px;
}

.routes-block,
.users-block,
#my_dataviz {
    z-index: 0;
    margin: 90px 0;
    /* border-radius: 30px; */
    padding: 30px 30px;
    border: 1px solid #246c7f;
    background-color: #ffffff;
}

/* #table-users{
    width: 100px;
    overflow: hidden;
} */

.form form {
    display: flex;
}

.premier,
.second {
    width: 50%;
}

.button {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    cursor: pointer;
    width: 230px;
    padding: 10px 10px;
    background-color: #246c7f;
}

.button p {
    color: #ffffff;
}

.display {
    display: none;
}

.ht__highlight .relative {
    background-color: #246c7f;
    color: #fff;
}
.info {
    position: relative;
    bottom: 0px;
    font:
        0.8em 'Open Sans',
        sans-serif;
    color: red;
}

.toggleView-btn {
    text-align: right;
    cursor: pointer; /* Change cursor to indicate clickable state */
    float: right;
    padding: 5px;
    margin: 5px;
}

.pagination button.active {
  font-weight: bold;
  text-decoration: underline;
}


.environment-title {
    padding:10px;
    margin-bottom:5px;
}
.environment-title-local {
    background: linear-gradient(to right, #2F2F8A, #FFFFFF);
    color: #fff;
}
.environment-title-backup {
    background: linear-gradient(to right, #B1E78D, #FFFFFF);
    color: #333;
}
.environment-title-prod {
    background: linear-gradient(to right, #F32424, #FFFFFF);
    color: #fff;
}

/* canEdit */
.can-model {
    display: inline-block;
    width: 200px;
    margin: 3px;
    padding: 3px;
}
.can-model--active  { background: #fc0; }
.can-model--default { background: #ddd; }


/* Filters */
.filter-container {
    margin: 20px 10px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.filter h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #111827;
}

/* GRID layout */
.filters_block {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px 20px;
    align-items: end;
    margin: 15px 0;
}
/* tablette */
@media (max-width: 900px) {
    .filters_block {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* mobile */
@media (max-width: 600px) {
    .filters_block {
        grid-template-columns: 1fr;
    }
}

/* Labels */
.filter label {
    font-size: 13px;
    color: #6b7280;
    display: block;
    margin-bottom: 4px;
}

/* Inputs & selects */
.filter input[type="text"],

.filter select {
    width: 100%;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    font-size: 14px;
    transition: all 0.2s ease;
}
.filter input[type="date"] {
    width: 95%;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    font-size: 14px;
    transition: all 0.2s ease;
}

.filter input:focus,
.filter select:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* checkbox + label align */
.filter input[type="checkbox"] {
    margin-right: 6px;
}

.filter .checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* disabled */
.filter input:disabled {
    background: #e5e7eb;
    cursor: not-allowed;
}

/* group (label + select + input) */
.filter .field {
    display: flex;
    flex-direction: column;
}

/* inline select + input */
.filter .inline {
    display: flex;
    gap: 8px;
}

.filter .inline select {
    width: fit-content;
    flex-shrink: 0;
}


/* ===== Layout ===== */
.page {
    padding: 0px 20px 20px 20px;
    background: #f9fafb;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ===== Card ===== */
.card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    margin: 10px 0;
}

/* ===== Header ===== */
.page-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111827;
}

/* ===== Stats (balance) ===== */
.stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat {
    background: #f3f4f6;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    color: #374151;
}

.stat strong {
    font-size: 16px;
    color: #111827;
}

/* ===== Pagination wrapper ===== */
.pagination {
    margin: 15px 0;
}

/* ===== Table ===== */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.moba-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

/* Header */
.moba-table thead {
    background: #111827;
    color: #fff;
    position: sticky;
    top: 0;
}

.moba-table th {
    text-align: left;
    padding: 12px;
    font-weight: 500;
    white-space: nowrap;
}
.moba-table th.pointer {
    cursor: pointer;
}

/* Rows */
.moba-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
}

/* Zebra */
.moba-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

/* Hover */
.moba-table tbody tr:hover {
    background: #eef2ff;
    transition: 0.2s;
}

/* end moba-table */


/* ===== START Form Inputs ===== */
.form-input,
.form-select,
.form-textarea {
    padding: 4px 5px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

/* magie ici 👇 */
.form-checkbox input[type="checkbox"] {
    accent-color: #3b82f6; /* couleur moderne */
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* petit effet hover */
.form-checkbox:hover {
    color: #111827;
}

.form-textarea {
    min-height: 110px;
    resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-checkbox:focus {
    outline: none;
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled,
.form-checkbox:disabled {
    background: #e5e7eb;
    cursor: not-allowed;
}


/* wrapper */
.switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
}

/* cacher checkbox */
.switch input {
    display: none;
}

/* track */
.slider {
    position: relative;
    width: 36px;
    height: 20px;
    background: #e5e7eb;
    border-radius: 999px;
    transition: 0.25s;
}

/* knob */
.slider::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    top: 2px;
    background: white;
    border-radius: 50%;
    transition: 0.25s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ON */
.switch input:checked + .slider {
    background: #3b82f6;
}

.switch input:checked + .slider::before {
    transform: translateX(16px);
}

/* hover léger */
.switch:hover .slider {
    background: #d1d5db;
}

.switch input:checked:hover + .slider {
    background: #2563eb;
}

/* 🔒 LOCKED (disabled) */
.switch input:disabled + .slider {
    background-color: #9ca3af; /* gris */
    opacity: 0.8;
}

/* actif + verrouillé */
.switch input:checked:disabled + .slider {
    background-color: #60a5fa; /* bleu désaturé */
}

/* knob lock */
.switch input:disabled + .slider::before {
    background-color: #e5e7eb;
}

/* ===== END Form Inputs ===== */



/* Amounts */
.amount {
    font-weight: 500;
    color: #111827;
}

/* Negative / refund */
.amount.refund {
    color: #059669;
}

/* Status */
.status {
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    display: inline-block;
}

.status.ok {
    background: #dcfce7;
    color: #166534;
}

.status.error {
    background: #fee2e2;
    color: #991b1b;
}

/* start btn */
.action-btn {
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #374151;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #eef2ff;
    border-color: #6366f1;
    color: #3730a3;
}

.action-btn.save {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.action-btn.save:hover {
    background: #059669;
}

.action-btn.cancel {
    background: #f3f4f6;
}
/* end btn */