/*! CSS Used from: Embedded */
/* Global Scope for Review System */
.xc-rating-system {
    /* CSS Variables for internal use if needed */
    --xc-font-family: inherit;
    --xc-bg-white: #ffffff;
    --xc-text-main: #1f2937;
    --xc-border-color: #e5e7eb;

    font-family: var(--xc-font-family);
    color: var(--xc-text-main);
    background-color: var(--xc-bg-white);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 2rem;
    box-sizing: border-box;
    line-height: 1.5;

    /* Tailwind-like resets for internal elements */
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-scroll-snap-strictness: proximity;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
}

.xc-rating-system *,
.xc-rating-system ::before,
.xc-rating-system ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
    --tw-content: '';
    /* For ::before/::after */
}

.xc-rating-system h2,
.xc-rating-system h3 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
    /* Added margin reset for h2, h3 */
}

.xc-rating-system p {
    margin: 0;
    /* Added margin reset for p */
}

.xc-rating-system a {
    color: inherit;
    text-decoration: inherit;
}

.xc-rating-system button,
.xc-rating-system input,
.xc-rating-system textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    /* Reset appearance for buttons/inputs */
    appearance: none;
    background-color: transparent;
    background-image: none;
}

.xc-rating-system button {
    text-transform: none;
    cursor: pointer;
}

.xc-rating-system :disabled {
    cursor: default;
}

.xc-rating-system svg {
    display: block;
}

.xc-rating-system textarea {
    resize: vertical;
}

.xc-rating-system input::placeholder,
.xc-rating-system textarea::placeholder {
    opacity: 1;
    color: #9ca3af;
}

/* --- Header Section --- */
.xc-rating-system .xc-rating-header {
    background: linear-gradient(to right, #eff6ff, #e0e7ff);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.xc-rating-system .xc-rating-title {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.xc-rating-system .xc-icon-star-title {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
    color: #eab308;
}

.xc-rating-system .xc-rating-subtitle {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #4b5563;
}

/* --- Stats Section --- */
.xc-rating-system .xc-rating-stats {
    padding: 1.5rem;
    background: linear-gradient(to bottom right, #eff6ff, #fff, #e0e7ff);
}

.xc-rating-system .xc-rating-stats-inner {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.xc-rating-system .xc-rating-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .xc-rating-system .xc-rating-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Overall Card */
.xc-rating-system .xc-rating-card-overall {
    grid-column: span 2;
}

.xc-rating-system .xc-rating-card-content,
.xc-rating-system .xc-rating-dist-content {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.xc-rating-system .xc-overall-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .xc-rating-system .xc-overall-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }
}

.xc-rating-system .xc-score-container {
    flex-shrink: 0;
    text-align: center;
}

.xc-rating-system .xc-score-value {
    font-size: 3.75rem;
    line-height: 1;
    font-weight: 900;
    background: linear-gradient(to right, #facc15, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.xc-rating-system .xc-score-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

.xc-rating-system .xc-score-details {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .xc-rating-system .xc-score-details {
        text-align: left;
    }
}

.xc-rating-system .xc-stars-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .xc-rating-system .xc-stars-row {
        justify-content: flex-start;
    }
}

.xc-rating-system .xc-star-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #d1d5db;
    /* Gray-300 default */
    fill: currentColor;
}

.xc-rating-system .xc-star-icon.active {
    color: #facc15;
    /* Yellow-400 */
}

.xc-rating-system .xc-total-reviews {
    color: #4b5563;
}

.xc-rating-system .xc-total-count {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.xc-rating-system .xc-total-label {
    font-size: 0.875rem;
}

.xc-rating-system .xc-verified-label {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Distribution Card */
.xc-rating-system .xc-rating-card-dist {
    grid-column: span 3;
}

.xc-rating-system .xc-dist-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.xc-rating-system .xc-dist-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.xc-rating-system .xc-dist-item:hover {
    background-color: #f9fafb;
}

.xc-rating-system .xc-dist-label {
    display: flex;
    align-items: center;
    width: 4rem;
    flex-shrink: 0;
}

.xc-rating-system .xc-star-num {
    margin-right: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.xc-rating-system .xc-star-mini {
    width: 1rem;
    height: 1rem;
    color: #facc15;
    fill: currentColor;
}

.xc-rating-system .xc-dist-bar-bg {
    flex: 1;
    margin-left: 1rem;
    margin-right: 1rem;
    height: 0.75rem;
    /* Slightly larger for visuals */
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    /* inner shadow */
}

.xc-rating-system .xc-dist-bar-fill {
    height: 100%;
    background: linear-gradient(to right, #facc15, #eab308, #f97316);
    border-radius: 9999px;
    transition: width 0.7s ease-out;
}

.xc-rating-system .xc-dist-stats {
    width: 6rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    text-align: right;
}

.xc-rating-system .xc-dist-percent {
    font-size: 0.875rem;
    font-weight: 700;
    color: #16a34a;
    /* green-600 */
}

.xc-rating-system .xc-dist-count {
    font-size: 0.75rem;
    color: #6b7280;
}

/* --- Form Section --- */
.xc-rating-system .xc-rating-form-section {
    padding: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.xc-rating-system .xc-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.xc-rating-system .xc-form-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.xc-rating-system .xc-user-status {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #16a34a;
}

.xc-rating-system .xc-icon-check {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

.xc-rating-system .xc-login-link {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #854d0e;
    background-color: #fef9c3;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
}

/* Form Elements */
.xc-rating-system .xc-form-wrapper {
    max-width: 100%;
}

.xc-rating-system .xc-review-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.xc-rating-system .xc-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.xc-rating-system .xc-star-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.xc-rating-system .xc-star-input-btn {
    width: 2rem;
    height: 2rem;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    color: #d1d5db;
    /* Default gray */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.xc-rating-system .xc-star-input-btn:hover {
    transform: scale(1.1);
    color: #facc15;
}

.xc-rating-system .xc-star-svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.xc-rating-system .xc-star-input-btn.active-star {
    color: #facc15;
}

.xc-rating-system .xc-star-input-btn:focus {
    outline: 2px solid #facc15;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

.xc-rating-system .xc-rating-text {
    font-size: 0.875rem;
    color: #4b5563;
}

.xc-rating-system .xc-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #111827;
    background-color: #fff;
    border: 1px solid #d1d5db;
    /* Default border */
    border-radius: 0.5rem;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: block;
    box-sizing: border-box;
    /* Ensure padding doesn't overflow */
}

.xc-rating-system .xc-form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.xc-rating-system .xc-form-textarea::placeholder {
    color: #9ca3af;
}

/* Guest Info */
.xc-rating-system .xc-guest-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.xc-rating-system .xc-form-row-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .xc-rating-system .xc-form-row-2col {
        grid-template-columns: 1fr 1fr;
    }
}

.xc-rating-system .xc-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #111827;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: border-color 0.2s box-shadow 0.2s;
    box-sizing: border-box;
}

.xc-rating-system .xc-form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.xc-rating-system .xc-guest-notice {
    padding: 1rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
}

.xc-rating-system .xc-guest-notice p {
    font-size: 0.875rem;
    color: #1e40af;
    margin: 0;
    display: flex;
    align-items: center;
}

.xc-rating-system .xc-icon-info {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
    display: inline-block;
}

/* Buttons */
.xc-rating-system .xc-form-actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 1rem;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .xc-rating-system .xc-form-actions {
        flex-direction: row;
        gap: 0;
    }
}

.xc-rating-system .xc-btn-reset,
.xc-rating-system .xc-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    border: none;
}

.xc-rating-system .xc-btn-reset {
    background-color: #e5e7eb;
    color: #374151;
}

@media (min-width: 640px) {
    .xc-rating-system .xc-btn-reset {
        margin-right: 0.75rem;
    }
}

.xc-rating-system .xc-btn-reset:hover {
    background-color: #f3f4f6;
}

.xc-rating-system .xc-icon-reset,
.xc-rating-system .xc-icon-submit {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    display: block;
}

.xc-rating-system .xc-btn-submit {
    background: linear-gradient(to right, #16a34a, #15803d);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.xc-rating-system .xc-btn-submit:hover:not(:disabled) {
    background: linear-gradient(to right, #15803d, #14532d);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.xc-rating-system .xc-btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* --- List Section --- */
.xc-rating-system .xc-rating-list-section {
    border-top: 1px solid #f3f4f6;
    background-color: #fff;
}

.xc-rating-system .xc-list-content {
    padding: 1.5rem;
}

.xc-rating-system .xc-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.xc-rating-system .xc-list-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.xc-rating-system .xc-review-count-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #166534;
    background-color: #dcfce7;
    border-radius: 9999px;
    white-space: nowrap;
}

.xc-rating-system .xc-reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.xc-rating-system .xc-no-reviews {
    text-align: center;
    padding: 2rem 0;
}

.xc-rating-system .xc-no-reviews-icon {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.xc-rating-system .xc-icon-empty {
    width: 3rem;
    height: 3rem;
    margin: 0 auto;
    display: block;
}

.xc-rating-system .xc-no-reviews-text {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

.xc-rating-system .xc-no-reviews-subtext {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.xc-rating-system .xc-load-more-container {
    margin-top: 1.5rem;
    text-align: center;
}

.xc-rating-system .xc-btn-load-more {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: #374151;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    cursor: pointer;
}

.xc-rating-system .xc-btn-load-more:hover {
    background-color: #f9fafb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* AJAX Loaded Items Styling (Targeting .xc-review-item which may be injected) */
.xc-review-item {
    background-color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

/* Ensure injectable items are handled if they are not wrapped in .xc-rating-system when injected, 
   though usually they should be inside. If not, we might need global scope or ensure injection wrapper. 
   Assuming they are injected into #ratings-container which is inside .xc-rating-system */

.xc-rating-system .xc-review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.xc-rating-system .xc-review-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.xc-rating-system .xc-review-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #6b7280;
    overflow: hidden;
    flex-shrink: 0;
}

.xc-rating-system .xc-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xc-rating-system .xc-review-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.xc-rating-system .xc-review-date {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

.xc-rating-system .xc-review-stars {
    display: flex;
}

.xc-rating-system .xc-review-star-mini {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.xc-rating-system .xc-review-star-mini.active {
    color: #facc15;
}

.xc-rating-system .xc-review-star-mini.inactive {
    color: #d1d5db;
}

.xc-rating-system .xc-review-content {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

/* Alert Success */
.xc-rating-system .xc-alert-success {
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #15803d;
    /* green-700 */
    background-color: #dcfce7;
    /* green-100 */
    border-radius: 0.5rem;
}

.xc-rating-system .font-medium {
    font-weight: 500;
}

/* Base Resets for SVG inside system */
.xc-rating-system svg {
    display: block;
}

/* Global utility classes (not scoped to .xc-rating-system) */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.block {
    display: block;
}

.inline {
    display: inline;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.h-6 {
    height: 1.5rem;
}

.h-full {
    height: 100%;
}

.h-12 {
    height: 3rem;
}

.h-4 {
    height: 1rem;
}

.w-6 {
    width: 1.5rem;
}

.w-full {
    width: 100%;
}

.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-24 {
    width: 6rem;
}

.w-4 {
    width: 1rem;
}

.min-w-\[25px\] {
    min-width: 25px;
}

.min-w-\[35px\] {
    min-width: 35px;
}

.max-w-4xl {
    max-width: 56rem;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

.resize-none {
    resize: none;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}

.space-y-6> :not([hidden])~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.space-y-3> :not([hidden])~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-x-2> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.5rem * var(--tw-space-x-reverse));
    margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-3> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.75rem * var(--tw-space-x-reverse));
    margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-1> :not([hidden])~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

.space-y-4> :not([hidden])~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.overflow-hidden {
    overflow: hidden;
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.border {
    border-width: 1px;
}

.border-blue-200 {
    --tw-border-opacity: 1;
    border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
}

.border-gray-100 {
    --tw-border-opacity: 1;
    border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}

.border-gray-300 {
    --tw-border-opacity: 1;
    border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-blue-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}

.bg-gray-200 {
    --tw-bg-opacity: 1;
    background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}

.bg-green-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}

.bg-yellow-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(254 249 195 / var(--tw-bg-opacity, 1));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-blue-50 {
    --tw-gradient-from: #eff6ff var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-green-600 {
    --tw-gradient-from: #16a34a var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(22 163 74 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-yellow-400 {
    --tw-gradient-from: #facc15 var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(250 204 21 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-white {
    --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), #fff var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.via-yellow-500 {
    --tw-gradient-to: rgb(234 179 8 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), #eab308 var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-green-700 {
    --tw-gradient-to: #15803d var(--tw-gradient-to-position);
}

.to-indigo-50 {
    --tw-gradient-to: #eef2ff var(--tw-gradient-to-position);
}

.to-orange-500 {
    --tw-gradient-to: #f97316 var(--tw-gradient-to-position);
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.fill-current {
    fill: currentColor;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pt-4 {
    padding-top: 1rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-black {
    font-weight: 900;
}

.text-gray-900 {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.text-gray-400 {
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.text-gray-500 {
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-600 {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-gray-700 {
    --tw-text-opacity: 1;
    color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.text-transparent {
    color: transparent;
}

.text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-yellow-400 {
    --tw-text-opacity: 1;
    color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}

.text-yellow-500 {
    --tw-text-opacity: 1;
    color: rgb(234 179 8 / var(--tw-text-opacity, 1));
}

.text-blue-800 {
    --tw-text-opacity: 1;
    color: rgb(30 64 175 / var(--tw-text-opacity, 1));
}

.text-gray-300 {
    --tw-text-opacity: 1;
    color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.text-green-600 {
    --tw-text-opacity: 1;
    color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}

.text-green-800 {
    --tw-text-opacity: 1;
    color: rgb(22 101 52 / var(--tw-text-opacity, 1));
}

.text-yellow-800 {
    --tw-text-opacity: 1;
    color: rgb(133 77 14 / var(--tw-text-opacity, 1));
}

.placeholder-gray-500::placeholder {
    --tw-placeholder-opacity: 1;
    color: rgb(107 114 128 / var(--tw-placeholder-opacity, 1));
}

.shadow-lg {
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-inner {
    --tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.drop-shadow-sm {
    --tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition-colors {
    transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-700 {
    transition-duration: 700ms;
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.hover\:-translate-y-0\.5:hover {
    --tw-translate-y: -0.125rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:scale-110:hover {
    --tw-scale-x: 1.1;
    --tw-scale-y: 1.1;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:bg-gray-50:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.hover\:from-green-700:hover {
    --tw-gradient-from: #15803d var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(21 128 61 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:to-green-800:hover {
    --tw-gradient-to: #166534 var(--tw-gradient-to-position);
}

.hover\:text-yellow-400:hover {
    --tw-text-opacity: 1;
    color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}

.hover\:shadow-md:hover {
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.hover\:shadow-xl:hover {
    --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:ring-2:focus {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-blue-500:focus {
    --tw-ring-opacity: 1;
    --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
}

.focus\:ring-yellow-400:focus {
    --tw-ring-opacity: 1;
    --tw-ring-color: rgb(250 204 21 / var(--tw-ring-opacity, 1));
}

.focus\:ring-offset-2:focus {
    --tw-ring-offset-width: 2px;
}

.disabled\:transform-none:disabled {
    transform: none;
}

.disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
}

.disabled\:opacity-50:disabled {
    opacity: 0.5;
}

@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm\:flex-row {
        flex-direction: row;
    }

    .sm\:justify-start {
        justify-content: flex-start;
    }

    .sm\:space-x-3> :not([hidden])~ :not([hidden]) {
        --tw-space-x-reverse: 0;
        margin-right: calc(0.75rem * var(--tw-space-x-reverse));
        margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
    }

    .sm\:space-y-0> :not([hidden])~ :not([hidden]) {
        --tw-space-y-reverse: 0;
        margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
        margin-bottom: calc(0px * var(--tw-space-y-reverse));
    }

    .sm\:text-left {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .lg\:col-span-3 {
        grid-column: span 3 / span 3;
    }

    .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .lg\:flex-row {
        flex-direction: row;
    }

    .lg\:items-start {
        align-items: flex-start;
    }

    .lg\:justify-start {
        justify-content: flex-start;
    }

    .lg\:space-x-4> :not([hidden])~ :not([hidden]) {
        --tw-space-x-reverse: 0;
        margin-right: calc(1rem * var(--tw-space-x-reverse));
        margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
    }

    .lg\:space-y-0> :not([hidden])~ :not([hidden]) {
        --tw-space-y-reverse: 0;
        margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
        margin-bottom: calc(0px * var(--tw-space-y-reverse));
    }

    .lg\:text-left {
        text-align: left;
    }
}

/*! CSS Used keyframes */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Custom styles for XC Review Plugin buttons */
.rating-system-container .xc-form-actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 1rem;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .rating-system-container .xc-form-actions {
        flex-direction: row;
        gap: 0;
    }

    .rating-system-container .xc-btn-reset {
        margin-right: 0.75rem;
    }
}

.rating-system-container .xc-btn-reset,
.rating-system-container .xc-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    border: none;
    /* Reset default border */
}

/* Reset Button */
.rating-system-container .xc-btn-reset {
    background-color: #e5e7eb;
    /* gray-200 */
    color: #374151;
    /* gray-700 */
}

.rating-system-container .xc-btn-reset:hover {
    background-color: #f9fafb;
    /* gray-50 */
}

.rating-system-container .xc-btn-reset svg {
    margin-right: 0.5rem;
}

/* Submit Button */
.rating-system-container .xc-btn-submit {
    background: linear-gradient(to right, #16a34a, #15803d);
    /* green-600 to green-700 */
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.rating-system-container .xc-btn-submit:hover:not(:disabled) {
    background: linear-gradient(to right, #15803d, #14532d);
    /* darker green on hover */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-xl */
    transform: translateY(-2px);
}

.rating-system-container .xc-btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.rating-system-container .xc-btn-submit svg {
    margin-right: 0.5rem;
}