/* Standalone plugin source, using the theme's public palette and typography. */
.ovi-gl-panel { color: var(--wp--preset--color--foreground, #000b30); background: var(--wp--preset--color--background, #eff2ff); border: 1px solid #92a2ff; border-radius: 1rem; padding: 1rem; margin-block: 1rem; min-width: 0; overflow-wrap: anywhere; }
.ovi-gl-panel[hidden] { display: none; }
.ovi-gl-panel .ovi-gl-caption { font-size: .75rem; font-weight: 700; margin: 0 0 .75rem; }
.ovi-gl-amounts { display: grid; gap: .75rem; margin: 0; }
.ovi-gl-amounts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; min-width: 0; }
.ovi-gl-amounts dt { font-size: .875rem; }
.ovi-gl-amounts dd { margin: 0; font-weight: 700; }
.ovi-gl-panel .ovi-gl-note { font-size: .75rem; line-height: 1.5; margin: .75rem 0 0; }
.ovi-gl-button { max-width: 100%; white-space: normal; }
.ovi-gl-panel .ovi-gl-button { display: inline-flex; justify-content: center; text-align: center; background: var(--wp--preset--color--primary, #92a2ff); color: var(--wp--preset--color--foreground, #000b30); text-decoration: none; }
.ovi-gl-panel .ovi-gl-button:hover { background: var(--wp--preset--color--foreground, #000b30); color: #fff; }
.ovi-gl-button:focus-visible { outline: 3px solid #465bcb; outline-offset: 4px; }
.ovi-gl-panel .ovi-gl-next { border-top: 1px solid #92a2ff; padding-top: 1rem; margin-top: 1rem; }
.ovi-gl-panel .ovi-gl-items { list-style: none; padding: 0; display: grid; gap: .5rem; }
.ovi-gl-items li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }
.ovi-gl-items li span { flex: 1 1 10rem; min-width: 0; }

.woocommerce-info.ovi-gl-prompt { flex-direction: column; align-items: stretch; gap: 1rem; }
.ovi-gl-prompt > p { margin: 0; min-width: 0; }
.ovi-gl-prompt > .button { max-width: 100%; white-space: normal; text-align: center; flex-shrink: 0; }
@media (min-width: 640px) {
    .woocommerce-info.ovi-gl-prompt { flex-direction: row; align-items: center; }
    .ovi-gl-prompt > p { flex: 1; }
}

.ovi-gl-tracking { border-left-width: 6px; }
.ovi-gl-tracking h3 { margin: 0 0 .75rem; font-size: 1.25rem; line-height: 1.35; }
.ovi-gl-tracking .ovi-gl-amounts { padding-block: .75rem; }
.ovi-gl-status { display: inline-block; border-radius: .75rem; padding: .35rem .65rem; background: #fff; font-size: .8rem; line-height: 1.4; }
.ovi-gl-amounts dd { max-width: 100%; overflow-wrap: anywhere; }
.ovi-gl-tracking__actions { margin-top: 1.25rem; }
.ovi-gl-tone-attention { border-color: #d6a354; background: #fff7ed; }
.ovi-gl-tone-success { border-color: #669c96; background: #effaf7; }
#ovi-gl-reminders { width: 100%; max-width: 80rem; margin: 1rem auto; padding-inline: 1rem; box-sizing: border-box; }
#ovi-gl-reminders[hidden] { display: none; }
.ovi-gl-reminder { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; padding: 1rem; border: 1px solid #92a2ff; border-left-width: 6px; border-radius: 1rem; color: #000b30; background: #eff2ff; overflow-wrap: anywhere; min-width: 0; }
.ovi-gl-reminder.ovi-gl-tone-attention { border-color: #d6a354; background: #fff7ed; }
.ovi-gl-reminder p { margin: 0; font-size: .875rem; line-height: 1.6; }
.ovi-gl-reminder .ovi-gl-caption { margin-bottom: .25rem; font-size: .75rem; }
.ovi-gl-reminder .ovi-gl-reminder__title { margin-bottom: .35rem; font-weight: 700; font-size: 1rem; line-height: 1.4; }
.ovi-gl-reminder__copy { flex: 1; min-width: 0; }
.ovi-gl-reminder__actions { display: flex; flex-direction: column; align-items: stretch; gap: .65rem; min-width: 0; }
.ovi-gl-reminder .ovi-gl-button { display: inline-flex; justify-content: center; text-align: center; text-decoration: none; background: #92a2ff; color: #000b30; }
.ovi-gl-reminder .ovi-gl-button:hover { color: #fff; background: #000b30; }
.ovi-gl-details-link { font-size: .8rem; text-align: center; text-decoration: underline; text-underline-offset: .2em; }
.ovi-gl-details-link:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
@media (min-width: 768px) {
    .ovi-gl-reminder { flex-direction: row; align-items: center; gap: 1.5rem; padding: 1.25rem; }
    .ovi-gl-reminder__actions { flex: 0 0 15rem; }
}

@media (max-width: 767px) {
    #ovi-gl-reminders .ovi-gl-reminder__copy > p:last-child { display: none; }
}

.ovi-gl-confirmation { max-width: 52rem; margin: 1rem auto; padding: 1.5rem; text-align: center; }
.ovi-gl-confirmation h2 { margin: .75rem 0 1rem; font-size: 1.65rem; line-height: 1.25; }
.ovi-gl-confirmation .ovi-gl-confirmation__icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: #fff; color: #465bcb; font-size: 1.5rem; }
.ovi-gl-confirmation__intro { line-height: 1.65; }
.ovi-gl-confirmation .ovi-gl-amounts { margin: 1.5rem 0; padding: 1rem; border-radius: .75rem; background: #fff; text-align: left; }
.ovi-gl-confirmation__actions { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) {
    .ovi-gl-confirmation { padding: 2rem; }
    .ovi-gl-confirmation h2 { font-size: 2rem; }
    .ovi-gl-confirmation__actions { flex-direction: row; align-items: center; justify-content: center; }
}
