

.pay-popup-form input,
.pay-popup-form select,
.pay-popup-form button {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.pay-popup-form button {
    background: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
}

.pay-popup-form button:hover {
    background: #005f8d;
}
.pay-popup-error-popup {
border: 1px solid var(--medium-light-grey);
border-radius: 16px;
padding: 32px;
max-width: 808px;
}

.pay-popup-error-wrap {
    text-align: left;
}

.pay-popup-error-icon {
    margin-bottom: 20px;
}
.pay-popup-error-icon{
    margin-bottom: 0;
}
.pay-popup-error-popup .swal2-close{
        top: -21px;
        right: -21px;
    display: flex;
    position: relative;
}
.pay-popup-error-title {
font-family: var(--font-family);
font-weight: 600;
font-size: 36px;
line-height: 110%;
letter-spacing: -0.01em;
color: var(--dark);
margin: 16px 0 32px 0;
}

.pay-popup-error-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #4a5568;
    margin: 0 0 32px 0;
}

.pay-popup-error-btn {
font-family: var(--font-family);
font-weight: 600;
font-size: 16px;
line-height: 100%;
letter-spacing: 0.03em;
text-transform: uppercase;
text-align: center;
display: flex;
align-items: center;
color: var(--dark);
border: 1px solid var(--medium-light-grey);
border-radius: 8px;
padding: 16px;
background: var(--white);
transition: all .2s linear;
}
.pay-popup-error-btn:hover{
    cursor: pointer;
}
.pay-popup-error-btn svg{
    margin-right: 8px;
}

.pay-popup-error-btn:hover {
    background: #f1f1f1;
}
.pop_svg{
    padding-right: 24px;
  
}
.footerp_b{
    display: flex;
    align-items: center;
}
.popdev{
    margin-right: 24px;
}
#paymodal .emerald-modal-box{
    max-width: 1060px;
    width: auto;
}
.pay-footer {
    margin-top: 20px;
    padding-top: 32px;
    border-top: 1px solid var(--medium-light-grey);
}
.pay-footer .row{
    align-items: center;
}

.pay-submit{
    margin-bottom: 0 !important;
    transition: all .2s linear;
}
.pay-footer-text{
    font-family: var(--font-family);
font-weight: 500;
font-size: 13px;
line-height: 140%;
color: var(--dark-grey);
}
.pay-checkboxes a{
font-family: var(--font-family);
font-weight: 500;
font-size: 13px;
line-height: 140%;
color: var(--medium-dark-green);
text-decoration: underline;
}
.pay-checkboxes {
    font-family: var(--font-family);
font-weight: 500;
font-size: 13px;
line-height: 140%;
color: var(--dark-grey);
}

/* ===============================
   CUSTOM CHECKBOX
================================ */

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
}

/* hide native checkbox */
.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* visual box */
.custom-checkbox span {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* UNCHECKED state */
.custom-checkbox span::after {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='19' height='19' rx='1.5' stroke='%23C2CFD6'/%3E%3Cpath d='M6 10.8571L8.4 13L14 8' stroke='white' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
}

/* CHECKED state */
.custom-checkbox input[type="checkbox"]:checked + span::after {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='20' height='20' rx='2' fill='%23192023'/%3E%3Cpath d='M6 10.8571L8.4 13L14 8' stroke='white' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
}

/* focus (keyboard accessibility) */
.custom-checkbox input[type="checkbox"]:focus-visible + span::after {
    outline: 2px solid #192023;
    outline-offset: 2px;
}
.custom-checkbox{
    margin-top: 12px;
}
.pay-popup-form .form-field label{
font-family: var(--font-family);
font-weight: 500;
font-size: 13px;
line-height: 140%;
color: var(--dark-grey);
margin-bottom: 6px;
display: block;
}
#paymodal .emerald-modal-desc{
    font-family: var(--font-family);
font-weight: 500;
font-size: 16px;
line-height: 140%;
color: var(--dark-grey);
margin: 16px 0 24px 0;
}
#paymodal h2{
    font-family: var(--font-family);
font-weight: 600;
font-size: 36px;
line-height: 110%;
letter-spacing: -0.01em;
color: var(--dark);
margin: 0;
}
#paymodal .form-field input{
    padding: 9px 16px;
}

.pay-tooltip {
    position: absolute;
    background: #111;
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 9999;
    transform: translateY(-100%);
    margin-top: -6px;
}
.form-field.is-error {
    position: relative;
}
.form-field.is-error::after {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
    color: var(--white);
    background: #f83b3b;
    border-radius: 0 3px 3px 3px;
    padding: 0 4px;
    position: absolute;
    display: inline-block;
    left: 0;
    bottom: 3px;
    position: absolute;
    bottom: -1px;
    left: 17px;
    content: 'Please fill out this field.';
}
.form-field.is-error input {
    border-color: #e54848;
}

.form-field.is-error label {
    color: #e54848;
}

.form-field.is-error input:focus {
    box-shadow: 0 0 0 2px rgba(229,72,72,.2);
}