:root {
    --iplink-primary: #0d6efd;
}

body {
    background-color: #f4f6fb;
    font-size: 0.95rem;
}

.sidebar {
    background: #16233d;
    min-height: 100vh;
    color: #cbd5e1;
}

.sidebar .brand {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar .nav-link {
    color: #cbd5e1;
    border-radius: 0.4rem;
    padding: 0.55rem 1.25rem;
    margin: 0.15rem 0.75rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.card {
    border: 0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}

.card-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.4rem;
}

.valor-card {
    font-size: 1.45rem;
    font-weight: 700;
    color: #16233d;
}

.table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    border-bottom-width: 1px;
}

.avatar-inicial {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.login-card {
    max-width: 400px;
}

.calendario .cel-dia {
    height: 84px;
    vertical-align: top;
    cursor: pointer;
    padding: 6px 8px;
    transition: background 0.15s ease;
}

.calendario .cel-dia:hover {
    background: #eef2ff;
}

.calendario .cel-hoje {
    background: #e0edff;
    outline: 2px solid #0d6efd;
    outline-offset: -2px;
}

.calendario .cel-vazio {
    background: #f8fafc;
}

.dia-num {
    font-weight: 600;
}

.cel-dots {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.dot-vermelha { background: #dc3545; }
.dot-amarela  { background: #ffc107; }
.dot-azul     { background: #0d6efd; }
.dot-verde    { background: #198754; }

@media (max-width: 767.98px) {
    .sidebar {
        min-height: auto;
    }
}
