﻿:root {
    --bg-color: #E6E5E1;
    --shdow-gray: #d3d3d5;
    --orange: #DA4D1D;
    --blue: #2b26c3;
    --img-url: url("https://images.unsplash.com/photo-1525543907410-b2562b6796d6?ixlib=rb-0.3.5&s=9ff8e5e718a6a40cbd0e1471235912f4&auto=format&fit=crop&w=3452&q=80");
    --img-url2: url("https://images.unsplash.com/photo-1528785198459-ec50485704c7?ixlib=rb-0.3.5&s=3a2fc3039516555bbb2e9cd2967bd321&auto=format&fit=crop&w=1537&q=80");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fa-arrow-right {
    opacity: 0;
    font-size: 35px;
    color: #fff;
    will-change: transform;
    transform: scale(0.1);
    transition: all 0.2s ease;
}
h4 {
    opacity: 1;
    font-size: 45px;
    color: #ff6a00;
    will-change: transform;
    transform: scale(0.7);
    transition: all 0.2s ease;
}

h3 {
    pointer-events: none;
    
}

.cardDashboard {
    position: relative;
    width: 90%;
    height: 160px;
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 4px;
    border-left: 15px solid #ff6a00;
   
  
}

    .cardDashboard ul {
        z-index: 99;
        position: absolute;
        left: 39px;
        top: 5px;
        list-style-type: none;
    }

        .cardDashboard ul li {
            width: 2px;
            height: 2px;
            border-radius: 2px;
            margin: 6px 0;
            background-color: var(--bg-color);
        }

    .cardDashboard h3 {
        z-index: 99;
        font-family: "Poppins", sans-serif;
        position: absolute;
        bottom: 0;
        right: 130px;
        font-size: 34px;
        font-weight: 700;
        color: #000;
    }

.fa-arrow-right {
    z-index: 100;
    position: absolute;
    right: 75px;
    bottom: 25px;
    font-size: 40px;
    cursor: pointer;
    
}

.cardDashboard p {
    z-index: 99;
    position: absolute;
    top: 20px;
    right: 70px;
    color: #333;
    opacity: 0.7;
    font-size: 12px;
    letter-spacing: 1px;
    writing-mode: vertical-lr;
    transition: all 0.2s ease;
}
.cardDashboard .socialshow {
    position: absolute;
    left: 150px;
    top: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 180px;
    height: 64px;
    border-radius: 80px;
}
    .cardDashboard .socialshow h4:nth-of-type(1) {
        transition-delay: 0.4s;
    }

    .cardDashboard .socialshow h4:nth-of-type(2) {
        transition-delay: 0.3s;
    }

    .cardDashboard .socialshow h4:nth-of-type(3) {
        transition-delay: 0.2s;
    }

    .cardDashboard .socialshow h4:nth-of-type(4) {
        transition-delay: 0.1s;
    }
.cardDashboard:hover h4 {
    opacity: 1;
    transform: scale(1);
    color:#fff;
}

.cardDashboard:hover i {
    opacity: 1;
    transform: scale(1);
}

.cardDashboard .effectbtn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 30px;
    height: 30px;
    background-color: var(--orange);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    mix-blend-mode: hard-light;
}

    .cardDashboard .effectbtn i {
        font-size: 3rem;
    }

.cardDashboard:hover .effectbtn {
    transform: scale(16.5);
}

.cardDashboard:hover p {
    color: #fff;
}

.cardDashboard :hover .pic {
    filter: grayscale(0);
}

.dr {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 100px;
}



@media (max-width: 425px) {
    .cardDashboard {
        width: 100%;
        height: 130px; 
        margin-bottom: 10px; 
    }
    h3{
        font-size:25px !important;
        margin-left:25px;
    }
    h4 {
        font-size: 70px !important;
        margin-left: 25px;
    }
    .fa-arrow-right {
       display:none;
    }
    .cardDashboard .socialshow {
        font-size: 25px !important;
        left: 220px !important;
    }
    .cardDashboard:hover i {
        opacity: 1;
        transform: scale(1);
    }

    .cardDashboard .effectbtn {
        position: absolute;
        right: 14px;
        bottom: 14px;
        width: 15px;
        height: 15px;
        background-color: var(--orange);
        border: none;
        border-radius: 30px;
        cursor: pointer;
        outline: none;
        transition: all 0.3s ease;
        mix-blend-mode: hard-light;
    }
        .cardDashboard .effectbtn i {
            font-size: 3rem;
        }

    .cardDashboard:hover .effectbtn {
        transform: scale(16.5);
    }

    .cardDashboard:hover p {
        color: #fff;
    }

    .cardDashboard :hover .pic {
        filter: grayscale(0);
    }

    .dr {
        position: absolute;
        bottom: 16px;
        right: 16px;
        width: 100px;
    }

}
@media (max-width: 375px) {
    .cardDashboard {
        width: 100%;
        height: 100px;
        margin-bottom: 10px;
    }

    h3 {
        font-size: 20px !important;
        margin-left: 25px;
    }

    .fa-arrow-right {
        display: none;
    }

    .cardDashboard .socialshow {
        font-size: 25px !important;
        left: 160px !important;
    }
}

@media (max-width: 320px) {
    h4 {
        font-size: 60px !important;
        margin-left: 25px;
    }
    .cardDashboard {
        width: 100%;
        height: 100px;
        margin-bottom: 10px;
    }

    h3 {
        font-size: 18px !important;
        margin-left: 25px;
    }

    .fa-arrow-right {
        display: none;
    }

    .cardDashboard .socialshow {
        font-size: 25px !important;
        left: 100px !important;
    }
}

@media (min-width: 1024px) and (max-width: 1325px) {
    .col-lg-3 {
        width: calc(100% / 3);
    }
 
    h3 {
        font-size: 20px !important;
        margin-left: 25px;
    }

    .fa-arrow-right {
        display: none;
    }

    .cardDashboard .socialshow {
        font-size: 25px !important;
        left: 120px !important;
    }
    
}
@media (min-width: 1024px){
    #chartDoughnut {
        width: 350px !important;
        height: 350px !important;
    }
}

.dataTables_length {
    display: none;
}

.cardshow {
    background-color:white;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .cardshow:hover {
        transform: translateY(-10px); /* ยกขึ้น 10px */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* เพิ่มเงา */
    }

.icoshow {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cardshow:hover .icoshow {
    background-color: #ff6a00;
    color: white;
}
.cardhead {
    border-left: 10px solid #ff6a00;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .cardhead:hover .icoshow {
        background-color: #ff6a00;
        color: white;
    }

    .cardhead:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

.card {
    border:0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

    .card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.list-group-item {
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-bottom: 10px;
}

    .list-group-item:hover {
        background-color: rgb(237, 242, 247);
        transform: translateY(-2px);
    }

.list-group-item {
    border: none;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-bottom: 10px;
}

    .list-group-item:hover {
        background-color: rgb(237, 242, 247); 
        transform: translateY(-3px); 
    }

.list-group-item-action {
    color: inherit; 
}


.card1 {
    background-color: rgb(224 242 254) !important;
}
    .card1:hover {
        background-color: rgb(191 219 254) !important;
    }

.card2 {
    background-color: rgb(220 252 231) !important;
}
    .card2:hover {
        background-color: rgb(187 247 208) !important;
    }
.card3 {
    background-color: rgb(247 254 231) !important;
}
    .card3:hover {
        background-color: rgb(254 249 195) !important;
    }




.card01 {
    background-color: rgba(255, 99, 132, 0.2) !important;
}

    .card01:hover {
        background-color: rgba(255, 99, 132, 0.3) !important;
    }

.card02 {
    background-color: rgba(54, 162, 235, 0.1) !important;
}

    .card02:hover {
        background-color: rgba(54, 162, 235, 0.2) !important;
    }

.card03 {
    background-color: rgba(255, 206, 86, 0.2) !important;
}

    .card03:hover {
        background-color: rgba(255, 206, 86, 0.3) !important;
    }

.card04 {
    background-color: rgba(75, 192, 192, 0.2) !important;
}

    .card04:hover {
        background-color: rgba(75, 192, 192, 0.3) !important;
    }

.card05 {
    background-color: rgba(153, 102, 255, 0.2) !important;
}

    .card05:hover {
        background-color: rgba(153, 102, 255, 0.3) !important;
    }

.card06 {
    background-color: rgba(255, 159, 64, 0.2) !important;
}
    .card06:hover {
        background-color: rgba(255, 159, 64, 0.3) !important;
    }


@media (max-width: 425px) {
    #chart-container {
        width: 100%;
        max-width: 2500px;
        margin: auto;
        height: 250px !important;
    }
}
@media (min-width: 426px) {
    #chart-container {
        width: 100%;
        max-width: 1500px;
        margin: auto;
        height: 500px !important;
    }
}
@media (max-width: 600px) {
    #leaveChart {
        font-size: 12px;
    }
}

@media (min-width: 601px) {
    #leaveChart {
        font-size: 20px; 
    }
}
/*@media (min-width: 1440px) {
    #Dashboardshow {
        position: relative;
        top: -450px;
        left: 98%;
        font-size: 16px;
    }
}

@media (max-width: 425px) {
    #Dashboardshow {
        position: relative;
        top: -154px;
        left: 90%;
        font-size: 16px;
    }
    
}
@media (max-width: 768px) {
    #Dashboardshow {
        position: relative;
        top: -233px;
        left: 96%;
        font-size: 16px;
    }
}
@media (max-width: 1024px) {
    #Dashboardshow {
        position: relative;
        top: -189px;
        left: 96%;
        font-size: 16px;
    }
}
@media (max-width: 1440px) {
    #Dashboardshow {
        position: relative;
        top: -189px;
        left: 96%;
        font-size: 16px;
    }
}*/