/* ===== DASHBOARD CARDS ===== */
.dashboard-card {
    border: none;
    border-radius: 16px;
    padding: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    min-height: 160px;

    /* 👇 SOMBRA NOVA */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.dashboard-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.dashboard-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.15),
        rgba(255,255,255,0)
    );
    pointer-events: none;
}

/* Container */
.meta-box {
    background: #fff;
    border-radius: 14px;
    padding: 15px 18px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

/* Badge lateral */
.meta-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eef2f7;
    color: #5a6a85;
    font-weight: 600;
}

/* Barra */
.custom-progress {
    height: 14px;
    border-radius: 10px;
    background: #edf1f7;
    overflow: hidden;
}

/* Barra interna */
.custom-progress-bar {
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: width 1s ease;
}

/* Gradientes */
.gradient-success {
    background: linear-gradient(90deg, #28a745, #5cd65c);
}

.gradient-primary {
    background: linear-gradient(90deg, #3a7bd5, #00d2ff);
}

.gradient-warning {
    background: linear-gradient(90deg, #f7971e, #ffd200);
}

.gradient-danger {
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
}

.gradient-info {
    background: linear-gradient(90deg, #36d1dc, #5b86e5);
}

/* Gradientes mais modernos */
.bg-azulmarinho {
    background: linear-gradient(135deg, #2f3e55, #3f6c8f);
}

.bg-azulpadrao {
    background: linear-gradient(135deg, #3f6c8f, #4f86a6);
}

.bg-azul {
    background: linear-gradient(135deg, #4f86a6, #4fa3c4);
}

.bg-azulclaro {
    background: linear-gradient(135deg, #4fa3c4, #58b8d6);
}

.icon-no-bg {
    background: transparent !important;
}

/* Botão topo */
.dashboard-btn {
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dashboard-btn:hover {
    background: rgba(255,255,255,0.15);
    text-decoration: none;
    color: #fff;
}

/* Input fake (link) */
.dashboard-input {
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 12px;
    color: #fff;
    width: 100%;
}

.dashboard-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.dashboard-input.form-control {
    border-radius: 10px !important;
}

/* Número */
.dashboard-number {
    font-size: 34px;
    font-weight: 700;
}

/* Label */
.dashboard-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Link */
.dashboard-link {
    font-size: 13px;
    color: #fff;
}

.dashboard-link:hover {
    text-decoration: underline;
    color: #fff;
}

/* Ícone editar */
.dashboard-edit {
    position: absolute;
    right: 15px;
    bottom: 15px;
    opacity: 0.7;
}

.dashboard-edit:hover {
    opacity: 1;
}

/* ====== CARDS SECUNDÁRIOS (tipo Gráficos / Agenda / Mapa) ====== */
.box-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.box-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.box-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a6a85;
}

/* ===== MINI CARDS ===== */
.mini-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-icon {
    font-size: 36px;
    height: 100%;
    display: flex;
    align-items: center;
}

.mini-number {
    font-size: 22px;
    font-weight: bold;
}

.mini-label {
    font-size: 13px;
    color: #777;
}

/* ===== GERAL ===== */
body {
    background: #f4f6fb;
}

.dashboard-row {
    margin-bottom: 20px;
}