.pnpd-checkout-container input[type=text], .pnpd-checkout-container input[type=email] {
    color: #252525;
    background-color: #fff;
    display: block;
    width: 100%;
    padding: 16px !important;
    border: 1px solid hsla(0, 0%, 60%, .4) !important;
    border-radius: 2px !important;
    outline: none;
    font-size: 15px !important;
    line-height: 20px !important;
    height: 52px !important;
    box-sizing: border-box !important;
    transition: all .1sease, height 0s;
    cursor: text;
    appearance: none;
    -webkit-appearance: none;
}

.bold {
    font-weight: bold;
}

.pnpd-checkout-container select {
    color: #252525;
    background-color: #fff;
    display: block;
    width: 100%;
    padding: 16px !important;
    border: 1px solid hsla(0, 0%, 60%, .4) !important;
    border-radius: 2px !important;
    outline: none;
    font-size: 15px !important;
    line-height: 20px !important;
    height: 52px !important;
    box-sizing: border-box !important;
    transition: all .1sease, height 0s;
    cursor: pointer;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    background-image: url('/wp-content/plugins/pnpd-digital-product-checkout/assets/images/select-arrow.svg');
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.pnpd-checkout-container select.quantity {
    color: #252525;
    background-color: #fff;
    display: block;
    width: 80px;
    padding: 4px 8px !important;
    border: 1px solid hsla(0, 0%, 60%, .4) !important;
    border-radius: 2px !important;
    outline: none;
    font-size: 15px !important;
    line-height: 20px !important;
    height: 34px !important;
    box-sizing: border-box !important;
    transition: all .1sease, height 0s;
    cursor: pointer;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    background-image: url('/wp-content/plugins/pnpd-digital-product-checkout/assets/images/select-arrow.svg');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.pnpd-checkout-header-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: space-between;

    @media(min-width: 768px) {
        flex-direction: row;
    }

    .pnpd-checkout-header-title {

    }

    .pnpd-checkout-header-currency {

        .pnpd-checkout-currency-switcher {
            width: 150px !important;
        }
    }
}

.pnpd-checkout-container h3 {
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: 700;
}

.pnpd-checkout-return-page-details {
    margin: 30px 0;
    padding: 30px 0;
    border-top: 1px solid rgba(195, 203, 218, 1);
}

.pnpd-checkout-return-page-content {
    padding: 30px 0;
    border-top: 1px solid rgba(195, 203, 218, 1);
}

.pnpd-checkout-table-container {
    margin: 30px 0;
    padding: 30px 0;
    border-top: 1px solid rgba(195, 203, 218, 1);
    border-bottom: 1px solid rgba(195, 203, 218, 1);
}

.pnpd-checkout-table-product-name {
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.pnpd-checkout-table-product-name-image {

}

.pnpd-checkout-table-product-name-text {

}

.pnpd-checkout-table {
    padding: 0;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0 4px;
    width: 100%;
    min-width: auto;
}

.pnpd-checkout-table tr {
    margin: 4px 0;
    background: rgba(255, 57, 57, 0.1);
}

.pnpd-checkout-table tr:nth-of-type(even) {
    background: rgba(255, 57, 57, 0.05);
}

.pnpd-checkout-table tr td, .pnpd-checkout-table tr th {
    padding: 5px;
    margin: 0;
    overflow: hidden;
}

.pnpd-checkout-table tr td:first-child, .pnpd-checkout-table tr th:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.pnpd-checkout-table tr td:last-child, .pnpd-checkout-table tr th:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.pnpd-checkout-container  #payment-element {
    margin: 20px 0;
}

.pnpd-consents-container {
    margin: 40px 0 0 0;
}

.pnpd-consents-container .checkbox-label input {
    width: 18px;
    height: 18px;
    min-width: 18px;
}

#pnpd-confirm-errors {
    color: red;
    margin: 20px 0;
}

#pnpd-checkout-form {
    margin-top: 20px;
}

#pnpd-checkout-form input, #pnpd-checkout-form select {
    margin-bottom: 15px;
    border-radius: 5px !important;
}

.pnpd-checkout-container input:focus, .pnpd-checkout-container select:focus {
    border-color: #000 !important;
}

#pnpd-checkout-form h3{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    align-items: center;
}

.pnpd-checkout-container .checkbox-label {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    font-weight: normal;
    margin-bottom: 20px;
}

.pnpd-checkout-container .checkbox-label input[type="checkbox"] {
    accent-color: var(--brand-colour);
    margin-bottom: 0 !important;
    margin-top: 0;
    cursor: default !important;
    box-sizing: border-box;
    border: 1px solid var(--brand-colour);
    appearance: none;
    outline: none;
    transition: outline 0.1s;
    background-color: white;
    padding: 5px;
}

.pnpd-checkout-container .checkbox-label input[type="checkbox"]:checked {
    background-position: center;
    background-repeat: no-repeat;
    padding: 2px;
    background-color: var(--brand-colour);
}

.pnpd-checkout-container .checkbox-label input[type="checkbox"]:focus {
    border-color: var(--brand-colour) !important;
}

.pnpd-checkout-container .checkbox-label input[type="checkbox"]:not(:disabled):checked {
    border-color: var(--brand-colour);
    background-image: url('data:image/svg+xml;utf8,<svg width="12" height="10" viewBox="0 0 12 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 9.4L0 5.4L1.4 4L4 6.6L10.6 0L12 1.4L4 9.4Z" fill="white"/></svg>');
}

.pnpd-checkout-container .checkbox-label span {
    line-height: 1.8rem;
}

.pnpd-checkout-container input:read-only {
    background: #eee;
    cursor: not-allowed;
}

.pnpd-checkout-return-container {
    margin: 40px 0;
}

.pnpd-digital-product-serial-keys-table {
    width: 100%;
}

.pnpd-digital-product-serial-keys-table tr th {
    text-align: left;
}

.pnpd-loader-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.pnpd-loader {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite
}

.pnpd-loader::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid #FFF;
    animation: pnpdClipFix 2s linear infinite ;
}

@keyframes rotate {
    100%   {transform: rotate(360deg)}
}

@keyframes pnpdClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}

.pnpd-checkout-page-columns {
    display:flex;
    flex-direction:row;
    gap:40px;
}

.pnpd-checkout-page-column {
    width: 50%;
}

.pnpd-checkout-return-page-columns {
    display:flex;
    flex-direction:row;
    gap:20px;
    align-items:stretch;
}

.pnpd-checkout-return-page-column {
    width: 50%;
    padding:20px;
    border-radius: 10px;
    border: 1px solid #ccc
}

@media(max-width: 800px) {

    .pnpd-checkout-page-columns {
        display:flex;
        flex-direction:column;
        gap: 40px;
    }

    .pnpd-checkout-page-column {
        width: 100%;
    }

    .pnpd-checkout-return-page-columns {
        display:flex;
        flex-direction:column;
        gap: 40px;
    }

    .pnpd-checkout-return-page-column {
        width: 100%;
    }
}