.bpa-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.bpa-modal.bpa-modal-open {
    display: flex;
}

.bpa-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.bpa-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    width: 90%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.bpa-modal-dialog h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #333;
}

.bpa-current-price {
    color: #666;
    margin-bottom: 18px;
}

.bpa-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #888;
    cursor: pointer;
}

.bpa-field {
    margin-bottom: 14px;
}

.bpa-field label:not(.bpa-radio):not(.bpa-checkbox) {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #555;
}

.bpa-field input[type="number"],
.bpa-field input[type="email"],
.bpa-field input[type="tel"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.bpa-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 18px;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
}

.bpa-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
}

.bpa-message {
    margin-bottom: 12px;
    font-size: 13px;
}

.bpa-message.bpa-message-error {
    color: #c0392b;
}

.bpa-message.bpa-message-success {
    color: #2c7a3f;
}

.bpa-submit-btn {
    width: 100%;
    padding: 12px 20px;
    background: #438660;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.bpa-submit-btn:hover {
    background: #366e4e;
}

.bpa-submit-btn:disabled {
    opacity: 0.6;
    cursor: default;
}
