@import '../../../../assets/scss/abstracts/variables';
@import '../../../../assets/scss/abstracts/mixins';

.rdg-blocks .rdg-odd-betting-date {
    padding: 2rem;

    @include title;

    .date {
        width: 100%;
        display: flex;
        padding: 1rem;
        border-radius: .5rem;
        box-shadow: 1px 5px 14px 0px rgb(0 0 0 / 15%);
        min-height: 2rem;
        background-color: var(--color-white);

        i {
            font-size: 1.3rem;
            font-weight: 900;
            color: var(--color-primary-dark-light);
            cursor: pointer;
        }

        .date-left {
            display: flex;
            align-items: center;
            justify-content: center;
            width: calc(100% - calc(100% - 1rem));
        }

        .date-center {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;

            input[type=date] {
                font-size: 1rem;
                border: 0;
                color: var(--color-primary);
                background-color: var(--color-white);
                font-weight: 700;
            }

            input[type="date"]::-webkit-inner-spin-button,
            input[type="date"]::-webkit-calendar-picker-indicator {
                display: none;
                -webkit-appearance: none;
            }
        }

        .date-right {
            display: flex;
            align-items: center;
            justify-content: center;
            width: calc(100% - calc(100% - 1rem));
        }
    }
}

.acf-block-preview {
    .rdg-odd-betting-date {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}
