@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    background-color: #26292d;
    font-family: 'Inter', sans-serif;
}

.card {
    background-color: #2c3034;
    border: none;
    border-radius: 8px;
}

.card-header,
.card-footer {
    border-color: #3f444a !important;
}

.text-custom {
    color: #a0a6ab;
}

.activity-wave {
    display: flex;
    align-items: flex-end;
    height: 14px;
    gap: 2px;
}

.activity-wave .bar {
    width: 3px;
    border-radius: 1px;
}

.activity-wave .bar:nth-child(1) {
    height: 8px;
}

.activity-wave .bar:nth-child(2) {
    height: 14px;
}

.activity-wave .bar:nth-child(3) {
    height: 6px;
}

.activity-wave .bar:nth-child(4) {
    height: 12px;
}

.activity-wave .bar:nth-child(5) {
    height: 10px;
}

.activity-wave.offline .bar {
    height: 3px;
    background-color: #dc3545;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.bg-success {
    background-color: #10b981 !important;
}

.bg-danger {
    background-color: #ef4444 !important;
}

.border-start {
    border-radius: 6px;
}

/* ===== Cards clicáveis do Dashboard ===== */
.card-clickable {
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    border: 1px solid transparent;
}

.card-clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.35) !important;
    border-color: #3f444a;
}

.card-clickable .stretched-link:hover {
    text-decoration: none;
}

.details-link {
    color: #a0a6ab;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-clickable:hover .details-link {
    color: #6ea8fe;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    --bs-breadcrumb-divider-color: #565c63;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: #a0a6ab;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #6ea8fe;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #e9ecef;
}

/* ===== Cards de estatística (telas de detalhe) ===== */
.stat-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* ===== Informações do túnel ===== */
.tunnel-info-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #3f444a;
}

.tunnel-info-item:last-child {
    border-bottom: none;
}

.tunnel-info-label {
    color: #a0a6ab;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

/* ===== Tabela de dispositivos ===== */
.device-type-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(160, 166, 171, 0.12);
    color: #a0a6ab;
    font-size: 1rem;
}

.table-devices thead th {
    color: #a0a6ab;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    border-bottom-width: 1px;
}

.table-devices td {
    vertical-align: middle;
}

.font-monospace-ip {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.85rem;
    color: #d0d4d8;
}