.card-statistics {
    background-color: rgba(255, 255, 255, 0.1);
    /* โปร่งแสง */
    backdrop-filter: blur(8px);
    /* เบลอพื้นหลัง */
    -webkit-backdrop-filter: blur(8px);
    /* Safari */

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    /* เงานุ่ม */
    border: 2px solid rgba(255, 255, 255, 0.2);
    /* ขอบโปร่ง */
    border-radius: 30px;
    /* มุมมน */
    transition: transform 0.3s, box-shadow 0.3s;
    /* smooth effect */

    position: relative;
    overflow: hidden;
}

/* Hover effect เพิ่มความลอย */
.card-statistics:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Gradient light overlay effect */
.card-statistics::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    transform: rotate(25deg);
    pointer-events: none;
}

.card-statistics-title {
    font-size: 24px;
    font-weight: 600;
    color: #4F55A1 !important;
}

/* Default: มือถือ / small screen */
.statistics .card {
    height: auto;
    /* ให้สูงตาม content */
}

.statistics .card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Medium screen ขึ้นไป (tablet) */
@media (min-width: 768px) {
    .statistics .card {
        height: 310px;
        /* fixed height บน desktop */
    }
}

.statistics .card {
    height: 310px;
}

.statistics .card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
}

.card-statistics .span-statistics {
    font-size: 18px;
    font-weight: 600;
    color: #4F55A1 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.a-statistics {
    border: 1px solid var(--PURPLE-LOGO, #4F55A1);
    background: var(--PURPLE-LOGO, #4F55A1);
    opacity: 1;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 30px;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
}

.card-statistics-title-2 {
    font-size: 20px;
    font-weight: 600;
    color: #4F55A1 !important;
}