.woocommerce.apto-ur {
    max-width: 960px;
    margin: 0 auto
}

.apto-ur-grid {
    display: grid;
    gap: 16px
}

.apto-ur-acc {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden
}

.apto-ur-toggle {
    all: unset;
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    cursor: pointer;
    background-color: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
    position: relative
}

.apto-ur-toggle:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px
}

.apto-ur-toggle-media img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px
}

.apto-ur-toggle-body {
    display: grid;
    gap: 4px
}

.apto-ur-title {
    font-weight: 600;
    color: #000
}

.apto-ur-sub {
    font-size: 13px;
    opacity: .8
}

.apto-ur-status.is-done {
    color: #0a7a2f;
    font-weight: 600
}

.apto-ur-chevron {
    font-size: 24px;
    transition: transform .32s ease;
    color: #000;
    right: 5%;
    position: absolute
}

.apto-ur-toggle[aria-expanded="true"] .apto-ur-chevron {
    transform: rotate(180deg)
}

.apto-ur-store-radio {
    display: flex;
    gap: .5rem;
    margin-bottom: 1rem;
    flex-direction: column;

}

.apto-ur-store-label {
    color: #000;
    margin: 1rem 0;
}

.apto-ur-score-title {
    margin-bottom: 1rem;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 6px
}

.apto-ur-score-title-pair {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%
}

.apto-ur-score-label {
    margin-right: 1rem;
    color: #000;
}

.apto-ur-status.is-pending {
    color: #b38f00;
}

.apto-ur-score-desc {
    font-size: 16px;
    color: #000;
    margin-bottom: 1rem
}

.form-row.apto-ur-rating-row {
    display: flex;
    flex-direction: column;
    margin: 0 !important
}

.apto-ur-panel {
    overflow: hidden;
    height: auto;
    opacity: 1;
    transition: height .22s ease, opacity .22s ease;
    will-change: height, opacity;
    padding: 14px;
    border-top: 1px solid #f1f1f1
}

.apto-ur-panel.is-collapsed,
.apto-ur-panel[hidden] {
    height: 0 !important;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-color: transparent
}

.apto-ur-panel[hidden] {
    display: block !important
}

.apto-ur-stars {
    display: inline-flex;
    gap: 6px;
    direction: ltr;
    user-select: none
}

.apto-ur-star {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    padding: 0 2px;
    color: #bbb;
    transition: color .15s ease-in-out;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-family: "Font Awesome 5 Pro";
    font-weight: 400
}

.apto-ur-star.hover,
.apto-ur-star.filled {
    color: #000 !important;
    font-weight: 900
}

.apto-ur-stars button {
    padding: 0 3px
}

.apto-ur-submit.button[disabled] {
    opacity: .55;
    cursor: not-allowed
}

.apto-ur-body .apto-ur-info {
    opacity: .85
}

.apto-ur-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 9999
}

.apto-ur-toast.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto
}

.apto-ur-toggle.is-locked {
    cursor: default
}

.apto-ur-toggle.is-locked .apto-ur-chevron {
    display: none
}

/* Uploads */
.apto-ur-up-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 1px dashed #ddd;
    border-radius: 10px;
    background: #fafafa;
    color: #666;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    padding: 0 !important;
    transition: background .35s ease, border-color .35s ease;
    min-width: 80px;
}

.apto-ur-up-trigger:hover {
    border-color: #000;
}

.apto-ur-up-trigger:hover i {
    color: #000;
}


.apto-ur-up-trigger i {
    font-size: 28px;
    transition: color .35s ease;
}

.apto-ur-up-trigger.is-disabled {
    opacity: .5;
    pointer-events: none
}

.apto-ur-file {
    display: none
}

.apto-ur-uploads {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px
}

.apto-ur-up {
    max-width: 150px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.apto-ur-up-img {
    width: 100%
}

.apto-ur-up-img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain
}

.apto-ur-up-remove {
    position: absolute;
    left: 6px;
    top: 6px;
    width: 24px !important;
    height: 24px !important;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    cursor: pointer;
    line-height: 24px;
    text-align: center;
    padding: 0
}

.apto-ur-file {
    display: none !important;
}

.apto-ur-up-reminder {
    display: block;
    font-size: .875em;
    line-height: 1.5;
    align-items: center;
    gap: .25rem;
    opacity: .85;
    transition: opacity .25s ease, color .25s ease;
}

/* pending */
.apto-ur-up-reminder.is-pending {
    animation: aptoReminderPulse 2.2s ease-in-out infinite;
}

/* complete */
.apto-ur-up-reminder.is-complete {
    color: #2e7d32;
    opacity: 1;
    animation: none;
}

/* icon (hidden by default) */
.apto-ur-up-icon {
    font-size: 14px;
    line-height: 1;
    opacity: 0;
    transform: scale(.9);
    transition: opacity .2s ease, transform .25s ease;
}

/* show icon on complete */
.apto-ur-up-reminder.is-complete .apto-ur-up-icon {
    opacity: 1;
    transform: scale(1);
}

@keyframes aptoReminderPulse {
    0% {
        opacity: .6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .6;
    }
}


.page-slug-review-products .entry-title,
.page-slug-review-products .page-title {
    display: none !important
}


/* Wrapper */
.apto-ur-progress-wrapper {
    margin: 12px 0 18px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 3rem;

}

/* Background bar */
.apto-ur-progress {
    position: relative;
    width: 100%;
    height: 15px;
    background-color: #dcdcdc;
    /* grey background */
    border-radius: 999px;
    overflow: hidden;
}

/* Fill bar with gradient */
.apto-ur-progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    /* Smooth flowing gradient */
    background: linear-gradient(90deg,
            #ED1464 0%,
            #FF2F75 25%,
            #FF6EA1 50%,
            #FF2F75 75%,
            #ED1464 100%);

    background-size: 200% 100%;
    animation: aptoUrGradientFlow 4s linear infinite;
    transition: width 0.45s ease;
}

@keyframes aptoUrGradientFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* Label text */
.apto-ur-progress-label {
    margin-top: 6px;
    font-size: 13px;
    color: #555;
}

/* Responsive tweaks */
@media (min-width:768px) {
    .apto-ur-toggle {
        grid-template-columns: 80px 1fr auto;
        padding: 14px 16px
    }

    .apto-ur-toggle-media img {
        width: 80px;
        height: 80px
    }
}

@media (max-width:568px) {
    .apto-ur-chevron {
        display: none
    }

    .apto-ur-score-title-pair {
        flex-direction: column;
        width: 100%;
        align-items: flex-start
    }

    .apto-ur-score-desc {
        font-size: 14px;
        margin-bottom: .5rem
    }
}