.prf-c7093662-form {
    max-width: 100%;
    box-sizing: border-box;
}

.prf-c7093662-form *,
.prf-c7093662-form *::before,
.prf-c7093662-form *::after {
    box-sizing: border-box;
}

.prf-c7093662-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.prf-c7093662-description {
    margin: 0 0 24px 0;
    font-size: 15px;
    line-height: 1.6;
}

.prf-c7093662-field-group {
    margin-bottom: 20px;
}

.prf-c7093662-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.prf-c7093662-input,
.prf-c7093662-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.prf-c7093662-input:focus,
.prf-c7093662-textarea:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.prf-c7093662-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Product Search */
.prf-c7093662-product-search-wrapper {
    position: relative;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: text;
}

.prf-c7093662-product-search-wrapper.prf-c7093662-focused {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.prf-c7093662-search-input {
    border: none !important;
    outline: none !important;
    padding: 4px 0 !important;
    flex: 1;
    min-width: 120px;
    font-size: 15px;
    background: transparent !important;
    box-shadow: none !important;
}

.prf-c7093662-selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.prf-c7093662-tag-image {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}

.prf-c7093662-tag-remove {
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.15s ease;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-weight: 700;
}

.prf-c7093662-tag-remove:hover {
    opacity: 1;
}

/* Dropdown */
.prf-c7093662-search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.prf-c7093662-search-dropdown.prf-c7093662-visible {
    display: block;
}

.prf-c7093662-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    font-size: 14px;
}

.prf-c7093662-dropdown-item:hover {
    background-color: #f3f4f6;
}

.prf-c7093662-dropdown-item.prf-c7093662-selected {
    background-color: #eef2ff;
}

.prf-c7093662-dropdown-item-image {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.prf-c7093662-dropdown-item-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #e5e7eb;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #9ca3af;
}

.prf-c7093662-dropdown-item-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prf-c7093662-dropdown-check {
    color: #6366f1;
    font-weight: 700;
    font-size: 16px;
}

.prf-c7093662-dropdown-empty {
    padding: 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

.prf-c7093662-dropdown-loading {
    padding: 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* Star Rating */
.prf-c7093662-stars-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.prf-c7093662-star {
    cursor: pointer;
    transition: transform 0.15s ease;
    user-select: none;
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.prf-c7093662-star svg {
    width: 32px;
    height: 32px;
    fill: #d1d5db;
    transition: fill 0.15s ease;
}

.prf-c7093662-star:hover {
    transform: scale(1.15);
}

.prf-c7093662-star.prf-c7093662-star-active svg {
    fill: #FF8400;
}

.prf-c7093662-star.prf-c7093662-star-hover svg {
    fill: #FFa033;
}

.prf-c7093662-rating-text {
    margin-left: 8px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Submit Button */
.prf-c7093662-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    margin-top: 8px;
    line-height: 1.5;
}

.prf-c7093662-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.prf-c7093662-submit-btn:active {
    transform: translateY(0);
}

.prf-c7093662-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Messages */
.prf-c7093662-message-area {
    margin-bottom: 8px;
}

.prf-c7093662-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.prf-c7093662-message-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.prf-c7093662-message-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Scrollbar for dropdown */
.prf-c7093662-search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.prf-c7093662-search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.prf-c7093662-search-dropdown::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.prf-c7093662-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
