/* OKAZJE PŁOCK — V16-H.1 */

.op-report-overlay[hidden],
.op-report-success[hidden],
.op-report-errors[hidden] {
    display: none !important;
}

.op-report-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.op-report-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 25, 45, .58);
    backdrop-filter: blur(5px);
}

.op-report-dialog {
    position: relative;
    width: min(100%, 540px);
    max-height: min(90vh, 900px);
    overflow-y: auto;
    padding: 32px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 100px rgba(15, 25, 45, .25);
    color: #17263c;
}

.op-report-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 1px solid #e3e8f0;
    border-radius: 11px;
    background: #f8fafc;
    color: #64748b;
    font-size: 24px;
    cursor: pointer;
}

.op-report-header {
    padding-right: 20px;
    margin-bottom: 25px;
}

.op-report-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 17px;
    border-radius: 14px;
    background: #fff0df;
    color: #e98125;
    font-size: 25px;
    font-weight: 900;
}

.op-report-kicker {
    color: #df852d;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.2px;
}

.op-report-header h2 {
    margin: 8px 0 10px;
    font-size: 25px;
    line-height: 1.2;
    color: #17263c;
}

.op-report-header p {
    margin: 0;
    color: #738196;
    font-size: 13px;
    line-height: 1.7;
}

.op-report-field {
    margin-bottom: 19px;
}

.op-report-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #26364e;
}

.op-report-field label span {
    color: #e98125;
}

.op-report-field label em {
    color: #94a3b8;
    font-style: normal;
    font-weight: 500;
}

.op-report-field select,
.op-report-field textarea,
.op-report-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #dfe6ef;
    border-radius: 11px;
    background: #fff;
    color: #17263c;
    font: inherit;
    font-size: 13px;
}

.op-report-field textarea {
    resize: vertical;
    min-height: 110px;
}

.op-report-field select:focus,
.op-report-field textarea:focus,
.op-report-field input:focus {
    outline: none;
    border-color: #ffb34d;
    box-shadow: 0 0 0 3px rgba(255, 179, 77, .16);
}

.op-report-field small {
    display: block;
    margin-top: 6px;
    color: #8491a5;
    font-size: 11px;
    line-height: 1.5;
}

.op-report-privacy {
    margin: 12px 0 20px;
    color: #8491a5;
    font-size: 11px;
    line-height: 1.6;
}

.op-report-privacy a {
    color: #b66b17;
    text-decoration: underline;
}

.op-report-actions {
    display: flex;
    gap: 10px;
}

.op-report-cancel,
.op-report-submit {
    flex: 1;
    padding: 13px 15px;
    border: 0;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.op-report-cancel {
    background: #f2f5f9;
    color: #52627a;
}

.op-report-submit {
    background: linear-gradient(135deg, #ffda78, #ffad42);
    color: #38240d;
}

.op-report-submit:disabled {
    opacity: .6;
    cursor: wait;
}

.op-report-errors {
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid #ffc9c2;
    border-radius: 11px;
    background: #fff2f0;
    color: #b42318;
    font-size: 12px;
    line-height: 1.6;
}

.op-report-success {
    text-align: center;
    padding: 15px 0 5px;
}

.op-report-success-icon {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e7f8ed;
    color: #168a48;
    font-size: 32px;
}

.op-report-success h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

.op-report-success p {
    margin-bottom: 24px;
    color: #738196;
    line-height: 1.7;
}

.op-report-success .op-report-submit {
    width: 100%;
}

.op-report-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .op-report-overlay {
        padding: 10px;
        align-items: flex-end;
    }

    .op-report-dialog {
        width: 100%;
        max-height: 94vh;
        padding: 25px 20px;
        border-radius: 20px 20px 12px 12px;
    }

    .op-report-header h2 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .op-report-backdrop {
        backdrop-filter: none;
    }
}
