body {
    background: #f4f6f9;
}

.login-body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b, #334155);
}

.login-wrapper {
    width: 100%;
    max-width: 380px;
    padding: 1rem;
}

.login-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-header h1 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.login-header p {
    color: #6b7280;
    font-size: 0.9rem;
}

.app-navbar {
    background: #1e293b;
}

.badge-legend {
    padding: 0.35em 0.75em;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.badge-em-dia {
    background: #dcfce7;
    color: #15803d;
}

.badge-liberado {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge-bloqueado {
    background: #fee2e2;
    color: #b91c1c;
}

.table {
    font-size: 0.92rem;
}

.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    border-left: 4px solid transparent;
}

.stat-card.border-start-blue { border-left-color: #2563eb; }
.stat-card.border-start-red { border-left-color: #dc2626; }
.stat-card.border-start-green { border-left-color: #16a34a; }
.stat-card.border-start-orange { border-left-color: #d97706; }
.stat-card.border-start-purple { border-left-color: #7c3aed; }

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    flex-shrink: 0;
}

.stat-label {
    font-size: 0.85rem;
    color: #6b7280;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111827;
}

.stat-sub {
    font-size: 0.78rem;
    color: #9ca3af;
}

.card-panel {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    height: 100%;
}

/* Bolinhas de status (estilo "serial regular/vencido/bloqueado") */
.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-green  { background-color: #16a34a; }
.dot-red    { background-color: #dc2626; }
.dot-blue   { background-color: #2563eb; }
.dot-gray   { background-color: #9ca3af; }

.status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
}

.status-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    border: 1px solid transparent;
    user-select: none;
    transition: background-color 0.15s, border-color 0.15s;
}

.status-legend-item:hover {
    background: #f3f4f6;
}

.status-legend-item.active {
    background: #eef2ff;
    border-color: #c7d2fe;
    font-weight: 600;
    color: #1e293b;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    border-radius: 6px;
}

.btn-icon:hover {
    background: #f3f4f6;
    color: #111827;
}
