/**
 * 2008-2025 Prestaworld
 *
 * NOTICE OF LICENSE
 *
 * The source code of this module is under a commercial license.
 * Each license is unique and can be installed and used on only one website.
 * Any reproduction or representation total or partial of the module, one or more of its components,
 * by any means whatsoever, without express permission from us is prohibited.
 *
 * DISCLAIMER
 *
 * Do not alter or add/update to this file if you wish to upgrade this module to newer
 * versions in the future.
 *
 * @author    prestaworld
 * @copyright 2008-2025 Prestaworld
 * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 * International Registered Trademark & Property of prestaworld
 */

.presta-ppr-purchase-options {
    display: flex;
}
.presta-ppr-option {
    border: 2px solid #ccc;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    background: white;
    transition: border 0.3s;
    flex: 1;
    text-align: center;
    font-weight: 600;
}

.presta-ppr-option input[type="radio"] {
    display: none;
}
#presta_ppr_subscribeLabel {
    margin-left: -1px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}
#presta_ppr_oneTimeLabel {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

label.presta-ppr-option:has(input[type="radio"]:checked) {
  border: 2px solid #007BFF;
  background-color: #cbddfb;
}
.presta-ppr-billing-info > div, .presta-cart-plan-action {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 10px;
    align-items: center;
}
.presta-ppr-frequency-content {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 10px;
}
.presta-ppr-billing-info :where(input, select) {
    width: 180px;
}
.presta-cart-plan-action :where(.presta-ppr-edit, .presta-ppr-remove) {
    padding: 4px 10px;
    font-size: 14px;
    text-transform: capitalize;
}
.presta-ppr-edit .material-icons, .presta-ppr-remove .material-icons {
    font-size: 20px;
    vertical-align: middle;
    margin-top: -2px;
    margin-right: 0px;
}
#presta_ppr_start_date {
    cursor: pointer;
}
.presta-ppr-billing-info .presta-cal-icon {
    position: absolute;
    right: 35px;
}
.presta-ppr-edit-modal .presta-cal-icon {
    position: absolute;
    top: 6px;
    right: 20px;
    color: #000;
}
.presta-text-right {
    text-align: right !important;
}
.presta-text-center {
    text-align: center !important;
}
.presta-ppr-list-action {
    display: flex;
    gap: 10px;
    justify-content: end;
}
.presta-badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    margin-bottom: 5px;
}
.presta-badge-primary {
    color: #fff;
    background-color: #007bff;
}
.presta-badge-success {
    color: #fff;
    background-color: #28a745;
}
.presta-badge-warning {
    color: #212529;
    background-color: #ffc107;
}
.presta-ppr-edit-modal .modal-header .modal-title {
    display: inline-block;
}

#presta_ppr_subscriptionlist_table tr th, #presta_ppr_subscriptionlist_table tr td, #presta_ppr_subscriptionlist_table tr td a {
    font-size: 14px !important;
}
#presta_ppr_subscriptionlist_table .presta-badge {
    font-size: 14px;
}
.presta-ppr-detail-content {
    display: flex;
    gap: 16px;
    line-height: normal;
}
.presta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
