.licecon-feedback {
    font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.licecon-feedback__button {
    appearance: none;
    background: #b91c1c;
    border: 0;
    border-radius: 999px;
    bottom: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
    color: #fff;
    cursor: pointer;
    font: 700 14px/1 'PT Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 46px;
    padding: 0 18px;
    position: fixed;
    right: 22px;
    z-index: 9998;
}

.licecon-feedback__button:hover,
.licecon-feedback__button:focus {
    background: #991b1b;
    color: #fff;
}

.licecon-feedback__modal {
    inset: 0;
    position: fixed;
    z-index: 9999;
}

.licecon-feedback__backdrop {
    background: rgba(15, 23, 42, 0.44);
    inset: 0;
    position: absolute;
}

.licecon-feedback__panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    bottom: 82px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    color: #0f172a;
    max-height: calc(100vh - 112px);
    overflow: auto;
    padding: 18px;
    position: absolute;
    right: 22px;
    width: min(420px, calc(100vw - 32px));
}

.licecon-feedback__head {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.licecon-feedback__head h2 {
    color: #0f172a;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
}

.licecon-feedback__close {
    appearance: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    cursor: pointer;
    font-size: 22px;
    height: 34px;
    line-height: 1;
    padding: 0;
    width: 34px;
}

.licecon-feedback__form {
    display: grid;
    gap: 12px;
    margin: 0;
}

.licecon-feedback__form label {
    display: block;
    margin: 0;
}

.licecon-feedback__form label span {
    color: #475569;
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

.licecon-feedback__form input,
.licecon-feedback__form textarea {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    box-sizing: border-box;
    color: #0f172a;
    font: 400 15px/1.4 'PT Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 100%;
    padding: 10px 12px;
    width: 100%;
}

.licecon-feedback__form textarea {
    min-height: 130px;
    resize: vertical;
}

.licecon-feedback__actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.licecon-feedback__actions button {
    appearance: none;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    cursor: pointer;
    font: 700 14px/1 'PT Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 38px;
    padding: 0 14px;
}

.licecon-feedback__actions button[type="button"] {
    background: #fff;
    color: #334155;
}

.licecon-feedback__actions button[type="submit"] {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #fff;
}

.licecon-feedback__toast {
    background: #0f766e;
    border-radius: 7px;
    bottom: 82px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    max-width: min(360px, calc(100vw - 32px));
    padding: 12px 14px;
    position: fixed;
    right: 22px;
    z-index: 9998;
}

.licecon-feedback__toast--error {
    background: #b91c1c;
}

@media (max-width: 600px) {
    .licecon-feedback__button {
        bottom: 16px;
        right: 16px;
    }

    .licecon-feedback__panel {
        bottom: 76px;
        max-height: calc(100vh - 96px);
        right: 16px;
        width: calc(100vw - 32px);
    }

    .licecon-feedback__toast {
        bottom: 76px;
        right: 16px;
    }
}
