body {
    background: #F5FAFB;
    color: #184952;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}
h2 {
    font-size: 26px;
    font-weight: bold;
    color: #217587;
    margin-bottom: 20px;

}
strong {
    color: #184952;
}
.navbar {
    background-color: #0d2330;
    position: fixed;
    z-index: 1000;
    top: 0;
    padding: 16px 20px;
    width: 100%;
}
.navbar .container {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar.w-100 > div {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .container.w-100 {
    max-width: 100%;
    width: 100%;
}
.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 0px;
    margin-top: 0px;
}
.navbar-brand img {
    height: 35px;
    margin-right: 0px;
    padding-top: 3px;
    filter: brightness(1.3)
}
.navbar-brand span {
    font-size: 17px;
    font-weight: bold;
    color: #3db7cb;
    font-family: 'Poppins', sans-serif;
    padding-top: 7px;
}
.navbar-nav .nav-link {
    font-size: 14px;
    color: white;
    transition: color 0.3s ease-in-out;
    margin-left: 15px;
}
.navbar-nav .nav-link:hover {
    color: #e0e0e0;
}
.btn-signup {
    background: #217587;
    color: white !important;
    font-weight: bold;
    border-radius: 6px;
    padding: 8px 15px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-left: 10px;
}
.btn-signup:hover {
    background: #3db7cb;
    box-shadow: 0px 4px 10px rgba(51, 159, 177, 0.3);
}
.btn-logout {
    background: #D96A50;
    color: white !important;
    font-size: 12px;
    border-radius: 6px;
    padding: 4px 15px;
    transition: background 0.2s ease-in-out;
    display: block;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 20px;
}
.btn-logout:hover {
    background: #E27D60;
    box-shadow: 0px 2px 6px rgba(51, 159, 177, 0.3);
}
.login-container {
    width: 100%;
    max-width: 400px;
    margin: auto;
    margin-top: 100px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}
.login-container h2 {
    font-size: 26px;
    font-weight: bold;
    color: #217587;
    margin-bottom: 20px;
}
.login-container .terms_contract {
    font-size: 10px;
    color: #217587;
    margin-bottom: 20px;
}
.btn-google {
    background: #4285F4;
    color: white !important;
    font-weight: bold;
    font-size: 16px;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 6px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 50px;
    margin-bottom: 25px;
}
.btn-google i {
    font-size: 20px;
    vertical-align: middle;
}
.btn-google:hover {
    background: #357ae8;
    box-shadow: 0px 4px 10px rgba(66, 133, 244, 0.3);
}
.btn-github {
    background: #24292e;
    color: white !important;
    font-weight: bold;
    font-size: 16px;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 6px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 50px;
    margin-bottom: 25px;
}
.btn-github i {
    font-size: 20px;
    vertical-align: middle;
}
.btn-github:hover {
    background: #1b1f23;
    box-shadow: 0px 4px 10px rgba(66, 133, 244, 0.3);
}
.btn-view-performance {
    height: 25px;
    font-size: 12px;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    padding: 4px 10px 0px 10px;
    color: #217f92 !important;
    border: 1px solid #217587;
}
.btn-view-performance:hover {
    background: #217587;
    color: white !important;
}
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0;
    color: #5a5a5a;
    font-size: 13px;
}
.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    margin: 0 12px;
}
.input-group-text {
    background: #247687;
    color: white;
    border: none;
}
.form-control {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #3db7cb;
    color: #343a40;
    font-size: 14px;
    transition: border 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.form-control::placeholder {
    color: rgba(0, 0, 0, 0.5);
    font-size: 12px;
}
.form-control:focus {
    border: 1px solid #339fb1;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    outline: none;
}
.btn-primary {
    background-color: #217f92;
    border: none;
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;
}
.btn-primary:hover {
    background-color: #2b91a3;
}
.btn-back {
    background: transparent;
    color: #217587;
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid #217587;
    border-radius: 5px;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}
.btn-back:hover {
    background: #217587;
    color: white;
}
.btn-memberships {
    background: transparent;
    color: #217587;
    font-size: 12px;
    margin-top: 4px;
    padding: 0px 10px;
    border: 1px solid #217587;
    border-radius: 5px;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}
.btn-memberships:hover {
    background: #217587;
    color: white;
}
.btn-danger {
    background: #dc3545;
    border: none;
    font-size: 12px;
    font-weight: normal;
    padding: 8px 15px;
    transition: background 0.2s ease-in-out;
}
.btn-danger:hover {
    background: #c82333;
}
.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.text-center {
    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 5px;
}
.text-center a {
    color: #247687;
    font-size: 13px;
    font-weight: bold;
    padding: 5px 0px 0px 0px;
}
.sidebar {
    width: 270px;
    background: #0d2330;
    height: calc(100% - 67px);
    position: fixed;
    top: 67px;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 20px;
    overflow: visible;
}
.sidebar ul {
    list-style: none;
    overflow-y: auto;
    padding: 10px 0px 0px 0px;
    flex-grow: 1;
}
.sidebar ul li {
    width: 100%;
    display: block;
    transition: background 0.3s ease-in-out;
}
.sidebar ul li a {
    display: flex;
    align-items: center;
    padding: 15px 35px;
    width: 100%;
    color: white;
    text-decoration: none;
    font-size: 14px;
    gap: 24px;
}
.sidebar ul li a.active {
    color: white;
    border-right: 4px solid #3db7cb;
}
.sidebar ul li a i {
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}
.sidebar ul li:hover a i,
.sidebar ul li a.active i {
    color: #3db7cb;
    transition: color 0.3s ease-in-out;
}
.sidebar ul li:hover {
    border-right: 4px solid #3db7cb;
    transition: border-right 0.1s ease-in-out;
}
.sidebar-footer {
    padding: 15px;
    background: #0d2330;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.sidebar-footer a {
    color: #3db7cb;
}

.sidebar-footer .settings {
    color: white;
    font-size: 14px;
    margin-top: 10px;
}

.welcome-text {
    color: white;
    font-size: 10px;
    margin-bottom: 10px;
}
.content {
    padding: 20px;
    margin-top: 70px;
    margin-bottom: 70px;
    width: 100%;
    overflow-x: hidden;
}
body.authenticated .content {
    margin-left: 270px;
    width: calc(100% - 270px);
}
.alert {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 105px;
    left: 50%;
    z-index: 1050;
    transform: translate(-50%, -50%);
}
.table {
    width: 100%;
    max-width: 100%;
    background-color: white;
    border-collapse: collapse;
}
.table-container {
    width: 100%;
    overflow-x: auto;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}
.table th, .table td {
    padding: 12px;
    text-align: left;
}
.table th {
    background: #1e5f6f;
    color: white;
}
.table td {
    border-bottom: 1px solid #ddd;
}
.container-fluid {
    width: 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    overflow-x: hidden;

}
.container-fluid input, .container-fluid select {
    max-width: 100%;
}
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #339fb1;
}
input:checked + .slider:before {
    transform: translateX(14px);
}
.monitor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid #cfd8dc !important;
    background: #F1F7F9;
    border-radius: 5px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #184952;
    transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    flex-wrap: wrap;
    word-break: break-word;
    white-space: normal;
}
.monitor-item:hover {
    background: #DDEDF1;
    box-shadow: 0px 4px 8px rgba(24, 73, 82, 0.1);
}
.disabled-monitor {
    background: #F5F7F8 !important;
    color: #A0B0B5;
    border: none !important;
    opacity: 0.4;
}
.disabled-monitor:hover {
    background: #F0F4F5 !important;
}
.monitor-meta {
    font-size: 11px;
    color: #6c757d;
    margin-top: 3px;
}
.generic-form-container {
    padding: 35px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}
.generic-form-container .form-group {
    margin-bottom: 25px;
    text-align: left;
}
.generic-form-container .form-control {
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #2b91a3;
    background: rgba(255, 255, 255, 0.6);
}
.generic-form-container .form-control:focus {
    border-color: #339fb1;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    outline: none;
}
.monitor-url-group {
    display: flex;
    gap: 20px;
}
.monitor-url-group .form-group {
    flex-grow: 1;
}
.monitor-url-group .scheme-field {
    flex-basis: 15%;
}
.monitor-url-group .domain-field {
    flex-basis: 45%;
}
.monitor-url-group .path-field {
    flex-basis: 40%;
}
.monitor-url-group .timeout-field {
    flex-basis: 20%;
}
.timeout-field span {
    font-size: 12px;
}
.interval-field span{
    font-size: 12px;
}
.ssl-field span {
    font-size: 12px;
}
.timeout-field .form-range {
    width: 100%;
    cursor: pointer;
}
.timeout-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 5px;
    padding: 0 5px;
}
.timeout-ticks span {
    text-align: center;
    width: 4%;
}

/* Chrome, Safari, Edge */
.timeout-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #197a8b;
    cursor: pointer;
    border: none;
    margin-top: -5px;
}

/* Firefox */
.timeout-field input[type="range"]::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #197a8b;
    cursor: pointer;
    border: none;
}

.monitor-url-group .keyword-field {
    flex-basis: 80%;
}
.monitor-url-group .enabled-field {
    flex-basis: 80%;
}

@media (max-width: 768px) {
    .monitor-url-group {
        flex-direction: column;
    }
    .monitor-url-group .scheme-field,
    .monitor-url-group .domain-field,
    .monitor-url-group .path-field {
        flex-basis: 100%;
    }
}
.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.button-container .btn-small {
    width: auto;
    padding: 8px 15px;
    font-size: 14px;
}
.delete-form {
    margin-left: auto;
}

.btn-interval {
    background-color: #fff;
    border: 1px solid #2b91a3;
    color: #343a40;
    font-weight: 500;
    font-size: 14px;
    border-radius: 6px;
    padding: 10px 16px;
    margin: 4px;
    transition: background-color 0.2s, border-color 0.2s;
}

.btn-interval:hover {
    background-color: #fff;
    border-color: #197a8b;
    color: #197a8b;
}

.btn-check:checked + .btn-interval {
    background-color: #197a8b;
    border-color: #197a8b;
    color: white;
}
.btn-check:disabled + .btn-interval {
    background-color: #F5F7F8;
    border-color: #F5F7F8;
    color: #A0B0B5;
}

.status-badge {
    padding: 3px 8px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 10px;
    margin-left: 10px;
    color: white;
}

.status-badge.up {
    background-color: #28a745;
}

.status-badge.down {
    background-color: #dc3545;
}

.status-badge.unknown {
    background-color: #6c757d;
}

.ssl-expiry-status-badge {
    padding: 3px 8px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 10px;
    margin-left: 10px;
    color: white;
}

.ssl-expiry-status-badge.valid {
    background-color: #35a2dc;
}

.ssl-expiry-status-badge.expiring {
    background-color: #dcc035;
}

.ssl-expiry-status-badge.invalid {
    background-color: #dc3545;
}

.ssl-expiry-status-badge.no-data {
    background-color: #6c757d;
}

.monitor-row {
  display: flex;
  align-items: center;
}

.status-icon {
  flex-shrink: 0;
  margin-right: 12px;
  display: flex;
  align-items: center;
  height: 100%;
}

.monitor-details {
  display: flex;
  flex-direction: column;
}

.organization-switcher {
    position: relative;
    display: inline-block;
    text-align: left;
    margin: 0px 10px;
    min-width: 150px;
}

.selected-organization {
    background-color: #184952;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.organization-menu {
    list-style: none;
    padding: 0;
    margin-bottom: 4px;
    position: absolute;
    bottom: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 9999;
    width: auto;
    min-width: 210px;
    max-width: none;
    white-space: nowrap;
}

.organization-menu li {
    border-bottom: 1px solid #eee;
}

.organization-menu li:first-child {
    border-bottom: none;
    margin-bottom: 8px;
}

.organization-menu li:last-child {
    border-bottom: none;
    margin-bottom: 3px;
}

.organization-separator {
    font-size: 14px;
    padding-left: 15px;
    background-color: #217587;
    color: #fff;
}

.organization-option {
    width: 100%;
    background: none;
    border: none;
    padding: 10px 25px;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: #184952;
}

.organization-option:hover,
.organization-option.selected {
    background-color: #f1f7f9;
    font-weight: 600;
}

.list-organizations ul.list-group {
    padding: 0;
    margin: 0;
    list-style: none;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d8e2e9;
    box-shadow: 0 1px 4px rgba(24, 73, 82, 0.05);
}

.list-organizations li.list-group-item {
    padding: 0;
    border-bottom: 1px solid #e5edf0;
    font-size: 14px;
    transition: background-color 0.15s ease;
}

.list-organizations li.list-group-item:last-child {
    border-bottom: none;
}

.list-organizations li.list-group-item:hover {
    background-color: #eaf5f7;
}

.list-organizations li.list-group-item a {
    color: #184952;
    text-decoration: none;
    font-weight: 500;
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px 16px;
}

.list-organizations li.list-group-item a:hover {
    color: #13697a;
}

.upgrade-banner {
    background: #1e5f6f;
    color: white;
    padding: 18px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
}

.upgrade-text {
    margin: 0 0 10px;
    font-weight: 500;
    color: #f0f8fa;
}

.btn-upgrade {
    background: linear-gradient(to right, #ffd600, #ffb300);
    color: #0d2330 !important;
    font-weight: 600 !important;
    font-size: 12px;
    padding: 4px 10px !important;
    border-radius: 6px;
    text-decoration: none;
    margin: 0 auto;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.3px;
}

.btn-upgrade:hover {
    background: linear-gradient(to right, #ffea00, #ffc400);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.35);
}

.upgrade-popover {
    border: 1px solid #ffd600;
    border-radius: 4px;
}
.upgrade-popover .popover-header {
    background-color: white;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid #ffd600;
    color: #0d2330;
}
.upgrade-popover .popover-body {
    color: #184952;
    font-size: 13px;
}
.upgrade-popover .popover-arrow::before,
.upgrade-popover .popover-arrow::after {
    border-top-color: #ffd600 !important;
}

.upgrade-popover.fade {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.upgrade-popover.fade.show {
    opacity: 1;
}

.plan-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 6px solid #ffb300;
}
.plan-card.highlight {
    border-top: 6px solid #ffd600;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.plan-card h5 {
    font-size: 18px;
    font-weight: bold;
    color: #0d2330;
    margin-bottom: 10px;
}
.plan-price {
    font-size: 20px;
    color: #ff6f00;
    font-weight: bold;
    margin-bottom: 15px;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.plan-features li {
    font-size: 14px;
    color: #184952;
    margin-bottom: 6px;
}
.badge.current-plan {
    background: #ffb300;
    color: #0d2330;
    font-weight: 600;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
}


.plan-card.disabled {
    background: #f3f3f3;
    border-top: 6px solid #cccccc;
    box-shadow: none;
    color: #a0a0a0;
    opacity: 1;
    pointer-events: none;
    filter: grayscale(0.4);
    transition: none;
}

.plan-card.disabled h5,
.plan-card.disabled .plan-price,
.plan-card.disabled .plan-features li,
.plan-card.disabled .plan-features li strong {
    color: #999 !important;
    font-weight: normal !important;
}

.plan-card.disabled .badge {
    background: #d0d0d0;
    color: #666;
    font-weight: 500;
}

.context-badge {
    background: #3db7cb;
    color: white;
    text-align: center;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 12px;
    font-weight: 400;
    margin: 0px 10px;
}

.soon-tag {
  background: #e0e0e0;
  color: #555;
  font-size: 9px;
  font-weight: 600;
  padding: 1px 3px;
  border-radius: 12px;
  margin-left: 1px;
  margin-right: 3px;
  vertical-align: top;
  letter-spacing: 0px;
}

.nav-tabs .nav-link.active {
    color: #000; /* preto */
    border-color: #dee2e6 #dee2e6 #fff;
}
.nav-tabs .nav-link {
    color: #000; /* preto */
}
.nav-tabs .nav-link.disabled {
    color: #a0a0a0 !important;
}
input.disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.timeline-bar {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 10px;
    margin-right: 1px;
    background-color: #ccc;
}

.timeline-bar .tooltip {
    visibility: hidden;
    width: max-content;
    max-width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 4px 8px;
    position: absolute;
    z-index: 100;
    bottom: 125%; /* Above the bar */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.75rem;
    white-space: nowrap;
}

.timeline-bar:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
.disabled-checkbox:disabled + .slider {
    background-color: #F5F7F8 !important;
    cursor: not-allowed;
}

.performance-summary-card {
    border-left: 5px solid #217587;
}

.performance-card-header {
    font-weight: 700;
    color: #184952;
    background: #eef7fa;
}

.performance-table {
    margin-bottom: 0;
}

.performance-table td,
.performance-table th {
    vertical-align: middle;
    word-break: break-word;
}

.performance-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
}

.perf-good {
    color: #0f5132 !important;
    background: #d1e7dd;
}

.perf-warning {
    color: #664d03 !important;
    background: #fff3cd;
}

.perf-bad {
    color: #842029 !important;
    background: #f8d7da;
}

.perf-neutral {
    color: #495057 !important;
    background: #e9ecef;
}

.perf-text-good {
    color: #0f5132 !important;
    font-weight: 600;
}

.perf-text-warning {
    color: #664d03 !important;
    font-weight: 600;
}

.perf-text-bad {
    color: #842029 !important;
    font-weight: 600;
}

.perf-text-neutral {
    color: #495057 !important;
    font-weight: 600;
}

.performance-summary-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #edf2f4;
    vertical-align: middle;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.performance-summary-table tbody tr:last-child td {
    border-bottom: none;
}

.performance-summary-table {
    width: 100%;
    table-layout: fixed;
}

.performance-summary-table td:first-child {
    width: 42%;
}

.performance-summary-table td:last-child {
    width: 58%;
}

.by-type-help {
    font-size: 12px;
    color: #4d6670;
    background: #f3f9fb;
    border-left: 4px solid #3db7cb;
    border-radius: 6px;
    padding: 10px 12px;
}

.by-type-cell {
    min-width: 0;
}

.by-type-table th,
.by-type-table td {
    padding: 8px 10px;
}

.by-type-table {
    table-layout: fixed;
}

.by-type-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #184952;
}

.by-type-icon {
    color: #217587;
    width: 14px;
    text-align: center;
}

.by-type-desc {
    margin-top: 1px;
    font-size: 11px;
    color: #6a7d85;
    line-height: 1.2;
}

.top-slowest-type {
    color: #184952;
}

.top-slowest-type-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-slowest-resource {
    max-width: 380px;
    word-break: break-word;
    font-size: 12px;
}

.summary-visual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-width: 0;
}

.summary-visual-card {
    background: #f6fbfc;
    border: 1px solid #dbeef3;
    border-radius: 10px;
    padding: 10px;
    min-width: 0;
}

.summary-visual-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #1a6170;
    margin-bottom: 8px;
}

.summary-monitor-link {
    color: #35545d;
    text-decoration: none;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.summary-monitor-link:hover {
    color: #35545d;
    text-decoration: none;
}

.performance-page-subtitle {
    color: #4e6c74;
    font-size: 13px;
}

.performance-create-card,
.performance-overview-card,
.performance-list-card {
    border: 1px solid #dceff3;
}

.performance-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.performance-stat-card {
    background: #f6fbfc;
    border: 1px solid #deedf2;
    border-radius: 10px;
    padding: 10px 12px;
}

.performance-stat-label {
    font-size: 11px;
    color: #53717a;
    margin-bottom: 2px;
}

.performance-stat-value {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    color: #1b5f6d;
}

.performance-monitor-cell {
    word-break: break-word;
}

.table-row-clickable {
    cursor: pointer;
}

.insight-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e5eff2;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    color: #35545d;
    margin-bottom: 6px;
    min-width: 0;
    position: relative;
}

.insight-chip:last-child {
    margin-bottom: 0;
}

.insight-chip i {
    color: #217587;
}

.insight-chip span {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.insight-copy-btn {
    margin-left: auto;
    border: 1px solid #d9e9ee;
    background: #fff;
    color: #217587;
    border-radius: 6px;
    font-size: 11px;
    padding: 2px 6px;
    line-height: 1;
}

.insight-copy-btn:hover {
    background: #eef7fa;
}

.insight-chip-truncated::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 20;
    background: #163640;
    color: #fff;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.35;
    width: max-content;
    max-width: min(420px, 80vw);
    white-space: normal;
    word-break: break-word;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    display: none;
}

.insight-chip-truncated:hover::after {
    display: block;
}

.snapshot-item {
    margin-bottom: 10px;
}

.snapshot-item:last-child {
    margin-bottom: 0;
}

.snapshot-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 11px;
    color: #3c5f69;
    margin-bottom: 4px;
}

.snapshot-head strong {
    color: #1a6170;
    font-size: 13px;
}

.snapshot-bar {
    height: 8px;
    width: 100%;
    background: #e7f2f5;
    border-radius: 999px;
    overflow: hidden;
}

.snapshot-bar-fill {
    height: 100%;
    width: 8%;
    background: linear-gradient(90deg, #3db7cb 0%, #217587 100%);
    border-radius: 999px;
    transition: width 0.3s ease;
}

@media (min-width: 992px) {
    .performance-top-row {
        display: flex;
    }

    .performance-summary-col {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .performance-bytype-col {
        flex: 0 0 60%;
        max-width: 60%;
    }
}

@media (min-width: 1200px) {
    .summary-visual-grid {
        grid-template-columns: 1fr 1fr;
    }
}
