.support-widget {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 28;
    font-family: "Montserrat", sans-serif;
}

.support-widget *,
.support-widget *::before,
.support-widget *::after {
    box-sizing: border-box;
}

.support-fab {
    appearance: none;
    width: 3.25rem;
    height: 3.25rem;
    border: 0;
    border-radius: 50%;
    background: #e88b7a;
    color: #fff;
    font: inherit;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(232, 139, 122, 0.35);
    position: relative;
}

.support-fab:hover {
    filter: brightness(1.04);
}

.support-fab-badge {
    position: absolute;
    top: -0.15rem;
    right: -0.15rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.28rem;
    border-radius: 99px;
    background: #c45a4a;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.support-panel {
    position: absolute;
    right: 0;
    bottom: 3.7rem;
    width: min(22.5rem, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid #efb3a7;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    padding: 1rem 1rem 0.9rem;
}

.support-panel h2 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #3a3a3a;
}

.support-panel p {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #8a8a8a;
}

.support-panel textarea {
    width: 100%;
    min-height: 7rem;
    resize: vertical;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    padding: 0.7rem 0.75rem;
    font: inherit;
    font-size: 0.88rem;
    color: #3a3a3a;
    outline: none;
}

.support-panel textarea:focus {
    border-color: #efb3a7;
}

.support-attach {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.55rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #e88b7a;
    cursor: pointer;
}

.support-attach input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.support-attach span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-panel-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.7rem;
}

.support-panel button[type="submit"] {
    appearance: none;
    border: 1px solid #e88b7a;
    background: #e88b7a;
    color: #fff;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.62rem 0.85rem;
    border-radius: 4px;
    cursor: pointer;
}

.support-panel a {
    color: #e88b7a;
    font-size: 0.74rem;
    font-weight: 600;
    text-decoration: none;
}

.support-panel-status {
    margin: 0.55rem 0 0;
    font-size: 0.74rem;
    color: #5a9a6a;
}

.support-panel-status.is-error {
    color: #c45a4a;
}
