

/* One click purchase CSS */

.ocw-one-click-purchase {
    border: 1px solid #ccc;
    padding: 15px 20px 10px 20px;
    border-radius: 10px;
    overflow: hidden;
}

.password-requirements-col {
    font-size: 11px;
}

.password-requirements {
    display: flex;
    flex-wrap: wrap;
    padding-left: 15px;
    font-size: 11px;
    column-gap: 10px;
}

.password-requirements li {
    width: 46%;
    color: #c6c6c6;
}

.password-requirements li.active {
    color: #20b122;
}

.form-basic-fields-row{
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px !important;
}

.form-basic-fields-row > div {
    width: 48%;
}

.iti__country-list{
    max-width: 230px !important;
}

.popup-checkout-payment,
.popup-schedule-name,
.popup-billing-information {
    font-size: 16px !important;
    font-weight: 600 !important;
}

.one-click-purchase-checkout-popup {
    min-width: 80% !important;
    max-width: 1000px !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
}

.popup-pricing-summary-title {
    font-size: 16px !important;
    font-weight: 600 !important;
}

.ocw-one-click-purchase-checkout .error {
    border: none !important;
}

.popup-price-summary > .ocw-row {
    margin-bottom: 12px;
}

.popup-total-amount {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 15px;
}

.popup-plan-details {
    white-space: pre-wrap;
}

.ocw-checkout-btns {
    text-align: right;
}

.ocw-one-click-purchase-hr{
    border: none;
    height: 1px;
    background-color: #e2e2e2;
    margin: 15px 0;
}

.ocw-one-click-purchase__button {
    margin: 10px 0;
    padding: 10px 20px;
    border: 1px solid #ccc;
    cursor: pointer;
    background: var(--ocw-cta-bg-color) !important;
    color: var(--ocw-cta-color) !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    width: 100%;
}

.ocw-one-click-purchase__button:hover,
.ocw-one-click-purchase__button:focus {
    background: var(--ocw-cta-bg-color) !important;
    color: var(--ocw-cta-color) !important;
}

.ocw-one-click-purchase__button[disabled],
.ocw-one-click-purchase__button[disabled]:hover{
    background-color: #c6c6c6 !important;
    color: #fff !important;
}

.ocw-one-click-purchase .sign-in-btn {
    margin: 0 0 20px 0;
    padding: 6px 15px;
    border: 1px solid #ccc;
    font-size: 12px !important;
    border-radius: 4px !important;
    background: var(--ocw-cta-bg-color) !important;
    color: var(--ocw-cta-color) !important;
    display: inline-block;
}

.ocw-one-click-purchase .sign-in-btn[disabled] {
    background-color: #c6c6c6 !important;
    color: #fff !important;
}

.ocw-one-click-purchase__button:hover,
.ocw-one-click-purchase__button:focus {
    background: var(--ocw-cta-bg-color) !important;
    color: var(--ocw-cta-color) !important;
}

/* Terms and Conditions Link */
.terms-link {
    color: var(--ocw-pri-color);
    cursor: pointer;
    text-decoration: underline;
}

.terms-link:hover {
    opacity: 0.8;
}

/* Terms and Conditions Popup */
.terms-popup-content {
    max-width: 800px !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
}

.terms-popup-content h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.terms-popup-content .terms-text {
    padding: 10px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

.terms-popup-content .terms-text ol {
    padding-left: 20px;
}

.terms-popup-content .terms-text li {
    margin-bottom: 10px;
}

.terms-popup-content .ocw-alert-buttons {
    margin-top: 20px;
}

.terms-text {
    margin-bottom: 20px;
}

.terms-text ol,
.terms-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-text ol {
    counter-reset: section;
}

.terms-text ol > li.main-heading {
    counter-increment: section;
    counter-reset: subsection;
}

.terms-text ol > li.main-heading::before {
    content: counter(section) ". ";
    font-weight: bold;
    display: inline-block;
    margin-right: 4px;
}

.terms-text ol > li.ql-indent-1 {
    counter-increment: subsection;
    margin-left: 1.5em;
    margin-bottom: 6px;
}

.terms-text ol > li.ql-indent-1::before {
    content: counter(subsection, lower-alpha) ". ";
    display: inline-block;
    margin-right: 4px;
    margin-left: -19px;
    width: 15px;
}

.terms-text ol > li.main-heading {
    margin-top: 6px;
}

.terms-text li.ql-indent-1 {
    padding-left: 20px;
}


.cart-discount-code {
    margin: 15px 0;
    text-transform: uppercase !important;
}

.cart-discount-code .discount-code-label {
    font-weight: 600;
    margin-top: 12px;
}

.cart-discount-code .discount-code-input {
    width: 300px;
    text-transform: uppercase !important;
}

.cart-discount-code .ocw-input-group {
    margin-bottom: 0px;
}

.discount-code-item-list {
    margin-top: 12px;
}

.discount-code-input .ocw-input-group{
    margin: 0 !important;
}

.discount-code-item-list .discount-code-item {
    background-color: #e3eaff;
    padding: 3px 8px;
    border-radius: 5px;
    margin-right: 6px;
    display: inline-block;
}

.discount-code-item-list .discount-code-item span {
    margin-right: 4px;
}

.discount-code-apply-btn,
.discount-code-apply-btn:hover,
.discount-code-apply-btn:focus {
    background: var(--ocw-cta-bg-color) !important;
    color: var(--ocw-cta-color) !important;
    border: none;
    padding: 6px 15px;
    font-size: 12px !important;
    max-height: 37px;
}
.discount-code-apply-btn:disabled {
    opacity: 0.6;
}
.discount-code-apply-btn .ocw-loader div {
    background: var(--ocw-cta-color) !important;
}

.cart-discount-code .error {
    color: #fa896b !important;
    font-size: 12px;
    margin-top: 5px;
    border:none !important;
}

/* Applied Discount Codes Tags */
.applied-discount-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.applied-discount-tag {
    display: inline-flex;
    align-items: center;
    background-color: #e3eaff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.applied-discount-tag span {
    margin-right: 8px;
}

.applied-discount-tag .remove-discount-tag {
    cursor: pointer;
    color: #666;
    font-size: 10px;
}

.applied-discount-tag .remove-discount-tag:hover {
    color: #ff4d4d;
}

.ocw-one-click-purchase .error-message {
    color: #fa896b;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.ocw-input-group * {
    font-size: 13px !important;
}

.ocw-input-group {
    margin-bottom: 12px !important;
}

.ocw-input-group label {
    margin-bottom: 5px !important;
    color: #333333;
}

.ocw-input-group input[type="text"],
.ocw-input-group input[type="email"],
.ocw-input-group input[type="tel"],
.ocw-input-group input[type="password"]{
    padding: 10px;
}

@media (max-width: 767px) {

    .ocw-one-click-purchase {
        padding: 5px 10px;
    }

    .cart-discount-code {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .cart-discount-code .discount-code-input {
        width: 100%;
    }

    .cart-discount-code .discount-code-label {
        margin-bottom: 10px;
        margin-top: -10px;
    }

    .cart-discount-code .ocw-input-group {
        width: 100%;
    }

    .form-basic-fields-row > div {
        width: 100%;
    }

    .ocw-one-click-purchase__body > .ocw-row{
        display: block;
    }

    .ocw-one-click-purchase__body > .ocw-row > .ocw-col{
        width: 100%;
    }

    .password-requirements-col {
        margin-bottom: 15px;
    }

    .password-requirements li{
        width: 100%;
    }

    .one-click-purchase-checkout-popup{
        padding: 10px !important;
    }

    .ocw-checkout-form > .ocw-row {
        column-gap: 10px;
    }

    .billing-details-row {
        display: block;
    }

    .billing-details-row > div {
        width: 100% !important;
    }
}