/* ONLY FOR DASHBOARDS */

.dashboard {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    margin-bottom: 20px;
}

.card {
    background-color: #ffffff;
    border: 2px solid #eaecf0;
    padding: 20px 10px;
    text-align: left;
    border-radius: 6px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .card:hover {
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
        transform: scale(1.1);
    }

    .card h3 {
        margin: 5px 0;
        color: #333;
        font-weight: 600;
        font-size: 16px;
    }

    .card .value {
        font-size: 28px;
        font-weight: bold;
        color: #000;
    }

    .card p {
        color: #999999;
        font-weight: 300;
    }

.dashboard-widget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    margin: 0 20px;
    font-family: Arial, sans-serif;
}

    .dashboard-widget .title {
        font-size: 24px;
        color: #333;
    }

    .dashboard-widget .filters {
        display: flex;
        gap: 10px;
    }

    .dashboard-widget button {
        padding: 5px 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    .dashboard-widget .active {
        background-color: #eb5017;
        Green color: white;
    }

    .dashboard-widget .on-leave {
        Red color: black;
    }

    .dashboard-widget select {
        padding: 5px 10px;
        border-radius: 5px;
        cursor: pointer;
    }

.graph_spacing {
    min-width: 310px;
    height: 400px;
    margin: 0 auto
}

@media (min-width: 1400px) {
    .dashboard a {
        width: 100%;
        margin: 10px;
    }

    .card {
        padding: 20px 15px;
    }
}

@media (max-width: 1200px) {
    .card h3 {
        font-size: 14px;
    }

    .card .value {
        font-size: 18px;
    }
}

@media (max-width: 1200px) and (min-width: 769px) {
    .dashboard {
        flex-wrap: wrap
    }

    .card {
        width: 190px;
        margin: 5px;
    }

        .card h3 {
            font-size: 14px;
        }

        .card .value {
            font-size: 18px;
        }
}

@media (max-width: 769px) {
    .dashboard {
        flex-direction: column;
        gap: 10px
    }

    .card {
        padding: 5px 10px;
    }
}

/* Employee Cards */
/* Hover effect for radial gradient */
.empCard {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(13deg, rgba(255,255,255,1) 69%, rgba(92,107,192,1) 100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-image 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.empCard-att-stats {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(13deg, rgba(255,255,255,1) 69%, rgba(92,107,192,1) 100%);
}
    .empCard-att-stats:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    .empCard-att-stats .timeline:after {
        left: 0 !important;
    }

    .empCard-att-stats:hover subSpan {
        color: white;
    }


.empCard:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.empCard .timeline:after {
    left: 0 !important;
}

.empCard:hover subSpan {
    color: white;
}
