/* Dashboard Cards Styles */
.dashboard-cards .hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Estilos para os links dos cards */
.dashboard-cards .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.dashboard-cards .card-link:hover {
    text-decoration: none;
    color: inherit;
}

.dashboard-cards .card-link .hover-card {
    border-left: 3px solid #adb5bd;
}

.dashboard-cards .card-link-danger .hover-card {
    border-left: 3px solid #adb5bd;
}

.dashboard-cards .card-link .hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    border-color: #adb5bd;
}

.dashboard-cards .icon-container {
    background-color: rgba(13, 110, 253, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.dashboard-cards .icon-container .app_icon {
    font-size: 1.75rem;
}

.dashboard-cards .card-body {
    padding: 1rem;
    border-top: 1px solid #f8f9fa;
}

.dashboard-cards .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #495057;
    font-weight: 600;
}

.dashboard-cards .card-text {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Efeito de hover nos cards */
.dashboard-cards .card-link .hover-card:hover {
    border-color: #6c757d;
    background-color: #f8f9fa;
}

/* Cores específicas para cada tipo de card */
.dashboard-cards .row > div:nth-child(1) .icon-container {
    background-color: rgba(13, 110, 253, 0.1);
}

.dashboard-cards .row > div:nth-child(2) .icon-container {
    background-color: rgba(40, 167, 69, 0.1);
}

.dashboard-cards .row > div:nth-child(3) .icon-container {
    background-color: rgba(255, 193, 7, 0.1);
}

.dashboard-cards .row > div:nth-child(4) .icon-container {
    background-color: rgba(220, 53, 69, 0.1);
}

/* Responsividade para tablets e smartphones */
@media (max-width: 768px) {
    .dashboard-cards .card {
        margin-bottom: 1rem;
        border: 1px solid #ced4da;
    }
    
    .dashboard-cards .icon-container {
        width: 50px;
        height: 50px;
    }
    
    .dashboard-cards .icon-container .app_icon {
        font-size: 1.5rem;
    }
    
    .dashboard-cards .card-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    /* Contornos mais marcados em telas menores */
    .dashboard-cards .hover-card {
        border-width: 2px;
    }
}

/* Ajustes específicos para smartphones */
@media (max-width: 576px) {
    .dashboard-cards .card-body {
        padding: 0.75rem;
    }
    
    .dashboard-cards .icon-container {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .dashboard-cards .icon-container .app_icon {
        font-size: 1.25rem;
    }
    
    .dashboard-cards .card-title {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
}
