/* HORSEAI_DATE_HIT_SUMMARY_CSS_V2 */

.ai-hit-date-summary-wrap {
    box-sizing: border-box;

    width: 100%;
    margin: 18px 0 28px;
}

.ai-hit-date-summary-title {
    margin: 0 0 12px;

    color: #dce7f5;

    font-size: 0.86rem;
    font-weight: 900;
}


/* =========================================================
   CAROUSEL
   ========================================================= */

.ai-hit-date-summary-carousel {
    box-sizing: border-box;

    display: grid;

    grid-template-columns:
        42px minmax(0, 1fr) 42px;

    align-items: center;

    gap: 10px;

    width: 100%;
}


.ai-hit-date-summary-viewport {
    box-sizing: border-box;

    width: 100%;
    min-width: 0;

    overflow: hidden;
}


.ai-hit-date-summary-grid {
    box-sizing: border-box;

    display: flex;

    flex-wrap: nowrap;

    gap: 12px;

    width: 100%;

    transform: translate3d(
        0,
        0,
        0
    );

    transition:
        transform 0.32s ease;

    will-change: transform;
}


/* =========================================================
   CARD
   ========================================================= */

.ai-hit-date-summary-card {
    box-sizing: border-box;

    flex:
        0 0
        calc(
            (100% - 24px)
            / 3
        );

    min-width: 0;
    min-height: 218px;

    padding: 20px 21px;

    border:
        1px solid
        rgba(
            74,
            115,
            170,
            0.36
        );

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(
                18,
                34,
                55,
                0.98
            ),
            rgba(
                8,
                20,
                36,
                0.98
            )
        );
}


.ai-hit-date-summary-date {
    margin: 0 0 10px;

    color: #93a4bb;

    font-size: 0.78rem;
    font-weight: 900;
}


.ai-hit-date-summary-result {
    margin: 0;

    color: #f2f6fb;

    font-size: 1rem;
    font-weight: 900;
    line-height: 1.4;
}


.ai-hit-date-summary-result strong {
    color: #ff5f67;

    font-size: 1.08em;
    font-weight: 950;
}


.ai-hit-date-summary-rate {
    margin: 6px 0 0;

    color: #ff6871;

    font-size: 0.88rem;
    font-weight: 950;
}


.ai-hit-date-summary-types {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 14px;
}


.ai-hit-date-summary-type {
    display: inline-flex;

    align-items: center;

    min-height: 29px;

    padding: 4px 10px;

    border:
        1px solid
        rgba(
            255,
            83,
            91,
            0.38
        );

    border-radius: 999px;

    background:
        rgba(
            255,
            83,
            91,
            0.08
        );

    color: #e6edf7;

    font-size: 0.7rem;
    font-weight: 850;

    white-space: nowrap;
}


.ai-hit-date-summary-type strong {
    margin-left: 4px;

    color: #ff747b;

    font-weight: 950;
}


/* =========================================================
   ARROWS
   ========================================================= */

.ai-hit-date-summary-arrow {
    box-sizing: border-box;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 64px;

    margin: 0;
    padding: 0;

    border:
        1px solid
        rgba(
            80,
            113,
            156,
            0.45
        );

    border-radius: 13px;

    background:
        rgba(
            11,
            24,
            42,
            0.96
        );

    color: #ffffff;

    font-size: 28px;
    font-weight: 800;
    line-height: 1;

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        opacity 0.18s ease;
}


.ai-hit-date-summary-arrow:hover:not(:disabled) {
    border-color: #ff535b;

    background:
        rgba(
            23,
            40,
            64,
            0.98
        );
}


.ai-hit-date-summary-arrow:disabled {
    opacity: 0.28;

    cursor: default;
}


/* =========================================================
   EMPTY
   ========================================================= */

.ai-hit-date-summary-empty {
    box-sizing: border-box;

    flex: 0 0 100%;

    width: 100%;

    padding: 18px;

    border:
        1px dashed
        rgba(
            126,
            149,
            180,
            0.25
        );

    border-radius: 12px;

    color: #71849c;

    font-size: 0.76rem;
    font-weight: 800;

    text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .ai-hit-date-summary-card {
        flex:
            0 0
            calc(
                (100% - 12px)
                / 2
            );
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .ai-hit-date-summary-wrap {
        margin-top: 14px;
        margin-bottom: 20px;
    }

    .ai-hit-date-summary-carousel {
        grid-template-columns:
            34px minmax(0, 1fr) 34px;

        gap: 7px;
    }

    .ai-hit-date-summary-card {
        flex: 0 0 100%;

        min-height: auto;

        padding: 16px;
    }

    .ai-hit-date-summary-arrow {
        width: 34px;
        height: 52px;

        border-radius: 11px;

        font-size: 23px;
    }
}
