.HYOKA-review-form--styled {
    --hyoka-form-primary: #f59e0b;
    --hyoka-form-text: #111827;
    font-family: var(--hyoka-form-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
    color: var(--hyoka-form-text);
}

/* Modal Popup Shell */
.HYOKA-inline-review-panel,
.hyoka-review-modal-card {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 999999 !important;
    width: calc(100% - 2rem) !important;
    max-width: 520px !important;
    max-height: 86vh !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    background: #ffffff !important;
    border: 1px solid #eaecf0 !important;
    border-radius: 20px !important;
    padding: 22px 26px 20px !important;
    margin: 0 !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    text-align: left !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.HYOKA-inline-review-panel::-webkit-scrollbar,
.hyoka-review-modal-card::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Close button */
.HYOKA-close-inline-form {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #4b5563 !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    z-index: 99 !important;
    outline: none !important;
}

.HYOKA-close-inline-form:hover {
    background: #e5e7eb !important;
    color: #111827 !important;
}

/* Product pill */
.hyoka-product-pill-wrap {
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

.hyoka-product-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 9999px !important;
    padding: 4px 12px 4px 5px !important;
    max-width: 90% !important;
    box-sizing: border-box !important;
}

.hyoka-product-pill-img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    border: 1px solid #d1d5db !important;
    display: block !important;
}

.hyoka-product-pill-text {
    font-size: 12.5px !important;
    color: #4b5563 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
}

.hyoka-product-pill-strong {
    color: #111827 !important;
    font-weight: 700 !important;
}

/* Title */
.hyoka-form-title,
.HYOKA-form-standard-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    text-align: center !important;
    margin: 0 0 10px 0 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.25 !important;
}

/* Divider */
.hyoka-form-divider {
    border: none !important;
    border-top: 1px solid #f0f0f0 !important;
    margin: 0 0 12px 0 !important;
    width: 100% !important;
}

/* Rating Section */
.hyoka-overall-rating-section {
    text-align: center !important;
    margin-bottom: 14px !important;
}

.hyoka-rating-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    text-align: center !important;
    margin-bottom: 6px !important;
}

.hyoka-stars-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 auto 4px auto !important;
}

.hyoka-star-btn,
.HYOKA-star-btn {
    background: none !important;
    border: none !important;
    padding: 2px !important;
    cursor: pointer !important;
    outline: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hyoka-star-btn svg,
.HYOKA-star-btn svg {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
}

.hyoka-star-btn svg path,
.HYOKA-star-btn svg path {
    stroke: #f59e0b !important;
    stroke-width: 1.8 !important;
    fill: none !important;
    transition: fill 0.15s ease, stroke 0.15s ease !important;
}

.hyoka-star-btn.is-active svg path,
.hyoka-star-btn.is-selected svg path,
.HYOKA-star-btn.is-active svg path,
.HYOKA-star-btn.is-selected svg path {
    fill: #f59e0b !important;
    stroke: #f59e0b !important;
}

.hyoka-rating-subtext {
    font-size: 12px !important;
    color: #6b7280 !important;
    text-align: center !important;
    margin: 4px 0 0 0 !important;
}

/* Fields Grid */
.hyoka-fields-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
}

@media (max-width: 500px) {
    .hyoka-fields-grid {
        grid-template-columns: 1fr !important;
    }
}

.hyoka-form-field {
    margin-bottom: 10px !important;
    text-align: left !important;
    width: 100% !important;
}

.hyoka-field-full {
    width: 100% !important;
}

.hyoka-field-label {
    display: block !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin-bottom: 4px !important;
    text-align: left !important;
}

.hyoka-field-input,
.hyoka-field-textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    font-size: 13.5px !important;
    color: #111827 !important;
    background: #ffffff !important;
    outline: none !important;
    font-family: inherit !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    text-align: left !important;
}

.hyoka-field-input::placeholder,
.hyoka-field-textarea::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
    font-size: 13px !important;
}

.hyoka-field-input:focus,
.hyoka-field-textarea:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
}

.hyoka-field-textarea {
    resize: vertical !important;
    min-height: 64px !important;
    line-height: 1.4 !important;
}

/* Media upload dropzone */
.hyoka-media-upload-section {
    margin-bottom: 10px !important;
}

.hyoka-media-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 6px !important;
}

.hyoka-optional-badge {
    font-size: 11.5px !important;
    color: #9ca3af !important;
    font-weight: 500 !important;
}

.hyoka-dropzone {
    border: 1.5px dashed #e2e8f0 !important;
    background: #faf9f6 !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    text-align: center !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.hyoka-dropzone:hover,
.hyoka-dropzone.is-dragover {
    background: #fefce8 !important;
    border-color: #f59e0b !important;
}

.hyoka-dropzone-icon-circle {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #fef3c7 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1px !important;
}

.hyoka-dropzone-text {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #374151 !important;
}

.hyoka-dropzone-subtext {
    font-size: 11px !important;
    color: #9ca3af !important;
}

/* Media Preview Grid */
.hyoka-media-preview-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

.hyoka-preview-item {
    position: relative !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
}

.hyoka-preview-item img,
.hyoka-preview-item video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.hyoka-preview-video-badge {
    position: absolute !important;
    bottom: 4px !important;
    left: 4px !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    line-height: 1 !important;
}

.hyoka-preview-video-play {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
}

.hyoka-preview-remove {
    position: absolute !important;
    top: 3px !important;
    right: 3px !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 12px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.hyoka-preview-remove:hover {
    background: #ef4444 !important;
}

/* Submit Button */
.hyoka-submit-btn,
.HYOKA-submit-button.HYOKA-styled-submit,
.hyoka-invite-submit {
    display: block !important;
    width: 100% !important;
    padding: 10px 18px !important;
    background: #f59e0b !important;
    color: #111827 !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25) !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
    outline: none !important;
    text-decoration: none !important;
    margin-top: 10px !important;
}

.hyoka-submit-btn:hover,
.HYOKA-submit-button.HYOKA-styled-submit:hover,
.hyoka-invite-submit:hover {
    background: #d97706 !important;
    color: #111827 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3) !important;
}

.hyoka-submit-btn:disabled,
.HYOKA-submit-button.HYOKA-styled-submit:disabled,
.hyoka-invite-submit:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Messages */
.hyoka-invite-msg,
.HYOKA-form-message {
    margin-top: 14px !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    display: none;
    text-align: center !important;
}

.hyoka-invite-msg.ok,
.HYOKA-form-message.success,
.HYOKA-form-message.is-success {
    display: block !important;
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
}

.hyoka-invite-msg.err,
.HYOKA-form-message.error,
.HYOKA-form-message.is-error {
    display: block !important;
    background: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

/* Q&A Product Questions & Segmented Controls (Images 1 & 2) */
.hyoka-qa-details-section {
    margin: 20px 0 10px 0 !important;
    padding-top: 18px !important;
    border-top: 1px solid #f3f4f6 !important;
    text-align: left !important;
}

.hyoka-qa-details-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 3px 0 !important;
    letter-spacing: -0.3px !important;
    line-height: 1.3 !important;
}

.hyoka-qa-details-subtitle {
    font-size: 13px !important;
    color: #6b7280 !important;
    margin: 0 0 18px 0 !important;
    line-height: 1.4 !important;
}

.hyoka-qa-question-item {
    margin-bottom: 18px !important;
}

.hyoka-qa-question-label {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 8px !important;
    line-height: 1.35 !important;
}

.hyoka-qa-details-section .hyoka-segmented-group,
.hyoka-review-modal-card .hyoka-segmented-group,
.HYOKA-inline-review-panel .hyoka-segmented-group,
.hyoka-segmented-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 42px !important;
    border: 1.5px solid #E5E7EB !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.hyoka-qa-details-section .hyoka-segmented-group .hyoka-segment-btn,
.hyoka-review-modal-card .hyoka-segmented-group .hyoka-segment-btn,
.HYOKA-inline-review-panel .hyoka-segmented-group .hyoka-segment-btn,
body .HYOKA-inline-review-panel button.hyoka-segment-btn,
body button.hyoka-segment-btn,
button.hyoka-segment-btn {
    flex: 1 1 0%;
    min-width: 0 !important;
    min-height: 42px !important;
    height: auto !important;
    padding: 4px 6px !important;
    margin: 0 !important;
    border: none !important;
    border-right: 1px solid #E5E7EB !important;
    border-radius: 0 !important;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #4B5563 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    text-align: center !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: none !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    word-break: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: inherit !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
}

.hyoka-qa-details-section .hyoka-segmented-group .hyoka-segment-btn:last-child,
body button.hyoka-segment-btn:last-child {
    border-right: none !important;
}

.hyoka-qa-details-section .hyoka-segmented-group .hyoka-segment-btn:hover:not(.is-selected),
body button.hyoka-segment-btn:hover:not(.is-selected) {
    background: #F9FAFB !important;
    background-color: #F9FAFB !important;
    color: #111827 !important;
}

.hyoka-qa-details-section .hyoka-segmented-group .hyoka-segment-btn.is-selected,
.hyoka-review-modal-card .hyoka-segmented-group .hyoka-segment-btn.is-selected,
.HYOKA-inline-review-panel .hyoka-segmented-group .hyoka-segment-btn.is-selected,
body .HYOKA-inline-review-panel button.hyoka-segment-btn.is-selected,
body button.hyoka-segment-btn.is-selected,
button.hyoka-segment-btn.is-selected {
    background: #F5A623 !important;
    background-color: #F5A623 !important;
    color: #111827 !important;
    font-weight: 700 !important;
}

.hyoka-qa-input {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    color: #111827 !important;
    box-sizing: border-box !important;
    outline: none !important;
    background: #ffffff !important;
    transition: border-color 0.15s ease !important;
    font-family: inherit !important;
}

.hyoka-qa-input:focus {
    border-color: #F5A623 !important;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15) !important;
}