.feedback-widget-toggle {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    border: none;
    border-radius: 999px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #0f766e, #f97316);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.22);
}

.feedback-widget-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1198;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(3px);
}

.feedback-widget-panel {
    position: fixed;
    right: 24px;
    bottom: 88px;
    z-index: 1199;
    width: min(420px, calc(100vw - 32px));
    max-height: calc(100vh - 120px);
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 20px;
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.2);
    padding: 22px;
}

.feedback-widget-hidden {
    display: none !important;
}

.feedback-widget-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.feedback-widget-head h3 {
    font-size: 20px;
    margin: 0;
    color: #0f172a;
}

.feedback-widget-head p {
    margin: 8px 0 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.feedback-widget-close {
    border: none;
    background: rgba(148, 163, 184, 0.16);
    color: #0f172a;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.feedback-widget-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feedback-widget-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.feedback-widget-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feedback-widget-field label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.feedback-widget-field input,
.feedback-widget-field select,
.feedback-widget-field textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: #0f172a;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feedback-widget-field input:focus,
.feedback-widget-field select:focus,
.feedback-widget-field textarea:focus {
    outline: none;
    border-color: rgba(15, 118, 110, 0.58);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.feedback-widget-field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.feedback-widget-hint,
.feedback-widget-status {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
}

.feedback-widget-support {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.feedback-widget-status.is-success {
    color: #166534;
}

.feedback-widget-status.is-error {
    color: #b91c1c;
}

.feedback-widget-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.feedback-widget-btn {
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.feedback-widget-btn-secondary {
    background: rgba(148, 163, 184, 0.18);
    color: #0f172a;
}

.feedback-widget-btn-primary {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
}

@media (max-width: 680px) {
    .feedback-widget-toggle {
        right: 16px;
        bottom: 16px;
        padding: 13px 16px;
    }

    .feedback-widget-panel {
        right: 16px;
        bottom: 76px;
        width: calc(100vw - 20px);
        max-height: calc(100vh - 100px);
        padding: 18px;
    }

    .feedback-widget-grid {
        grid-template-columns: 1fr;
    }
}
