#mhm-feedback {
    --mhm-dark: #171717;
    --mhm-white: #FFFFFF;
    --mhm-light-gray: #F6F6F6;
    --mhm-line: #E4E4E4;
    --mhm-gold: #FAAF00;
    --mhm-gold-light: #FFC400;
    --mhm-blue-dark: #102444;
    --mhm-text-secondary: #33373D;
    --mhm-muted: #6B6F76;
    --mhm-red: #C62828;
    --mhm-green: #2D8A4E;

    box-sizing: border-box;
    min-height: 100vh;
    margin: 0;
    padding: 32px 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--mhm-light-gray);
    color: var(--mhm-dark);
    font-family: 'Rethink Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

#mhm-feedback *,
#mhm-feedback *::before,
#mhm-feedback *::after {
    box-sizing: border-box;
}

#mhm-feedback .mhmf-card {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#mhm-feedback .mhmf-logo {
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 0 auto 4px;
    padding: 24px 28px;
    background: var(--mhm-white);
    border-radius: 8px;
}

#mhm-feedback .mhmf-head {
    text-align: center;
}

#mhm-feedback .mhmf-title {
    margin: 0 0 8px;
    color: var(--mhm-dark);
    font-family: inherit;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    text-wrap: balance;
    outline: none;
}

#mhm-feedback .mhmf-desc {
    margin: 0;
    color: var(--mhm-text-secondary);
    font-size: 17px;
}

#mhm-feedback .mhmf-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Auswahlkarten und Plattform-Links */

#mhm-feedback .mhmf-option,
#mhm-feedback .mhmf-platform {
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--mhm-white);
    border: 1px solid var(--mhm-line);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(23, 23, 23, 0.06);
    color: var(--mhm-dark);
    font: inherit;
    text-align: left;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

#mhm-feedback .mhmf-option:hover,
#mhm-feedback .mhmf-platform:hover {
    background: var(--mhm-white);
    border-color: var(--mhm-gold);
    box-shadow: 0 2px 8px rgba(23, 23, 23, 0.1);
    color: var(--mhm-dark);
}

#mhm-feedback .mhmf-option-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#mhm-feedback .mhmf-option-text strong,
#mhm-feedback .mhmf-platform strong {
    font-size: 17px;
    font-weight: 700;
}

#mhm-feedback .mhmf-option-text span {
    color: var(--mhm-muted);
    font-size: 15px;
}

#mhm-feedback .mhmf-platform strong {
    flex: 1;
}

#mhm-feedback .mhmf-option-help {
    background: transparent;
    border-style: dashed;
    box-shadow: none;
}

#mhm-feedback .mhmf-icon {
    flex: none;
    display: inline-flex;
}

#mhm-feedback .mhmf-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

#mhm-feedback .mhmf-option-icon {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--mhm-light-gray);
}

#mhm-feedback .mhmf-option-good .mhmf-option-icon {
    background: #E8F4EC;
    color: var(--mhm-green);
}

#mhm-feedback .mhmf-option-bad .mhmf-option-icon {
    background: #FBEAEA;
    color: var(--mhm-red);
}

#mhm-feedback .mhmf-option-help .mhmf-option-icon {
    background: #FFF3D1;
    color: var(--mhm-dark);
}

#mhm-feedback .mhmf-option-arrow,
#mhm-feedback .mhmf-platform-ext {
    color: var(--mhm-muted);
}

#mhm-feedback .mhmf-platform-logo svg {
    width: 28px;
    height: 28px;
}

/* Buttons */

#mhm-feedback .mhmf-btn {
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mhm-gold);
    border: 0;
    border-radius: 8px;
    color: var(--mhm-dark);
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    cursor: pointer;
    transition: background-color 0.15s;
}

#mhm-feedback .mhmf-btn:hover {
    background: var(--mhm-gold-light);
    color: var(--mhm-dark);
}

#mhm-feedback .mhmf-btn-secondary {
    background: var(--mhm-blue-dark);
    color: var(--mhm-white);
}

#mhm-feedback .mhmf-btn-secondary:hover {
    background: #1B3560;
    color: var(--mhm-white);
}

#mhm-feedback .mhmf-btn:disabled {
    background: #DADADA;
    color: var(--mhm-muted);
    cursor: not-allowed;
}

#mhm-feedback .mhmf-link {
    align-self: flex-start;
    margin: 0;
    padding: 8px 0;
    background: none;
    border: 0;
    border-radius: 4px;
    color: var(--mhm-text-secondary);
    font: inherit;
    font-size: 15px;
    text-decoration: underline;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

#mhm-feedback .mhmf-link:hover {
    background: none;
    color: var(--mhm-dark);
}

#mhm-feedback .mhmf-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

#mhm-feedback :is(.mhmf-option, .mhmf-platform, .mhmf-btn, .mhmf-link, .mhmf-star, .mhmf-input, a):focus-visible,
#mhm-feedback .mhmf-consent input:focus-visible {
    outline: 3px solid var(--mhm-blue-dark);
    outline-offset: 2px;
}

/* Sterne */

#mhm-feedback .mhmf-criteria {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#mhm-feedback .mhmf-criterion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

#mhm-feedback .mhmf-criterion-label {
    font-weight: 700;
}

#mhm-feedback .mhmf-stars {
    display: flex;
}

#mhm-feedback .mhmf-star {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 6px;
    display: flex;
    background: none;
    border: 0;
    border-radius: 8px;
    color: #CFCFCF;
    cursor: pointer;
}

#mhm-feedback .mhmf-star:hover {
    background: none;
}

#mhm-feedback .mhmf-star svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

#mhm-feedback .mhmf-star.is-on {
    color: var(--mhm-gold);
}

/* Formularfelder */

#mhm-feedback .mhmf-form {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#mhm-feedback .mhmf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#mhm-feedback .mhmf-label {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
}

#mhm-feedback .mhmf-input {
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    background: var(--mhm-white);
    border: 1px solid #B9BCC1;
    border-radius: 8px;
    color: var(--mhm-dark);
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
}

#mhm-feedback textarea.mhmf-input {
    resize: vertical;
}

#mhm-feedback .mhmf-input::placeholder {
    color: var(--mhm-muted);
}

#mhm-feedback .mhmf-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--mhm-text-secondary);
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

#mhm-feedback .mhmf-consent input {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: var(--mhm-blue-dark);
}

#mhm-feedback .mhmf-consent a {
    color: inherit;
    text-decoration: underline;
}

#mhm-feedback .mhmf-review-preview {
    margin: 0;
    padding: 14px 16px;
    background: var(--mhm-white);
    border: 1px solid var(--mhm-line);
    border-left: 4px solid var(--mhm-gold);
    border-radius: 8px;
    color: var(--mhm-text-secondary);
    font-style: italic;
}

#mhm-feedback .mhmf-step-redirect .mhmf-link {
    align-self: center;
}

#mhm-feedback .mhmf-note,
#mhm-feedback .mhmf-status,
#mhm-feedback .mhmf-error {
    margin: 0;
    font-size: 14px;
}

#mhm-feedback .mhmf-note {
    color: var(--mhm-muted);
}

#mhm-feedback .mhmf-stack .mhmf-note {
    text-align: center;
}

#mhm-feedback .mhmf-status {
    color: var(--mhm-green);
    font-weight: 700;
    text-align: center;
}

#mhm-feedback .mhmf-status:empty {
    display: none;
}

#mhm-feedback .mhmf-error {
    padding: 10px 12px;
    background: #FBEAEA;
    border-radius: 8px;
    color: var(--mhm-red);
}

#mhm-feedback [hidden] {
    display: none;
}

#mhm-feedback .mhmf-offscreen,
.mhmf-offscreen {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

#mhm-feedback .mhmf-footer {
    margin-top: auto;
    padding-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    font-size: 13px;
}

#mhm-feedback .mhmf-footer a {
    color: var(--mhm-muted);
    text-decoration: none;
}

#mhm-feedback .mhmf-footer a:hover {
    color: var(--mhm-dark);
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    #mhm-feedback * {
        transition: none !important;
    }
}
