
/* Maharlika IX exchange layout, inspired by the supplied DE-CIX ASEAN reference. */
:root { --mci-navy: #102b50; --mci-red: #b51d38; --mci-sidebar: #dce7f2; --mci-line: #dbe3eb; }
body, .page { color: #283b50; font-size: 15px; }
.page { background: #f3f6fa; }
.page-content { background: #f3f6fa; background-image: none; }
.page-sidebar { flex: 0 0 248px; background: var(--mci-sidebar); color: var(--mci-navy); border-right: 1px solid #c5d3e2; }
.page-sidebar .sidebar-header { min-height: 80px; height: 80px; align-items: center; background: var(--mci-navy); padding: 0 12px; }
.page-sidebar .sidebar-header .logo { flex: 0 0 56px; padding: 0; margin-right: 10px; }
.page-sidebar .sidebar-header .logo a { display: block; width: 56px; height: 56px; border-radius: 8px; background: white url('/theme/assets/maharlika-icon.png') center / 50px 50px no-repeat; }
.page-sidebar .sidebar-header .logo svg, .page-sidebar .sidebar-header .logo i { display: none; }
.page-sidebar .sidebar-header .title { min-width: 0; }
.page-sidebar .sidebar-header .title h1 { color: white; font-size: 18px; font-weight: 700; line-height: 1.2; margin: 0; padding: 0; }
.page-sidebar .sidebar-header .title p { color: #d8e5f6; font-size: 11px; margin: 5px 0 0; }
.page-header { background: var(--mci-navy); color: white; min-height: 80px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; padding: 18px 24px; border-bottom: 3px solid var(--mci-red); }
.page-header a { color: #fff; }
.page-header .status-name, .page-header .status-protocol { color: #fff; font-size: 17px; }
.page-sidebar h2 { color: #8f1731; font-size: 12px; font-weight: 700; letter-spacing: .08em; margin: 26px 16px 12px; padding: 0; }
.page-sidebar .routeservers-list { margin-top: 0; }
.page-sidebar .routeservers-list > ul li { margin: 5px 10px; padding: 10px; border-radius: 6px; }
.page-sidebar .routeservers-list .routeserver-id { color: #183e66; font-size: 15px; line-height: 1.4; padding: 5px 7px; margin: -5px -7px 0; border-radius: 4px; }
.page-sidebar .routeservers-list .routeserver-id:hover { color: #102b50; background: #c6d8e9; text-decoration: none; }
.page-sidebar .routeservers-list .routeserver-id[aria-current="page"] { color: white; background: var(--mci-navy); box-shadow: inset 3px 0 0 #ea4961; }
.page-sidebar .routeservers-list .routeserver-status .bird-version { color: #465c72; font-size: 12px; margin-top: 5px; }
.page-sidebar .routeservers-groups-select .btn-select { background: var(--mci-navy); border-radius: 5px; }
.details-main { margin-top: 0; }
.card { border: 1px solid var(--mci-line); border-radius: 7px; box-shadow: 0 2px 5px rgba(16,43,80,.045); padding: 18px; }
.card-header { font-size: 13px; font-weight: 600; letter-spacing: .035em; }
.card-header-neighbors.established, .card-header-routes.received { color: #147445; }
.card-header-neighbors.down { color: #b51d38; }
.table > thead > tr > th { color: #33465c; font-size: 13px; font-weight: 700; border-bottom: 2px solid #dce4ed; padding: 13px 10px; }
.table > tbody > tr > td { padding: 13px 10px; border-top: 1px solid #e4eaf0; vertical-align: middle; }
.table-striped > tbody > tr:nth-of-type(odd) { background: #f6f8fb; }
.table > tbody > tr:hover { background: #edf4fc; }
.table a { color: #2465a7; }
.table-routes > tbody > tr > td, .table-protocols > tbody > tr > td { font-variant-numeric: tabular-nums; }
.table-protocols .protocol-state-error { color: #936000; }
.form-control { border-color: #cdd8e4; box-shadow: none; border-radius: 5px; min-height: 42px; }
.form-control:focus { border-color: #337ab7; box-shadow: 0 0 0 3px rgba(51,122,183,.13); }
.input-group-addon { background: #edf2f7; border-color: #cdd8e4; }
.routes-quick-links, .neighbors-quick-links { line-height: 1.8; }
.routes-quick-links li, .neighbors-quick-links li { border: 1px solid var(--mci-line); padding: 2px 8px; }
.page-footer { padding: 16px 24px; color: #5c6d80; border-top: 1px solid var(--mci-line); background: #eef3f8; }
.modal-content { border: 1px solid #d0dae5; box-shadow: 0 16px 50px rgba(16,43,80,.2); }
.modal-header { background: #f0f5fa; border-radius: 6px 6px 0 0; }
.label-info { background: #236c91; }
.lookup-examples > ul { width: 100%; }
.lookup-examples .label { white-space: normal; overflow-wrap: anywhere; }
@media (min-width: 1200px) {
 .details-main.row { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; padding: 22px; }
 .details-main.row::before, .details-main.row::after { display: none; }
 .details-main.row > .col-main, .details-main.row > .col-aside-details { float: none; width: auto; min-width: 0; padding: 0; }
 .details-main.row > .col-main > .card:first-child, .details-main.row > .col-aside-details > .card:first-child { margin-top: 0; }
}
@media (min-width: 768px) and (max-width: 1199px) {
 .page-sidebar { flex-basis: 220px; }
 .page-sidebar .sidebar-header { padding: 0 10px; }
 .page-sidebar .sidebar-header .title h1 { font-size: 16px; }
 .details-main.row { padding: 0 6px; }
}
@media (max-width: 767px) {
 .page-sidebar { flex: 0 0 auto; width: 100%; border-right: 0; }
 .page-sidebar .sidebar-header { height: auto; min-height: 76px; padding: 8px 12px; }
 .page-sidebar .sidebar-header .title h1 { font-size: 18px; }
 .mci-nav-toggle { background: #173a62; border-color: #91abc7; margin-right: 0; }
 .page-header { min-height: 56px; padding: 12px 16px; }
 .page-header .status-name, .page-header .status-protocol { font-size: 15px; }
 .page-sidebar h2 { margin: 10px 18px; }
 .page-sidebar .routeservers-list > ul li { margin: 2px 8px; padding: 10px; }
 .details-main.row { display: block; padding: 0; }
 .card { padding: 12px; }
 .table > tbody > tr > td, .table > thead > tr > th { padding: 11px 9px; }
 .page-footer { padding: 14px; }
}
