/* Estilos para o container */
.voucher-list-container {
    text-align: center;
    padding: 20px 0;
}

.vouchers-list-container-title {
    margin: 0 0 5px !important;
}

/* Estilos para a lista de vouchers */
.voucher-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Estilos para cada item da lista */
.voucher-item {
    display: inline-block;
    width: calc(25% - 15px);
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.voucher-item p,
.voucher-item div {
    margin: 10px auto;
}

.voucher-item .vouchers-title {
    font-size: 20px !important;
    margin: 10px auto !important;
}

.vouchers-licenses {
    display: inline-block;
    margin: 0 auto;
    font-size: 14px;
    padding: 7px 21px;
    border-radius: 25px;
}

.vouchers-description {
    font-size: 14px;
    line-height: 18px;
}

.voucher-item .vouchers-price-wrapper {
    display: flex;
    margin-bottom: 0;
    align-items: center;
    margin-top: 20px;
}

.voucher-item .vouchers-price-wrapper > p,
.voucher-item .vouchers-price-wrapper > a {
    width: 50%;
    margin: 0;
}

.voucher-item .vouchers-price-wrapper .woocommerce-Price-amount {
    font-size: 22px;
    display: flex;
    align-items: flex-start;
}

.voucher-item .vouchers-price-wrapper .woocommerce-Price-currencySymbol {
    font-size: 14px;
    margin-right: 5px;
}

.alert {
    width: 100%;
    display: block;
    text-align: center;
    font-weight: bold;
    border-radius: 6px;
    border-width: 1px;
    border-style: solid;
    padding: 15px 0;
    margin: 15px auto;
}

.alert.alert-info {
    background-color: #e4e4ff;
    border-color: #040458;
    color: #040458;
}

.vouchers-form-wrapper .dashlifter-w10 {
    margin: auto;
    display: block;
    float: none;
}

.vouchers-form-field-wrapper {
    border-bottom: solid 1px #cccccc;
    padding-bottom: 21px;
    margin-top: 20px;
}

ul.vouchers-monitoring-metrics {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    list-style: none;
}

ul.vouchers-monitoring-metrics li {
    width: 100%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

ul.vouchers-monitoring-metrics li h4 {
    margin: 0 !important;
    font-size: 28px;
    font-weight: 400;
}

.select2-container .select2-search--inline .select2-search__field,
.select2-container .select2-selection--single .select2-selection__rendered {
    top: 0px !important;
}

.dashlifter-search-form
    .dashlifter-form-group
    .select2-container
    .select2-selection--single
    .select2-selection__rendered {
    top: -7px !important;
}

.dashlifter-form-group
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    top: 25px !important;
}

.dashlifter-search-form
    .dashlifter-form-group
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    top: 17px !important;
}

.vouchers-errors-container {
    width: 100%;
    margin: 0 auto;
}

.vouchers-progress-bar-container {
    width: 100%;
    margin: 0 auto 20px;
}

.vouchers-progress-bar {
    color: #000 !important;
    position: relative;
    height: 30px;
    border-radius: 25px;
    background: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vouchers-progress-bar .vouchers-progress {
    background-color: var(--theme-color) !important;
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    border-radius: 25px;
    z-index: 1;
}

.vouchers-progress-bar .vouchers-progress-text {
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    width: 100%;
    text-align: center;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent !important;
}

.vouchers-progress-bar .vouchers-progress-text.dashlifter-btn:hover,
.vouchers-progress-bar .vouchers-progress-text.dashlifter-btn:focus {
    background: transparent !important;
}

@media (max-width: 1024px) {
    .voucher-item {
        width: calc(33.33% - 15px);
    }

    ul.vouchers-monitoring-metrics li {
        width: auto;
    }
}

@media (max-width: 768px) {
    .voucher-item {
        width: calc(50% - 15px);
    }

    .voucher-item .vouchers-price-wrapper {
        flex-wrap: wrap;
    }

    .voucher-item .vouchers-price-wrapper > p,
    .voucher-item .vouchers-price-wrapper > a {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .voucher-item .vouchers-price-wrapper > p {
        margin-bottom: 10px;
        display: flex;
        justify-content: center;
    }

    .voucher-item .vouchers-price-wrapper .woocommerce-Price-amount {
        font-size: 20px;
    }

    ul.vouchers-monitoring-metrics {
        gap: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    ul.vouchers-monitoring-metrics li {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 420px) {
    .voucher-item {
        width: 100%;
        margin-right: 0;
    }
}

.vouchers-pending-access {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 100px 40px;
}

.vouchers-pending-access h1,
.vouchers-pending-access p {
    text-align: center;
    width: 100%;
}

.dashlifter-editbox-content #lifterlms_errors {
    display: block;
    padding: 10px;
    border: 2px solid #da0505;
    margin: 0 20px;
    text-align: center;
    background: #ffd7d7;
    color: #da0505;
    border-radius: 2px;
}

.dashlifter-editbox-content #lifterlms_errors p {
    margin-bottom: 0 !important;
}

.dashlifter-table-add-button {
    margin-left: 10px;
}

#voucher-usage-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

#voucher-usage-filters > div:last-child {
    display: flex;
    justify-content: flex-end;
}

#voucher-usage-filters input {
    margin: 0;
    font-size: 15px;
    /* border: none !important; */
    outline: none !important;
    /* box-shadow: inset 0 2px 3px 0 rgb(0 0 0 / 3%) !important; */
    background-color: #fff !important;
    background-repeat: no-repeat;
    background-position: 25px 50%;
    border-radius: 5px !important;
    background-size: 20px;
    border: solid 1px #e1e1e1;
    border-radius: 50px !important;
    height: 40px;
    box-shadow: none !important;
}

#voucher-usage-filters select {
    display: none;
}

#voucher-usage-filters .select2-container {
    margin-right: 15px !important;
}

#voucher-usage-filters .select2-container--default .select2-selection--single {
    margin-right: 10px;
    width: auto;
    height: 40px !important;
    padding: 5px 10px 10px 10px;
    background-color: #ffffff !important;
    border-color: #e1e1e1;
    box-shadow: none !important;
    border-radius: 50px;
}

#voucher-usage-filters
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    display: none !important;
}

.dashlifter-gb-table-lms-voucher-usage td,
.dashlifter-gb-table-lms-voucher-usage th {
    max-width: 14.28%;
}

@media (max-width: 1024px) {
    ul.vouchers-monitoring-metrics {
        grid-template-columns: 1fr;
    }

    #voucher-usage-filters {
        grid-template-columns: 1fr;
    }

    #voucher-usage-filters > div {
        display: flex;
        justify-content: center !important;
    }
}
