.srp-hidden { display: none !important; }

#srp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 51, 80, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 999999;
    direction: rtl;
}
@media (min-width: 782px) {
    #srp-modal-overlay { align-items: center; }
}

#srp-modal {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 18px 18px 0 0;
    padding: 24px 20px;
    position: relative;
    box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.18);
    max-height: 85vh;
    overflow-y: auto;
    animation: srp-slide-up 0.25s ease-out;
}
@media (min-width: 782px) {
    #srp-modal {
        border-radius: 18px;
        margin: 0 16px;
        animation: srp-fade-in 0.2s ease-out;
    }
}

@keyframes srp-slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@keyframes srp-fade-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

#srp-modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f7fafd;
    border: 1px solid #e3edf5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #345;
}
#srp-modal-close:hover { background: #e9f4fb; }

.srp-title {
    font-size: 17px;
    font-weight: 700;
    margin: 4px 0 16px;
    color: #0b3350;
    line-height: 1.6;
}

.srp-problem-btn {
    display: block;
    width: 100%;
    text-align: right;
    padding: 13px 16px;
    margin-bottom: 8px;
    background: #f7fafd;
    border: 1px solid #e3edf5;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    color: #0b3350;
    transition: background .15s ease, border-color .15s ease;
}
.srp-problem-btn:hover,
.srp-problem-btn:focus {
    background: #e9f4fb;
    border-color: #0073aa;
    outline: none;
}

.srp-field { margin-bottom: 12px; }
.srp-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #4a6072;
}
.srp-field input,
.srp-field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #dbe6ef;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
    background: #ffffff;
    font-family: inherit;
}
.srp-field input:focus,
.srp-field textarea:focus {
    outline: none;
    border-color: #0073aa;
}

.srp-btn-primary {
    display: block;
    width: 100%;
    padding: 13px;
    background: #0073aa;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
    font-family: inherit;
}
.srp-btn-primary:hover { background: #00618f; }

.srp-btn-secondary {
    display: block;
    width: 100%;
    padding: 12px;
    background: #ffffff;
    color: #0073aa;
    border: 1.5px solid #0073aa;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    font-family: inherit;
}
.srp-btn-secondary:hover { background: #f7fafd; }

.srp-note {
    font-size: 12px;
    color: #85949f;
    margin-top: 10px;
    line-height: 1.7;
}

.srp-price-row {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid #f0f4f8;
    font-size: 14px;
    color: #0b3350;
}
.srp-price-row .srp-price-value { color: #0073aa; font-weight: 700; }

#srp-bottom-bar {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 999998;
    background: #ffffff;
    border-top: 1px solid #e3edf5;
    box-shadow: 0 -3px 16px rgba(0, 0, 0, 0.10);
    padding: 16px;
    direction: rtl;
    animation: srp-slide-up 0.25s ease-out;
}
#srp-bottom-bar .srp-bar-text {
    font-size: 14px;
    color: #0b3350;
    margin-bottom: 12px;
    line-height: 1.6;
}
#srp-bottom-bar .srp-bar-actions { display: flex; gap: 8px; }
#srp-bottom-bar .srp-bar-actions button {
    flex: 1;
    padding: 11px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
#srp-bottom-bar .srp-bar-yes { background: #0073aa; color: #ffffff; }
#srp-bottom-bar .srp-bar-no { background: #f7fafd; color: #4a6072; }

.srp-success { text-align: center; padding: 24px 0; }
.srp-success .srp-success-icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    background: #f7fafd;
    color: #0073aa;
    font-size: 24px;
    margin-bottom: 12px;
}
.srp-success p { color: #0b3350; font-size: 14px; line-height: 1.7; }
