.feedback-widget {
    position: fixed;
    right: 0;
    bottom: 12%;
    z-index: 9999;
    cursor: pointer;
}
@media (min-width: 1800px) { 
    .feedback-widget {
        bottom: 30%;
    }
}
.feedback-widget__toggle {
    cursor: pointer;
    display: flex;
    width: 54px;
    height: 180px;
    padding: 20px 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 4px 0 0 4px;
    background: var(--Alpha-Black---100, #111);
    box-shadow: 14px 2px 0 0 var(--Cyan---pastel, #DCF8FA);
    margin-bottom: 20px;
}

.feedback-widget__toggle-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--Text-White---Primary, #FFF);
    text-align: center;
    font-family: Archivo, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
}

.feedback-widget__toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.feedback-widget__toggle-icon svg {
    display: block;
}

.feedback-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9998;
}

.feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 24px 24px 16px;
    box-sizing: border-box;
    right: 30px;
}

.feedback-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #F4EFDF;
    padding: 16px;
    box-sizing: border-box;
    clip-path: polygon(
        16px 0,
        calc(100% - 16px) 0,
        100% 16px,
        100% calc(100% - 16px),
        calc(100% - 16px) 100%,
        16px 100%,
        0 calc(100% - 16px),
        0 16px
    );
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.feedback-card__header {
    margin-bottom: 24px;
}

.feedback-card__title {
    margin: 0;
    color: var(--Text-Black---Primary, #111);
    text-align: center;
    font-family: Archivo, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px;
}

.feedback-form {
    width: 100%;
}

.feedback-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.feedback-tab {
    border: 0;
    background: transparent;
    padding: 10px 16px;
    cursor: pointer;
    color: var(--Text-Black---Primary, #111);
    font-family: Archivo, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    transition: all 0.2s ease;
}
.feedback-tab.active,
.feedback-tab:hover {
    color: var(--Text-White---Primary, #FFF);
    background: #050505;
    -webkit-mask: url('data:image/svg+xml;utf8,\
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 44" preserveAspectRatio="none">\
        <path d="M0,0 Q4,22 0,44 L100,44 Q96,22 100,0 Z" fill="white"/>\
      </svg>') no-repeat center / 100% 100%;
    mask: url('data:image/svg+xml;utf8,\
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 44" preserveAspectRatio="none">\
        <path d="M0,0 Q4,22 0,44 L100,44 Q96,22 100,0 Z" fill="white"/>\
      </svg>') no-repeat center / 100% 100%;
}
.tab3.active {
    background: black;
}
.feedback-field {
    margin-bottom: 16px;
}

.feedback-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--Alpha-Black---100, #111);
    font-family: Archivo, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.feedback-textarea,
.feedback-input {
    width: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid var(--Alpha-Black---20, rgba(17, 17, 17, 0.20));
    background: var(--Alpha-White---20, rgba(255, 255, 255, 0.20));
    color: #111;
    outline: none;
    font-family: Archivo, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feedback-textarea:focus,
.feedback-input:focus {
    border-color: rgba(17, 17, 17, 0.45);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}

.feedback-textarea::placeholder,
.feedback-input::placeholder {
    color: #B3AFA6;
    font-weight: 500;
}

.feedback-textarea {
    min-height: 140px;
    resize: vertical;
}

.feedback-field-group {
    margin-top: 8px;
}

.feedback-subtitle {
    margin: 0 0 8px;
    color: var(--Text-Black---Primary, #111);
    font-family: Archivo, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

.feedback-note {
    margin: 0 0 16px;
    color: var(--Text-Black---Secondary, rgba(60, 60, 67, 0.68));
    font-family: Archivo, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.feedback-actions {
    margin-top: 24px;
}

.feedback-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    background: var(--Alpha-Black---10, rgba(17, 17, 17, 0.10));
    color: var(--Text-White---Primary, #FFF);
    text-align: center;
    font-family: Archivo, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    cursor: not-allowed;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.feedback-submit.active {
    background: var(--Alpha-Black---100, #111);
    box-shadow: 2px 3px 0 0 var(--Text-Black---Secondary, rgba(60, 60, 67, 0.68));
    cursor: pointer;
    opacity: 1;
}

.feedback-submit:disabled {
    background: #D8D2C4;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.feedback-submit:not(:disabled):hover {
    filter: brightness(0.96);
}

.feedback-close {
    position: absolute;
    top: 16px;
    right: 18px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #111;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .feedback-widget {
        right: 0;
        bottom: 16px;
    }

    .feedback-widget__toggle {
        width: 48px;
        min-height: 150px;
        padding: 16px 12px;
        box-shadow: 10px 2px 0 0 var(--Cyan---pastel, #DCF8FA);
        margin-bottom: 110px;
    }

    .feedback-widget__toggle-text {
        font-size: 14px;
        line-height: 20px;
    }

    .feedback-modal {
        justify-content: center;
        align-items: flex-end;
        padding: 16px;
        bottom: 15%;
    }

    .feedback-card {
        max-width: 100%;
        padding: 16px;
    }

    .feedback-card__header {
        margin-bottom: 20px;
    }

    .feedback-card__title {
        font-size: 22px;
        line-height: 30px;
    }

    .feedback-tabs {
        gap: 8px;
        margin-bottom: 20px;
    }

    .feedback-tab {
        font-size: 14px;
        line-height: 20px;
        padding: 8px 12px;
    }

    .feedback-label {
        font-size: 13px;
        line-height: 18px;
    }

    .feedback-subtitle {
        font-size: 16px;
        line-height: 22px;
    }

    .feedback-note {
        font-size: 12px;
        line-height: 18px;
    }

    .feedback-textarea,
    .feedback-input,
    .feedback-submit {
        font-size: 14px;
        line-height: 20px;
    }

    .feedback-textarea {
        min-height: 120px;
    }
}