#psp-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#psp-popup-box {
    background: #fff;
    width: 100%;
    max-width: 700px;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.psp-hidden {
    display: none !important;
}

.psp-top-bar{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:18px;
}

.psp-top-text{
    margin:0;
    font-size: 17px;
    line-height:1.5;
    flex:1;
    font-weight: 500;
}

.psp-close-btn{
    position:static;
    background:transparent;
    border:0;
    font-size: 24px;
    line-height:1;
    cursor:pointer;
    padding:0;
    min-width:28px;
    color: #939393;
}

.psp-field {
    margin-bottom: 16px;
}

.psp-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 17px;
}

.psp-field input,
.psp-field textarea, .psp-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    box-sizing: border-box;
}

.psp-field select {
    margin-bottom: 5px;
    font-family: "Source Sans Pro", sans-serif;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg fill='%23484C58' width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 6px;

    padding-right: 35px;
}

.psp-actions,
#psp-initial-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.psp-btn {
    border: 0;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.psp-btn-primary {
    background: #D36971;
    color: #fff;
}

.psp-btn-secondary {
    background: #efefef;
    color: #222;
}

#psp-message {
    margin-top: 14px;
    font-size: 14px;
}

.psp-success {
    color: green;
}

.psp-error {
    color: red;
    margin-top: 5px;
}
.psp-required {
    color: red;
}

.psp-help-text {
    margin: 6px 0 10px;
    font-size: 13px;
    color: #666;
}

.psp-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    margin: 12px 0;
    cursor: pointer;
    line-height: 1.4;
    font-weight: 500;
}

#psp-popup-box select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    box-sizing: border-box;
}

.psp-radio {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px;
    margin: 10px 0;
    width: 100%;
    cursor: pointer;
    line-height: 1.3;
    font-weight: 500!important;
}

.psp-radio input[type="radio"], .psp-checkbox input[type="checkbox"]{
    margin: 0 !important;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    position: static !important;
    accent-color: #D36971;
}

.psp-radio span, .psp-checkbox span {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 15px;
}

.psp-field .psp-radio {
    line-height: 1.4;
}

.psp-step {
    margin-top: 15px;
}

.psp-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.psp-progress-wrap {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin: 16px 0 20px;
}

.psp-progress-bar {
    height: 100%;
    width: 0;
    background: #D36971;
    border-radius: 999px;
    transition: width 0.3s ease;
}

#psp-success-box {
    text-align: center;
    padding: 30px 20px;
}

.psp-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-size: 38px;
    line-height: 64px;
    text-align: center;
    margin: 0 auto 16px;
    font-weight: 700;
}

#psp-success-box h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
}

#psp-success-box p {
    margin: 0;
    font-size: 15px;
    color: #555;
}