#micd-feedback-tools-root {
    position: relative;
    z-index: 999999;
}

.micd-ft-hidden {
    display: none !important;
}

.micd-ft-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999997;
}

.micd-ft-modal,
.micd-ft-panel {
    background: #ffffff;
    color: #111111;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.micd-ft-modal {
    width: 100%;
    max-width: 560px;
    position: relative;
}

.micd-ft-modal-inner,
.micd-ft-panel-body {
    padding: 24px;
}

.micd-ft-panel {
    position: fixed;
    right: 20px;
    bottom: 92px;
    width: min(92vw, 420px);
    z-index: 999996;
}

.micd-ft-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.micd-ft-title,
.micd-ft-panel-title {
    margin: 0 0 10px;
    line-height: 1.2;
    font-size: 28px;
}

.micd-ft-panel-title {
    margin: 0;
    font-size: 18px;
}

.micd-ft-text {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.6;
    color: #444444;
}

.micd-ft-close {
    border: 0;
    background: transparent;
    color: #666666;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    padding: 0;
}

.micd-ft-modal .micd-ft-close {
    position: absolute;
    top: 12px;
    right: 14px;
}

.micd-ft-form label {
    display: block;
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
}

.micd-ft-form input,
.micd-ft-form textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #d7d7d7;
    background: #ffffff;
    font-size: 15px;
}

.micd-ft-form textarea {
    min-height: 130px;
    resize: vertical;
}

.micd-ft-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.micd-ft-submit {
    appearance: none;
    cursor: pointer;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
}

.micd-ft-turnstile {
    margin: 6px 0 14px;
}

.micd-ft-note {
    font-size: 13px;
    color: #666666;
    margin-top: 8px;
}

.micd-ft-response {
    margin-top: 12px;
    font-size: 14px;
}

.micd-ft-response.ok {
    color: #18794e;
}

.micd-ft-response.error {
    color: #b42318;
}

.micd-ft-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999996;
    border: 0;
    cursor: pointer;
    background-color: transparent;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.micd-ft-sr {
    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: 640px) {
    .micd-ft-modal-inner,
    .micd-ft-panel-body {
        padding: 20px;
    }

    .micd-ft-title {
        font-size: 24px;
    }

    .micd-ft-panel {
        right: 14px;
        bottom: 82px;
        width: calc(100vw - 28px);
    }

    .micd-ft-fab {
        right: 14px;
        bottom: 14px;
    }

    .micd-ft-actions-uc {
        flex-direction: column;
        align-items: stretch;
    }

    .micd-ft-actions-uc .micd-ft-turnstile-wrap {
        margin-left: 0;
    }
}


.micd-ft-turnstile-wrap {
    flex: 0 0 auto;
}

.micd-ft-actions-uc {
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
    margin-top: 6px;
}

.micd-ft-actions-uc .micd-ft-submit {
    align-self: flex-start;
}

.micd-ft-actions-uc .micd-ft-turnstile-wrap {
    margin-left: auto;
}

.micd-ft-actions-uc .micd-ft-turnstile {
    margin: 0;
}
