.card-castrometro {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}
.card-castrometro:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.icon-circle {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 12px;
    margin-bottom: 10px;
    display: inline-block;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.total-badge {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

/* Dark mode overrides */
body.dark-mode .card[style*="background-color: #f8f9fa"] {
    background-color: #283347 !important;
}
body.dark-mode .text-muted {
    color: #cbd5e1 !important;
}
body.dark-mode .total-badge {
    color: #fff !important;
}