:root {
    color-scheme: light;
    --ren-primary: #7d18f5;
    --ren-secondary: #8b5cf6;
    --ren-surface: #ffffff;
    --ren-muted: #6b7280;
    --ren-ink: #1f2937;
    --ren-border: #e6e8ef;
    --ren-soft: #f4f3f8;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ren-ink);
    background: #f6f6f8;
}
body.theme-dark {
    background: #0f1117;
    color: #e5e7eb;
}
body.theme-dark .renovar-header,
body.theme-dark .renovar-footer {
    background: #12141c;
    color: #e5e7eb;
    border-color: #232636;
}
body.theme-dark .logo-text {
    color: var(--ren-primary);
}
body.theme-dark .logo-mark {
    background: linear-gradient(135deg, var(--ren-primary), var(--ren-secondary));
    color: #ffffff;
}
body.theme-dark .nav-link {
    color: #a1a1b5;
}
body.theme-dark .nav-link.active,
body.theme-dark .nav-link:hover {
    color: #f5f3ff;
    background: color-mix(in srgb, var(--ren-primary) 16%, #0f1117);
}
body.theme-dark .nav-link.active {
    background: color-mix(in srgb, var(--ren-primary) 24%, #0f1117);
    box-shadow: inset 0 -2px 0 var(--ren-primary);
}
body.theme-dark .icon-button {
    background: #171a24;
    border-color: #2a2f43;
    color: #cbd5f5;
}
body.theme-dark .avatar-circle {
    background: var(--ren-primary);
}
body.theme-dark .renovar-layout {
    background: #0f1117;
}
body.theme-dark .wizard-title {
    color: #f8fafc;
}
body.theme-dark .wizard-subtitle {
    color: #b1b5c8;
}
body.theme-dark .custom-steps .ui-steps:before {
    background: #2a2f43;
}
body.theme-dark .custom-steps .ui-steps-number {
    background: #1a1d29 !important;
    color: #cbd5f5 !important;
    border-color: #2a2f43 !important;
    box-shadow: none !important;
}
body.theme-dark .custom-steps .ui-steps-item.ui-state-highlight .ui-steps-number {
    background: var(--ren-primary) !important;
    border-color: var(--ren-primary) !important;
}
body.theme-dark .custom-steps .ui-menuitem-text {
    color: #a1a1b5 !important;
}
body.theme-dark .vigencia-card {
    background: #161925;
    border-color: #2a2f43;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
    color: #e5e7eb;
}
body.theme-dark .plan-stat {
    background: #141826;
    border-color: #2a2f43;
}
body.theme-dark .plan-stat-icon {
    background: #0f1117;
    border-color: #2a2f43;
    color: #c4b5fd;
}
body.theme-dark .plan-stat-label {
    color: #a1a1b5;
}
body.theme-dark .plan-stat-value {
    color: #f3f4f6;
}
body.theme-dark .plan-card-subtitle {
    color: #9aa0b3;
}
body.theme-dark .vigencia-value {
    color: #f3f4f6;
}
body.theme-dark .vigencia-title {
    color: #f3f4f6;
}
body.theme-dark .plan-card-subtitle {
    color: #9aa0b3;
}
body.theme-dark .vigencia-meta {
    color: #b6bbcb;
}
body.theme-dark .vigencia-meta i {
    color: #c4b5fd;
}
body.theme-dark .vigencia-value {
    color: #f3f4f6;
}
body.theme-dark .vigencia-value span {
    color: #9aa0b3;
}
body.theme-dark .vigencia-card.selected {
    background: #1b1f2e;
    border-color: var(--ren-primary);
    box-shadow: 0 18px 36px rgba(124, 58, 237, .35);
}
body.theme-dark .vigencia-card.selected .vigencia-title,
body.theme-dark .vigencia-card.selected .plan-card-subtitle,
body.theme-dark .vigencia-card.selected .vigencia-meta,
body.theme-dark .vigencia-card.selected .vigencia-value,
body.theme-dark .vigencia-card.selected .vigencia-value span {
    color: #f3f4f6 !important;
}
body.theme-dark .plan-card-badge {
    color: #ffffff;
    background: var(--ren-primary);
}
body.theme-dark .plan-card-button.ui-button {
    background: #141826;
    border-color: var(--ren-primary);
    color: #c4b5fd;
}
body.theme-dark .plan-card-button.active-button.ui-button {
    background: var(--ren-primary);
    color: #fff;
}
body.theme-dark .renovar-plan-fieldset .ui-fieldset-content,
body.theme-dark .renovar-plan-fieldset .ui-fieldset {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}
body.theme-dark .renovar-plan-fieldset {
    background: transparent;
    border-color: transparent;
}
body.theme-dark .footer-desc,
body.theme-dark .footer-link,
body.theme-dark .footer-contact-line,
body.theme-dark .footer-bottom {
    color: #a1a1b5;
}
body.theme-dark .footer-title {
    color: #f3f4f6;
}
body.theme-dark .footer-bottom {
    border-color: #232636;
}
body.theme-dark .social-link {
    background: #171a24;
    border-color: #2a2f43;
    color: #cbd5f5;
}
body.theme-dark .ui-dialog {
    background: #161925;
    color: #e5e7eb;
    border: 1px solid #2a2f43;
}
body.theme-dark .ui-dialog .ui-dialog-titlebar {
    background: #1b1f2e;
    color: #f3f4f6;
    border-color: #2a2f43;
}
body.theme-dark .ui-dialog .ui-dialog-titlebar-close {
    color: #cbd5f5;
}
body.theme-dark .ui-dialog .ui-dialog-content {
    background: #161925;
    color: #e5e7eb;
}
body.theme-dark .ui-dialog .ui-dialog-buttonpane {
    background: #161925;
    border-color: #2a2f43;
}
body.theme-dark .ui-dialog .ui-button {
    background: var(--ren-primary);
    border-color: var(--ren-primary);
    color: #fff;
}
body.theme-dark .section-card {
    background: #161925;
    border-color: #2a2f43;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
}
body.theme-dark .section-card .ui-fieldset-legend,
body.theme-dark .section-card .ui-fieldset-legend-text,
body.theme-dark .section-card .ui-fieldset-legend a {
    background: #1a1d29;
    color: #e5e7eb;
    border-color: #2a2f43;
}
body.theme-dark .section-header {
    color: #e5e7eb;
}
body.theme-dark .section-header .icon {
    background: linear-gradient(135deg, var(--ren-secondary), var(--ren-primary));
    box-shadow: 0 10px 20px rgba(109, 40, 217, .35);
}
body.theme-dark .section-subtitle,
body.theme-dark .field-label,
body.theme-dark .method-label,
body.theme-dark .method-column-sub,
body.theme-dark .method-helper,
body.theme-dark .pasarela-summary-label,
body.theme-dark .pasarela-summary-item,
body.theme-dark .pasarela-summary-total {
    color: #a1a1b5;
}
body.theme-dark .input-modern .ui-inputtext,
body.theme-dark .input-modern .ui-inputtextarea,
body.theme-dark .input-modern .ui-selectonemenu {
    background: #121420 !important;
    border-color: var(--ren-primary) !important;
    color: #e5e7eb !important;
    box-shadow: none !important;
}
body.theme-dark .input-modern .ui-selectonemenu-label {
    color: #cbd5f5 !important;
}
body.theme-dark .input-modern .ui-selectonemenu-trigger {
    background: #121420 !important;
    border-color: var(--ren-primary) !important;
}
body.theme-dark .input-modern .ui-inputtext:focus,
body.theme-dark .input-modern .ui-inputtextarea:focus,
body.theme-dark .input-modern .ui-selectonemenu:focus,
body.theme-dark .input-modern .ui-state-focus {
    border-color: var(--ren-primary) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--ren-secondary) 25%, transparent) !important;
}
body.theme-dark .method-card {
    background: #171a24;
    border-color: #2a2f43;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .35);
}
body.theme-dark .method-card.active {
    border-color: var(--ren-primary);
    box-shadow: 0 14px 28px rgba(124, 58, 237, .35);
    background: #1b1f2e;
}
body.theme-dark .method-card-title {
    color: #f3f4f6;
}
body.theme-dark .method-card-desc {
    color: #b6bbcb;
}
body.theme-dark .method-card-logo {
    background: #0f1117;
    border-color: #2a2f43;
}
body.theme-dark .summary-card-title,
body.theme-dark .summary-card-sub,
body.theme-dark .summary-label,
body.theme-dark .summary-value,
body.theme-dark .summary-note {
    color: #e5e7eb;
}
body.theme-dark .summary-card .summary-label,
body.theme-dark .summary-card .summary-value {
    color: #e5e7eb !important;
}
body.theme-dark .summary-row {
    border-bottom-color: #2a2f43;
}
body.theme-dark .total-card {
    background: #1b1533;
    border-color: #3a2a66;
    box-shadow: 0 16px 30px rgba(76, 29, 149, .35);
}
body.theme-dark .total-label {
    color: #cbd5f5;
}
body.theme-dark .pasarela-summary-card,
body.theme-dark .pasarela-summary {
    background: #171a24;
    border-color: #2a2f43;
    box-shadow: none;
}
body.theme-dark .renovar-historial {
    background: #0f1117;
}
body.theme-dark .renovar-historial-header h2 {
    color: #f8fafc;
}
body.theme-dark .renovar-historial-header p {
    color: #a1a1b5;
}
body.theme-dark .renovar-btn-primary,
body.theme-dark .renovar-btn-export {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary)) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .35);
}
body.theme-dark .historial-summary .summary-card {
    background: #161925;
    border-color: #2a2f43;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
}
body.theme-dark .historial-summary .summary-balance {
    background: linear-gradient(135deg, var(--ren-primary), var(--ren-secondary));
    border-color: transparent;
}
body.theme-dark .historial-summary .summary-card:not(.summary-balance) .summary-sub {
    color: #a1a1b5;
}
body.theme-dark .historial-summary .summary-value,
body.theme-dark .historial-summary .summary-value-small {
    color: #f8fafc;
}
body.theme-dark .historial-summary .summary-card:not(.summary-balance) .summary-kicker {
    color: #cbd5f5;
}
body.theme-dark .historial-summary .summary-icon {
    background: #232637;
    color: #f59e0b;
}
body.theme-dark .historial-summary .summary-icon.success {
    background: #1f2e2a;
    color: #22c55e;
}
body.theme-dark .renovar-card {
    background: #161925;
    border-color: #2a2f43;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
}
body.theme-dark .renovar-card-header {
    background: #1b1f2e;
    border-color: #2a2f43;
}
body.theme-dark .renovar-card-title {
    color: #e5e7eb;
}
body.theme-dark .renovar-card-title i {
    color: #a1a1b5;
}
body.theme-dark .renovar-card-search {
    background: #121420;
    border-color: #2a2f43;
}
body.theme-dark .renovar-card-search i {
    color: #94a3b8;
}
body.theme-dark .renovar-card-input {
    color: #e5e7eb;
}
body.theme-dark .renovar-historial-table.ui-datatable {
    background: #161925;
    border-color: #2a2f43;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
}
body.theme-dark .renovar-historial-table.ui-datatable,
body.theme-dark .renovar-historial-table .ui-datatable-tablewrapper,
body.theme-dark .renovar-historial-table .ui-datatable-tablewrapper table,
body.theme-dark .renovar-historial-table table.ui-datatable-table {
    background: #161925 !important;
}
body.theme-dark .renovar-search {
    background: #121420;
    border-color: #2a2f43;
    color: #cbd5f5;
}
body.theme-dark .renovar-search span {
    color: #cbd5f5;
}
body.theme-dark .renovar-historial-table .ui-datatable-header,
body.theme-dark .renovar-historial-table .ui-datatable-footer {
    background: transparent;
}
body.theme-dark .renovar-historial-table .ui-datatable-thead > tr > th,
body.theme-dark .renovar-historial-table .ui-datatable-tablewrapper thead th,
body.theme-dark .renovar-historial-table table.ui-datatable-table thead th {
    background: #1b1f2e !important;
    color: #cbd5f5 !important;
    border-color: #2a2f43 !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
}
body.theme-dark .renovar-historial-table .ui-datatable-tablewrapper tbody,
body.theme-dark .renovar-historial-table table.ui-datatable-table tbody,
body.theme-dark .renovar-historial-table .ui-datatable-data {
    background: #161925 !important;
}
body.theme-dark .renovar-historial-table .ui-datatable-tbody > tr > td,
body.theme-dark .renovar-historial-table table.ui-datatable-table tbody td {
    color: #e5e7eb !important;
    border-color: #2a2f43 !important;
    background: #161925 !important;
}
body.theme-dark .renovar-historial-table .ui-datatable-data > tr,
body.theme-dark .renovar-historial-table .ui-datatable-data > tr > td,
body.theme-dark .renovar-historial-table table.ui-datatable-table tbody tr,
body.theme-dark .renovar-historial-table table.ui-datatable-table tbody tr > td {
    background: #161925 !important;
    color: #e5e7eb !important;
    border-color: #2a2f43 !important;
}
body.theme-dark .renovar-historial-table .ui-datatable-even,
body.theme-dark .renovar-historial-table .ui-datatable-odd {
    background: #161925 !important;
}
body.theme-dark .renovar-historial-table .ui-widget-content {
    background: #161925 !important;
    color: #e5e7eb !important;
    border-color: #2a2f43 !important;
}
body.theme-dark .renovar-historial-table .ui-datatable-tbody > tr:hover {
    background: #1a1d29 !important;
}
body.theme-dark .renovar-historial-table .ui-paginator {
    background: #161925;
    border-top-color: #2a2f43;
}
body.theme-dark .renovar-historial-table .ui-paginator .ui-paginator-page {
    color: #cbd5f5;
}
body.theme-dark .renovar-historial-table .ui-paginator .ui-paginator-page.ui-state-active {
    background: var(--ren-primary);
    border-color: var(--ren-primary);
    color: #ffffff;
}

.section-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.35rem 1.6rem;
    box-shadow: 0 10px 26px rgba(17, 24, 39, .06);
    margin: 0 auto 1.25rem;
    border: 1px solid #eceff5;
    width: 100%;
    max-width: 1180px;
    box-sizing: border-box;
}
#pay {
    display: none !important;
}
.section-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.2rem;
    color: #1f1b53;
}
.pasarela-header {
    justify-content: space-between;
    align-items: flex-start;
}
.section-header-title {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.section-subtitle {
    color: #6b7280;
    font-weight: 600;
    font-size: .9rem;
}
body .ui-fieldset {
  border: 1px solid #dee2e6;
  background: #f6f6f8;
  color: #495057;
  padding: 1rem;
  border-radius: 4px;
}
.section-header .icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ren-secondary), var(--ren-primary));
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(109, 40, 217, .25);
}
.section-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.form-grid-full {
    grid-column: 1 / -1;
}
.input-modern .ui-inputtext,
.input-modern .ui-inputtextarea,
.input-modern .ui-selectonemenu {
    width: 100% !important;
    border: 1px solid var(--ren-primary) !important;
    border-radius: 14px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9) !important;
    font-size: .95rem !important;
}
.input-modern .ui-selectonemenu-label {
    padding: .7rem 1rem !important;
    color: #334155 !important;
    font-weight: 600 !important;
}
.input-modern .ui-inputtext::placeholder,
.input-modern .ui-inputtextarea::placeholder {
    color: #94a3b8;
    font-weight: 600;
}
.input-modern .ui-inputtext:focus,
.input-modern .ui-inputtextarea:focus,
.input-modern .ui-selectonemenu:focus,
.input-modern .ui-state-focus {
    background: #ffffff !important;
    border-color: var(--ren-primary) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ren-secondary) 22%, transparent) !important;
}
.ui-inputtext.ui-state-error,
.ui-inputtextarea.ui-state-error,
.ui-selectonemenu.ui-state-error .ui-inputfield {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, .25) !important;
}
.ui-message-error {
    color: #b91c1c;
    font-weight: 700;
    margin-top: .25rem;
}
.field-label {
    font-size: .72rem;
    color: #64748b;
    margin-bottom: .35rem;
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.renovar-plan-fieldset .ui-fieldset-legend {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e1b4b;
}
.plan-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    width: 100%;
    justify-items: center;
}
.vigencia-card {
    border: 1px solid #eceff5;
    border-radius: 16px;
    padding: 1.15rem 1.2rem 1.25rem;
    background: #ffffff;
    min-height: 250px;
    box-shadow: 0 12px 26px rgba(17, 24, 39, .05);
    transition: all .25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #0f172a;
    width: 100%;
    max-width: 300px;
}
.vigencia-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
}
.vigencia-card.selected {
    border: 1px solid #eceff5;
    box-shadow: 0 12px 26px rgba(17, 24, 39, .05);
    background: #ffffff;
    color: #0f172a;
}
.plan-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .5rem;
}
.vigencia-title {
    font-size: .95rem;
    font-weight: 800;
    color: #1f2937;
    text-transform: uppercase;
    margin: 0;
}
.vigencia-card.selected .vigencia-title {
    color: #0b172a;
}
.plan-card-tag {
    display: none;
}
.plan-card-subtitle {
    font-size: .7rem;
    color: #9aa3b2;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .5rem;
}
.vigencia-card.selected .plan-card-subtitle,
.vigencia-card.selected .vigencia-meta,
.vigencia-card.selected .vigencia-value span {
    color: #6b7280;
}
.plan-stat-list {
    display: grid;
    gap: .75rem;
    margin: .75rem 0 1rem;
}
.plan-stat {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem .85rem;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
}
.plan-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: var(--ren-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}
.plan-stat-body {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.plan-stat-label {
    font-size: .65rem;
    letter-spacing: .08em;
    color: #9aa3b2;
    font-weight: 700;
}
.plan-stat-value {
    font-size: .9rem;
    color: #111827;
    font-weight: 700;
}
.vigencia-meta {
    color: #7a7a8c;
    margin-bottom: .35rem;
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .9rem;
}
.vigencia-meta i {
    color: var(--ren-primary);
}
.vigencia-card.selected .vigencia-meta i {
    color: #d6d4ff;
}
.vigencia-value {
    font-size: 2rem;
    font-weight: 900;
    color: #1f2937;
    margin: 1.1rem 0 .6rem 0;
    text-align: center;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .2rem;
}
.vigencia-card.selected .vigencia-value {
    color: #2f2f3b;
}
.vigencia-value .value-label {
    font-size: .85rem;
    color: #7a7a8c;
    font-weight: 600;
    display: block;
    margin-top: .2rem;
}
.vigencia-value .currency {
    font-size: 1.2rem;
    color: #94a3b8;
    font-weight: 800;
    display: inline;
}
.plan-card-button.ui-button {
    width: 100%;
    border-radius: 10px;
    border: none;
    color: #fff;
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary));
    font-weight: 800;
    transition: all .2s ease;
    padding: .75rem 1rem;
    box-shadow: 0 10px 20px rgba(124, 58, 237, .25);
}
.plan-card-button.ui-button:hover {
    box-shadow: 0 12px 24px rgba(108, 99, 255, .22);
}
.plan-card-button.active-button.ui-button {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary));
    color: #fff;
}
.plan-card-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: #6c63ff;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    padding: .25rem .75rem;
    border-radius: 999px;
    box-shadow: 0 6px 12px rgba(108, 99, 255, .25);
}

.renovar-layout {
    width: 100%;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    background: #f5f5f7;
    display: flex;
    justify-content: center;
}
.renovar-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1rem 4rem;
    box-sizing: border-box;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}
.renovar-content.renovar-content--mobile {
    padding: 0;
}
.renovar-section--mobile {
    margin-block-start: 0 !important;
    margin-block-end: 0;
    padding-top: 0 !important;
}
.renovar-historial {
    width: 100%;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--ren-primary) 10%, transparent), transparent 34%),
        radial-gradient(circle at top right, color-mix(in srgb, var(--ren-secondary) 12%, transparent), transparent 30%),
        linear-gradient(180deg, #f7f9fc 0%, #eef4fb 100%);
    padding: 2rem 0 2.5rem;
    position: relative;
}
.renovar-historial-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .42rem .75rem;
    border-radius: 999px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 12%, #ffffff),
        color-mix(in srgb, var(--ren-secondary) 14%, #ffffff));
    border: 1px solid color-mix(in srgb, var(--ren-primary) 14%, #dbe4f0);
    color: var(--ren-primary);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .8rem;
}
.renovar-historial-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    padding: 1.6rem 1.75rem;
    border-radius: 28px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 5%, #ffffff),
        color-mix(in srgb, var(--ren-secondary) 8%, #ffffff));
    border: 1px solid color-mix(in srgb, var(--ren-primary) 14%, #dde6f3);
    box-shadow: 0 24px 48px color-mix(in srgb, var(--ren-primary) 10%, rgba(15, 23, 42, .08));
    position: relative;
    overflow: hidden;
}
.renovar-historial-hero::before {
    content: "";
    position: absolute;
    right: -52px;
    top: -48px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle,
        color-mix(in srgb, var(--ren-secondary) 28%, transparent) 0%,
        transparent 68%);
    pointer-events: none;
}
.renovar-historial-hero::after {
    content: "";
    position: absolute;
    left: 32%;
    bottom: -76px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle,
        color-mix(in srgb, var(--ren-primary) 18%, transparent) 0%,
        transparent 70%);
    pointer-events: none;
}
.renovar-historial-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 0 1.75rem 0;
    flex-wrap: wrap;
}
.historial-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    margin-bottom: 1.75rem;
}
.historial-summary .summary-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid color-mix(in srgb, var(--ren-primary) 12%, #dde6f3);
    border-radius: 24px;
    padding: 1.35rem 1.45rem;
    box-shadow: 0 18px 34px rgba(15, 23, 42, .07);
    position: relative;
    overflow: hidden;
}
.historial-summary .summary-card::before {
    content: "";
    position: absolute;
    left: 1.35rem;
    top: 0;
    width: 76px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary));
}
.historial-summary .summary-balance {
    background: linear-gradient(135deg, var(--ren-primary), var(--ren-secondary));
    color: #ffffff;
    border: none;
    box-shadow: 0 24px 38px color-mix(in srgb, var(--ren-primary) 18%, rgba(15, 23, 42, .12));
}
.historial-summary .summary-balance::before {
    background: rgba(255, 255, 255, .58);
    width: 104px;
}
.historial-summary .summary-upcoming,
.historial-summary .summary-consumed {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--ren-primary) 3%, #ffffff) 0%,
        color-mix(in srgb, var(--ren-secondary) 4%, #ffffff) 100%);
}
.historial-summary .summary-upcoming .summary-value-small {
    color: var(--ren-primary);
}
.historial-summary .summary-consumed .summary-value-small {
    color: var(--ren-secondary);
}
.historial-summary .summary-balance .summary-kicker {
    color: rgba(255, 255, 255, .82);
}
.historial-summary .summary-balance .summary-value {
    color: #ffffff;
}
.historial-summary .summary-kicker {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: color-mix(in srgb, var(--ren-primary) 55%, #334155);
}
.historial-summary .summary-value {
    font-size: 2.15rem;
    font-weight: 900;
    margin: .45rem 0 .25rem;
    display: flex;
    align-items: baseline;
    gap: .25rem;
    color: #ffffff;
}
.historial-summary .summary-value-small {
    font-size: 1.55rem;
    font-weight: 800;
    margin: .45rem 0 .25rem;
    display: flex;
    align-items: baseline;
    gap: .3rem;
    color: #0f172a;
}
.historial-summary .summary-currency {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    opacity: .85;
}
.historial-summary .summary-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .6);
    display: inline-block;
    margin-right: .45rem;
}
.historial-summary .summary-sub {
    color: #cbd5f5;
    font-size: .87rem;
    display: flex;
    align-items: center;
    line-height: 1.45;
}
.historial-summary .summary-card:not(.summary-balance) .summary-sub {
    color: #64748b;
}
.historial-summary .summary-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 16%, #ffffff),
        color-mix(in srgb, var(--ren-secondary) 18%, #ffffff));
    color: var(--ren-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .7rem;
    box-shadow: 0 10px 20px color-mix(in srgb, var(--ren-primary) 12%, transparent);
}
.historial-summary .summary-icon.success {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-secondary) 18%, #ffffff),
        color-mix(in srgb, var(--ren-primary) 12%, #ffffff));
    color: var(--ren-secondary);
}
.historial-summary .accent-warn {
    color: var(--ren-primary);
}
.historial-summary .accent-ok {
    color: var(--ren-secondary);
}
.historial-summary .summary-balance .summary-sub {
    color: rgba(255, 255, 255, .85);
}
.historial-summary .summary-balance .currency {
    color: rgba(255, 255, 255, .85);
}
.historial-summary .summary-balance .summary-currency {
    color: rgba(255, 255, 255, .85);
}

@media (max-width: 1024px) {
    .historial-summary {
        grid-template-columns: 1fr;
    }
}
.renovar-historial-title h2 {
    margin: 0 0 .55rem 0;
    font-size: 2.1rem;
    color: #0f172a;
    font-weight: 900;
    line-height: 1.05;
}
.renovar-historial-title p {
    margin: 0;
    color: #516074;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 58ch;
}
.renovar-historial-actions {
    display: flex;
    align-items: center;
    gap: .9rem;
    justify-content: flex-end;
    margin-left: auto;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.renovar-search {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .9);
    border: 1px solid color-mix(in srgb, var(--ren-primary) 14%, #dbe4f0);
    border-radius: 14px;
    padding: .7rem .9rem;
    min-width: 240px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .06);
    backdrop-filter: blur(10px);
}
.renovar-search i {
    color: var(--ren-primary);
}
.renovar-search-date span {
    color: #1e293b;
    font-weight: 700;
}
.renovar-search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: .9rem;
    color: #374151;
    background: transparent;
}
.renovar-btn {
    border: 1px solid transparent;
    padding: .55rem 1.1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}
.renovar-btn-ghost {
    background: #ffffff;
    color: #374151;
    border-color: #e5e7eb;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .06);
}
.renovar-btn-primary {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary));
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}
.renovar-historial-actions .renovar-btn-primary {
    padding: .8rem 1.5rem;
    border-radius: 14px;
}
.renovar-btn-export {
    min-height: 42px;
    padding: .62rem 1.3rem;
    border-radius: 14px;
    background: var(--ren-primary) !important;
    color: #ffffff !important;
    border: 1px solid var(--ren-primary) !important;
    box-shadow: 0 16px 28px color-mix(in srgb, var(--ren-primary) 18%, transparent);
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.renovar-btn-export:hover,
.renovar-btn-export:focus,
.renovar-btn-export.ui-state-hover,
.renovar-btn-export.ui-state-focus {
    background: #ffffff !important;
    color: var(--ren-primary) !important;
    border-color: var(--ren-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 30px color-mix(in srgb, var(--ren-primary) 18%, transparent) !important;
}
.renovar-btn-export.ui-button .ui-button-text,
.renovar-btn-export.ui-button .ui-button-icon-left {
    color: #ffffff !important;
}
.renovar-btn-export:hover .ui-button-text,
.renovar-btn-export:focus .ui-button-text,
.renovar-btn-export.ui-state-hover .ui-button-text,
.renovar-btn-export.ui-state-focus .ui-button-text,
.renovar-btn-export:hover .ui-button-icon-left,
.renovar-btn-export:focus .ui-button-icon-left,
.renovar-btn-export.ui-state-hover .ui-button-icon-left,
.renovar-btn-export.ui-state-focus .ui-button-icon-left {
    color: var(--ren-primary) !important;
}
.renovar-btn-export .ui-button-text {
    line-height: 1.1;
}
.renovar-card {
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--ren-primary) 12%, #dfe7f1);
    border-radius: 24px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, .07);
    overflow: hidden;
}
.renovar-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid color-mix(in srgb, var(--ren-primary) 10%, #eef2f7);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 5%, #ffffff),
        color-mix(in srgb, var(--ren-secondary) 6%, #f8fafc));
}
.renovar-card-title {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    color: #0f172a;
}
.renovar-card-title i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ren-primary);
    background: color-mix(in srgb, var(--ren-primary) 10%, #ffffff);
}
.renovar-card-search {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--ren-primary) 14%, #dbe4f0);
    border-radius: 14px;
    padding: .55rem .8rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.renovar-card-search i {
    color: var(--ren-primary);
}
.renovar-card-search:focus-within {
    border-color: var(--ren-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ren-secondary) 18%, transparent);
}
.renovar-card-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: .88rem;
    color: #374151;
    min-width: 180px;
}
.renovar-card-input::placeholder {
    color: #94a3b8;
}
.renovar-historial-table.ui-datatable {
    border-radius: 0 0 24px 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: none;
}
.renovar-historial-table .ui-datatable-header {
    background: transparent;
    border: none;
}
.renovar-historial-table .ui-datatable-tablewrapper {
    background: #ffffff;
}
.renovar-historial-table .ui-datatable-thead > tr > th {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--ren-primary) 5%, #f8fafc),
        color-mix(in srgb, var(--ren-secondary) 7%, #f8fafc));
    color: #334155;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-color: color-mix(in srgb, var(--ren-primary) 10%, #eef2f7);
    padding: .95rem 1.2rem;
    text-align: left;
}
.renovar-historial-table .ui-datatable-tbody > tr > td {
    border-color: color-mix(in srgb, var(--ren-primary) 8%, #eef2f7);
    color: #1f2937;
    font-size: .88rem;
    padding: .95rem 1.2rem;
    vertical-align: middle;
    background: rgba(255, 255, 255, .9);
}
.renovar-historial-table .ui-datatable-tbody > tr:nth-child(even) > td {
    background: color-mix(in srgb, var(--ren-secondary) 2%, #ffffff);
}
.renovar-historial-table .ui-datatable-tbody > tr:hover {
    background: color-mix(in srgb, var(--ren-primary) 5%, #f8fafc);
}
.renovar-historial-table .ui-datatable-tbody > tr:hover > td {
    background: color-mix(in srgb, var(--ren-primary) 5%, #f8fafc);
}
.renovar-historial-table .ui-datatable-tbody > tr.ui-state-highlight > td,
.renovar-historial-table .ui-datatable-data > tr.ui-state-highlight > td {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 10%, #ffffff),
        color-mix(in srgb, var(--ren-secondary) 12%, #ffffff)) !important;
}
.renovar-historial-table .ui-paginator {
    background: #ffffff;
    border-top: 1px solid color-mix(in srgb, var(--ren-primary) 10%, #eef2f7);
    padding: .95rem 1.15rem;
}
.renovar-historial-table .ui-paginator .ui-paginator-page {
    border-radius: 10px;
    min-width: 34px;
    height: 34px;
    line-height: 34px;
    border: 1px solid transparent;
}
.renovar-historial-table .ui-paginator .ui-paginator-page.ui-state-active {
    background: linear-gradient(135deg, var(--ren-primary), var(--ren-secondary));
    border-color: transparent;
    color: #ffffff;
}
.renovar-disponibles {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-width: 4.3rem;
    padding: .42rem .82rem;
    border-radius: 999px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 4%, #ffffff),
        color-mix(in srgb, var(--ren-secondary) 7%, #ffffff));
    border: 1px solid color-mix(in srgb, var(--ren-primary) 10%, #eef2f7);
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 16px rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.renovar-disponibles-text {
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.renovar-historial-table .ui-datatable-tbody > tr:hover .renovar-disponibles {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 10px 18px rgba(15, 23, 42, .08);
}
.renovar-vigencia {
    display: grid;
    gap: .35rem;
    color: #64748b;
    font-size: .78rem;
}
.renovar-vigencia-item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    width: fit-content;
    padding: .22rem .48rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ren-primary) 4%, #f8fafc);
}
.renovar-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    display: inline-block;
}
.renovar-dot-ok {
    background: #22c55e;
}
.renovar-dot-bad {
    background: #ef4444;
}
.renovar-vigencia-sep {
    margin-left: .25rem;
}
.renovar-col-center {
    text-align: center;
}
.renovar-col-amount {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.estado-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: .35rem .8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .72rem;
    text-transform: capitalize;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}
.estado-pill.estado-aprobado,
.estado-pill.estado-aprobado-ant,
.estado-pill.estado-pagado {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 16%, #ffffff),
        color-mix(in srgb, var(--ren-secondary) 18%, #ffffff));
    color: var(--ren-primary);
    border: 1px solid color-mix(in srgb, var(--ren-primary) 18%, #e5e7eb);
}
.estado-pill.estado-pendiente,
.estado-pill.estado-pre-aprobado,
.estado-pill.estado-sin-factura {
    background: color-mix(in srgb, var(--ren-secondary) 16%, #ffffff);
    color: color-mix(in srgb, var(--ren-secondary) 58%, #5b21b6);
    border: 1px solid color-mix(in srgb, var(--ren-secondary) 22%, #e5e7eb);
}
.estado-pill.estado-no-aprobado,
.estado-pill.estado-no-pagado {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #fecaca;
}
.renovar-codigo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #374151;
    font-weight: 600;
}
.renovar-codigo i {
    color: #9ca3af;
    font-size: .9rem;
}
.col-codigo,
.col-codigo-pas {
    white-space: nowrap;
}
.col-codigo {
    min-width: 140px;
}
.col-codigo-pas {
    min-width: 0;
    width: auto;
}
.col-vigencia {
    min-width: 0;
    width: auto;
}
.col-planes {
    min-width: 0;
    width: auto;
}
.col-dias {
    min-width: 0;
    width: auto;
}
.col-total,
.col-usados,
.col-disponibles {
    min-width: 0;
    width: auto;
}
.col-estado {
    min-width: 0;
    width: auto;
}
.renovar-historial-table .ui-paginator {
    background: #ffffff;
    border-color: color-mix(in srgb, var(--ren-primary) 10%, #eef2f7);
    padding: .95rem 1.15rem;
}
.renovar-historial-table .ui-paginator .ui-paginator-page.ui-state-active {
    background: linear-gradient(135deg, var(--ren-primary), var(--ren-secondary));
    color: #ffffff;
    border-radius: 10px;
    border-color: transparent;
}
.renovar-historial-table .ui-paginator .ui-paginator-page {
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .renovar-historial-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .renovar-historial-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .renovar-search-date,
    .renovar-btn-export {
        width: 100%;
    }
}

body.theme-dark .renovar-historial {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--ren-primary) 14%, transparent), transparent 34%),
        radial-gradient(circle at top right, color-mix(in srgb, var(--ren-secondary) 16%, transparent), transparent 30%),
        linear-gradient(180deg, #0f1117 0%, #121621 100%);
}
body.theme-dark .renovar-historial-hero {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 8%, #161925),
        color-mix(in srgb, var(--ren-secondary) 10%, #11141d));
    border-color: color-mix(in srgb, var(--ren-primary) 18%, #2a2f43);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .36);
}
body.theme-dark .renovar-historial-kicker {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 18%, #161925),
        color-mix(in srgb, var(--ren-secondary) 16%, #161925));
    border-color: color-mix(in srgb, var(--ren-primary) 24%, #2a2f43);
    color: #f3f4f6;
}
body.theme-dark .renovar-historial-title h2 {
    color: #f8fafc;
}
body.theme-dark .renovar-historial-title p {
    color: #c3cad7;
}
body.theme-dark .renovar-search {
    background: rgba(18, 20, 32, .92);
    border-color: color-mix(in srgb, var(--ren-primary) 18%, #2a2f43);
    box-shadow: none;
}
body.theme-dark .renovar-search-date span {
    color: #eef2ff;
}
body.theme-dark .renovar-btn-export {
    background: var(--ren-primary) !important;
    color: #ffffff !important;
    border-color: var(--ren-primary) !important;
}
body.theme-dark .renovar-btn-export:hover,
body.theme-dark .renovar-btn-export:focus,
body.theme-dark .renovar-btn-export.ui-state-hover,
body.theme-dark .renovar-btn-export.ui-state-focus {
    background: #ffffff !important;
    color: var(--ren-primary) !important;
    border-color: var(--ren-primary) !important;
}
body.theme-dark .historial-summary .summary-card {
    background: linear-gradient(180deg, #161925 0%, #121621 100%);
    border-color: color-mix(in srgb, var(--ren-primary) 18%, #2a2f43);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .34);
}
body.theme-dark .historial-summary .summary-card::before {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary));
}
body.theme-dark .historial-summary .summary-balance {
    background: linear-gradient(135deg, var(--ren-primary), var(--ren-secondary));
}
body.theme-dark .historial-summary .summary-balance .summary-kicker,
body.theme-dark .historial-summary .summary-balance .summary-value,
body.theme-dark .historial-summary .summary-balance .summary-sub,
body.theme-dark .historial-summary .summary-balance .summary-currency {
    color: #ffffff;
}
body.theme-dark .historial-summary .summary-kicker {
    color: #d7def0;
}
body.theme-dark .historial-summary .summary-value-small {
    color: #f8fafc;
}
body.theme-dark .historial-summary .summary-card:not(.summary-balance) .summary-sub {
    color: #aeb7ca;
}
body.theme-dark .historial-summary .summary-icon {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 18%, #1b1f2e),
        color-mix(in srgb, var(--ren-secondary) 18%, #1b1f2e));
    color: #ffffff;
}
body.theme-dark .historial-summary .summary-icon.success {
    color: #ffffff;
}
body.theme-dark .renovar-card {
    background: #161925;
    border-color: color-mix(in srgb, var(--ren-primary) 18%, #2a2f43);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .34);
}
body.theme-dark .renovar-card-header {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 10%, #1b1f2e),
        color-mix(in srgb, var(--ren-secondary) 10%, #1b1f2e));
    border-color: color-mix(in srgb, var(--ren-primary) 16%, #2a2f43);
}
body.theme-dark .renovar-card-title i {
    background: color-mix(in srgb, var(--ren-primary) 18%, #1b1f2e);
    color: #ffffff;
}
body.theme-dark .renovar-card-search {
    background: #121420;
    border-color: color-mix(in srgb, var(--ren-primary) 20%, #2a2f43);
}
body.theme-dark .renovar-card-search:focus-within {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ren-secondary) 18%, transparent);
}
body.theme-dark .renovar-historial-table .ui-datatable-thead > tr > th,
body.theme-dark .renovar-historial-table .ui-datatable-tablewrapper thead th,
body.theme-dark .renovar-historial-table table.ui-datatable-table thead th {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--ren-primary) 12%, #1b1f2e),
        color-mix(in srgb, var(--ren-secondary) 10%, #1b1f2e)) !important;
    border-color: color-mix(in srgb, var(--ren-primary) 16%, #2a2f43) !important;
}
body.theme-dark .renovar-historial-table .ui-datatable-tbody > tr:hover > td {
    background: color-mix(in srgb, var(--ren-primary) 8%, #1a1d29) !important;
}
body.theme-dark .renovar-historial-table .ui-datatable-tbody > tr.ui-state-highlight > td,
body.theme-dark .renovar-historial-table .ui-datatable-data > tr.ui-state-highlight > td {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 18%, #1b1f2e),
        color-mix(in srgb, var(--ren-secondary) 16%, #1b1f2e)) !important;
}
.renovar-header {
    width: 100%;
    background: #ffffff;
    color: #1e3a8a;
    padding: .9rem 3vw;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--ren-border);
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.header-logo {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 900;
    letter-spacing: .01em;
    flex: 1 1 auto;
    min-width: 0;
}
.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ren-primary), var(--ren-secondary));
    color: #ffffff;
    font-size: .95rem;
}
.logo-text {
    font-size: .95rem;
    line-height: 1.15;
    color: var(--ren-primary);
    display: inline-block;
    max-width: min(42vw, 420px);
    white-space: normal;
    word-break: break-word;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.nav-inline {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 700;
    font-size: .95rem;
    padding: .35rem .65rem .2rem;
    border-radius: 10px;
    transition: all .2s ease;
}
.nav-link:hover {
    color: var(--ren-primary);
    background: color-mix(in srgb, var(--ren-primary) 10%, #ffffff);
}
.nav-link.active {
    color: var(--ren-primary);
    background: color-mix(in srgb, var(--ren-primary) 14%, #ffffff);
    border-bottom: 2px solid var(--ren-primary);
    border-radius: 10px;
    box-shadow: inset 0 -2px 0 var(--ren-primary);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: .8rem;
}
.icon-button {
    border: 1px solid var(--ren-border);
    background: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(15, 23, 42, .06);
}
.avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ren-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    box-shadow: 0 8px 16px rgba(125, 24, 245, .25);
    text-decoration: none;
}
.avatar-circle i {
    color: #ffffff;
}
.avatar-circle--trigger {
    cursor: pointer;
}
.profile-overlay-panel.ui-overlaypanel {
    border: none;
    border-radius: 30px;
    box-shadow: 0 24px 46px rgba(15, 23, 42, .16);
    overflow: visible;
    margin-top: .7rem;
}
.profile-overlay-panel.ui-overlaypanel .ui-overlaypanel-content {
    padding: 0;
    border-radius: 30px;
    overflow: hidden;
}
.profile-card {
    width: min(360px, calc(100vw - 1rem));
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.profile-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border: 4px solid #ffffff;
    color: var(--ren-primary);
    font-size: 1.3rem;
    box-shadow: 0 14px 28px color-mix(in srgb, var(--ren-primary) 18%, transparent);
    position: relative;
}
.profile-card__avatar::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    right: 7px;
    bottom: 8px;
    background: color-mix(in srgb, var(--ren-secondary) 72%, #10b981);
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ren-secondary) 14%, transparent);
}
.profile-card--panel {
    position: relative;
    overflow: hidden;
}
.profile-card__banner {
    height: 96px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, #ffffff 24%, transparent), transparent 38%),
        linear-gradient(135deg,
            color-mix(in srgb, var(--ren-primary) 80%, #ffffff),
            color-mix(in srgb, var(--ren-secondary) 78%, #ffffff));
}
.profile-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85rem;
    padding: 0 1rem 1rem;
    margin-top: -31px;
}
.profile-card__avatar-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}
.profile-card__avatar--floating {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}
.profile-card__id-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .44rem .95rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ren-primary) 7%, #f7f9fe);
    border: 1px solid color-mix(in srgb, var(--ren-primary) 11%, #dbe4ef);
    color: color-mix(in srgb, var(--ren-primary) 72%, #64748b);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-align: center;
}
.profile-card__title {
    max-width: 100%;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 900;
    text-transform: uppercase;
    color: #183153;
    word-break: break-word;
}
.profile-card__subtitle {
    max-width: 100%;
    text-align: center;
    font-size: .92rem;
    line-height: 1.4;
    color: color-mix(in srgb, var(--ren-primary) 72%, #64748b);
    font-weight: 700;
    word-break: break-word;
}
.profile-card__account-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .82rem .95rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #f7f9fd 0%, #eef3fa 100%);
    border: 1px solid color-mix(in srgb, var(--ren-primary) 10%, #d8e3f0);
    color: #8191aa;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.profile-card__account-label {
    font-size: .88rem;
    font-weight: 800;
}
.profile-card__account-value {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--ren-primary);
}
.profile-card__stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .78rem;
}
.profile-card__info-row {
    display: flex;
    align-items: center;
    gap: .86rem;
    padding: .95rem .92rem;
    border-radius: 19px;
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--ren-primary) 10%, #dfe8f3);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}
.profile-card__info-row--identity {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--ren-primary) 2.5%, #ffffff),
        #ffffff);
}
.profile-card__info-row--address {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--ren-secondary) 3%, #ffffff),
        #ffffff);
}
.profile-card__info-row--contact {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--ren-primary) 2%, #ffffff),
        color-mix(in srgb, var(--ren-secondary) 2%, #ffffff));
}
.profile-card__info-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}
.profile-card__info-icon--primary {
    background: color-mix(in srgb, var(--ren-primary) 8%, #f3f6ff);
    color: color-mix(in srgb, var(--ren-primary) 76%, #64748b);
}
.profile-card__info-icon--secondary {
    background: color-mix(in srgb, var(--ren-secondary) 9%, #f2fbf7);
    color: color-mix(in srgb, var(--ren-secondary) 66%, #0f766e);
}
.profile-card__info-icon--soft {
    background: color-mix(in srgb, var(--ren-primary) 6%, #fff7f5);
    color: color-mix(in srgb, var(--ren-primary) 58%, var(--ren-secondary));
}
.profile-card__info-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .16rem;
    flex: 1 1 auto;
}
.profile-card__info-title {
    font-size: .79rem;
    line-height: 1.2;
    color: #314365;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.profile-card__info-text {
    font-size: .89rem;
    line-height: 1.35;
    color: #5f7190;
    font-weight: 700;
    word-break: break-word;
}
.profile-card__info-subtext {
    font-size: .8rem;
    line-height: 1.3;
    color: #8a99b0;
    font-weight: 700;
    word-break: break-word;
}
.profile-card__row-arrow {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ren-primary) 5%, #ffffff);
    color: color-mix(in srgb, var(--ren-primary) 56%, #94a3b8);
    font-size: .98rem;
}
.profile-card__footer {
    width: 100%;
    margin-top: .1rem;
    padding-top: .95rem;
    border-top: 1px solid color-mix(in srgb, var(--ren-primary) 10%, #dfe8f3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
}
.profile-card__footer-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .18rem;
}
.profile-card__footer-brand {
    color: #93a2ba;
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.profile-card__footer-note {
    color: #a6b3c7;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .03em;
}
.profile-card__help-link {
    color: var(--ren-primary);
    font-size: .88rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.profile-card__help-link:hover,
.profile-card__help-link:focus {
    color: var(--ren-secondary);
    text-decoration: none;
}
.renovar-footer {
    width: 100%;
    background: #ffffff;
    color: #1f2937;
    padding: 2.4rem 3vw 1.5rem;
    box-sizing: border-box;
    border-top: 1px solid var(--ren-border);
}
.footer-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(0, 2fr);
    gap: 2rem;
    font-size: .9rem;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 800;
    color: var(--ren-primary);
    letter-spacing: .01em;
}
.footer-desc {
    margin: 0;
    color: #6b7280;
    line-height: 1.5;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.footer-column {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.footer-title {
    font-weight: 800;
    color: #111827;
}
.footer-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 600;
}
.footer-link:hover {
    color: var(--ren-primary);
}
.footer-contact-line {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #6b7280;
    font-weight: 600;
}
.footer-bottom {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.2rem;
    border-top: 1px solid #f0f1f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #8b8ca3;
    font-size: .85rem;
    flex-wrap: wrap;
}
.footer-social {
    display: flex;
    align-items: center;
    gap: .6rem;
}
.social-link {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--ren-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    background: #fff;
}
.renovar-layout .ui-fieldset {
    width: 100% !important;
    max-width: 100% !important;
}
.wizard-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    text-align: center;
}
.wizard-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #1a1c2e;
    margin: 0;
    font-family: "Playfair Display", "Times New Roman", serif;
}
.wizard-title-accent {
    color: var(--ren-primary);
    font-weight: 800;
}
.wizard-subtitle {
    color: #636a7c;
    margin-top: .35rem;
    font-size: 1rem;
}
.custom-steps {
    max-width: 520px;
    margin: 0 auto 2rem auto;
}
.custom-steps .ui-steps {
    border: none;
    padding-bottom: .1rem;
    margin-bottom: .5rem;
    position: relative;
    overflow-x: auto;
    scrollbar-width: thin;
}
.custom-steps .ui-steps:before {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    top: 18px;
    height: 2px;
    background: #d8dde6;
    z-index: 0;
}
.custom-steps .ui-steps-item {
    width: 50%;
    position: relative;
    z-index: 1;
}
.custom-steps .ui-menuitem-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    padding: .25rem 0;
}
.custom-steps .ui-steps-number {
    width: 34px !important;
    height: 34px !important;
    line-height: 30px !important;
    border: 2px solid #dcdcf5 !important;
    border-radius: 50% !important;
    background: #f6f7ff !important;
    color: #6a6c84 !important;
    font-weight: 700 !important;
    transition: all .2s ease;
    box-shadow: 0 5px 12px rgba(26, 26, 67, .08) !important;
}
.custom-steps .ui-steps-item.ui-state-highlight .ui-steps-number {
    border-color: var(--ren-primary) !important;
    background: var(--ren-primary) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(108, 99, 255, .35) !important;
}
.custom-steps .ui-menuitem-text {
    color: #7a7a8c !important;
    font-weight: 600 !important;
    font-size: .95rem !important;
    transition: color .2s ease;
}
.custom-steps .ui-steps-item.ui-state-highlight .ui-menuitem-text {
    color: #201c4f !important;
    font-weight: 700 !important;
}
.custom-steps .ui-steps-item:not(.ui-state-highlight) .ui-menuitem-text {
    opacity: .6;
}
@media (max-width: 960px) {
    .header-nav {
        display: none;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 640px) {
    .renovar-content {
        padding: 6.5rem 5vw 4rem;
    }
    .footer-columns {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.method-wrapper {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: .3rem;
}
.method-label {
    color: #6b7280;
    font-weight: 600;
    margin-left: .15rem;
}
.pasarela-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
    gap: 1.1rem;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}
.method-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.method-column-header {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.method-column-title {
    font-weight: 800;
    color: #1f1b53;
}
.method-column-sub {
    color: #6b7280;
    font-size: .9rem;
}
.method-cards {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}
.method-cards label {
    margin: 0;
}
.method-card {
    position: relative;
    border: 1px solid #e0e7ff;
    border-radius: 14px;
    padding: 1rem 1rem 1rem 4.4rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .04);
    transition: all .15s ease;
    cursor: pointer;
    min-height: 120px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.method-card:hover {
    border-color: var(--ren-primary);
    box-shadow: 0 12px 28px rgba(124, 58, 237, .18);
    transform: translateY(-2px);
}
.method-card.active {
    border-color: var(--ren-primary);
    box-shadow: 0 14px 32px rgba(109, 40, 217, .2);
    background: #fff;
}
.method-card .check-mark {
    position: absolute;
    top: .7rem;
    right: .8rem;
    color: var(--ren-primary);
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity .2s ease;
}
.method-card.active .check-mark {
    opacity: 1;
}
.method-card-logo {
    position: absolute;
    left: 1rem;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .06);
}
.method-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.method-initial {
    font-weight: 800;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: .04em;
    display: none;
}
.method-card .method-card-content {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.method-card-title {
    font-weight: 800;
    color: #1f1b53;
    font-size: .98rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.method-card-sub {
    color: #4b5563;
    font-size: .86rem;
    line-height: 1.4;
}
.hidden-radio,
.hidden-radio .ui-radiobutton-box {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.hidden-radio .ui-radiobutton-box {
    width: 100% !important;
    height: 100% !important;
}
.payment-info-box {
    background: #fff;
    border-radius: 14px;
    padding: 1.2rem 1.2rem 1rem;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    height: 100%;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.info-row {
    display: flex;
    justify-content: space-between;
    padding: .6rem 0;
    border-bottom: 1px dashed #e5e7eb;
    font-weight: 600;
}
.info-row:last-child {
    border-bottom: none;
}
.info-name {
    color: #6b7280;
}
.info-value {
    color: #111827;
}
.payment-total {
    background: #f5f1ff;
    border: 1px solid #e0d5ff;
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 12px 26px rgba(109, 40, 217, .14);
    min-height: 200px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    height: 100%;
}

.payment-summary-bottom {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 1.5rem;
    padding: 0 .75rem;
    box-sizing: border-box;
}
.total-label {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
    color: #6b7280;
    font-weight: 800;
}
.total-amount {
    font-size: 2.6rem;
    color: var(--ren-primary);
    font-weight: 900;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: .2rem;
    justify-content: center;
    width: 100%;
}
.subtext {
    color: #6b7280;
    font-size: .9rem;
    margin-top: .15rem;
    text-align: center;
    width: 100%;
}
.summary-column {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}
.free-confirm {
    grid-column: 1 / -1;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.free-confirm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e4e7ec;
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.free-confirm-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #1f1b53;
}
.free-confirm-icon {
    color: var(--ren-primary);
}
.free-confirm-sub {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.free-confirm .free-confirm-body {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.free-confirm .free-plan-card,
.free-confirm .free-register-card {
    background: #ffffff;
    border: 1px solid #e4e6f3;
    border-radius: 12px;
    padding: 16px;
}
.free-confirm .free-plan-card {
    background: #f7f1ff;
    border-color: #e6d7ff;
}
.free-plan-title {
    font-weight: 800;
    color: var(--ren-primary);
    margin-bottom: 6px;
}
.free-plan-desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}
.free-confirm .free-plan-list {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: #374151;
}
.free-confirm .free-plan-list li::before {
    content: "✓";
    color: #22c55e;
    font-weight: 700;
    margin-right: 8px;
}
.free-register-title {
    font-weight: 800;
    color: #1f1b53;
    margin-bottom: 4px;
}
.free-register-desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}
.free-confirm .free-terms {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    color: #6b7280;
    font-size: 13px;
}
.free-confirm .checkout-btn {
    width: 100%;
}
@media (max-width: 1024px) {
    .free-confirm .free-confirm-body {
        grid-template-columns: 1fr;
    }
}
.summary-card {
    border: 1px solid #e4e6f3;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    padding: 0;
    overflow: hidden;
}
.summary-card-header {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1rem 1.1rem .9rem;
    background: linear-gradient(135deg, var(--ren-primary), var(--ren-secondary));
}
.summary-card-title {
    font-weight: 800;
    color: #ffffff;
    font-size: 1rem;
}
.summary-card-help {
    color: rgba(255, 255, 255, .8);
    font-size: .78rem;
    font-weight: 600;
}
.summary-card-sub {
    color: #6b7280;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .4rem;
    padding: 0 1.1rem;
}
.summary-divider {
    height: 1px;
    background: #e6edf5;
    margin: .7rem 0 .5rem;
    margin-left: 1.1rem;
    margin-right: 1.1rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: .55rem 0;
    border-bottom: 1px dashed #e5e7eb;
    margin: 0 1.1rem;
}
.summary-row:last-child {
    border-bottom: none;
}
.summary-label {
    color: #6b7280;
    font-weight: 600;
}
.summary-value {
    color: #111827;
    font-weight: 800;
}
.summary-note {
    display: block;
    margin: -.25rem 0 .75rem;
    color: #6b7280;
    font-size: .85rem;
    padding: 0 1.1rem;
}
.total-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    text-align: center;
    background: #f7f2ff;
    border: 1px solid #e3d8ff;
    box-shadow: 0 16px 30px rgba(109, 40, 217, .12);
    padding: 1.2rem 1.1rem 1.1rem;
}
.btn-primary-modern {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary)) !important;
    border: 1px solid transparent !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: .9rem 1rem !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .2) !important;
    width: 100%;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn-primary-modern.ui-button,
.btn-primary-modern.ui-button .ui-button-text,
.btn-primary-modern.ui-button .ui-button-icon-left,
.btn-primary-modern.ui-button .ui-button-icon-right {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary)) !important;
    color: #fff !important;
}

.btn-primary-modern.ui-button:hover,
.btn-primary-modern.ui-button:focus {
    background: #fff !important;
    border-color: var(--ren-primary) !important;
    color: var(--ren-primary) !important;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--ren-primary) 18%, transparent) !important;
    transform: translateY(-1px);
}
.btn-primary-modern.ui-button:hover .ui-button-text,
.btn-primary-modern.ui-button:focus .ui-button-text,
.btn-primary-modern.ui-button:hover .ui-button-icon-left,
.btn-primary-modern.ui-button:focus .ui-button-icon-left,
.btn-primary-modern.ui-button:hover .ui-button-icon-right,
.btn-primary-modern.ui-button:focus .ui-button-icon-right {
    background: transparent !important;
    color: var(--ren-primary) !important;
}
.btn-primary-modern.ui-button:active {
    transform: translateY(0);
}
.checkout-btn {
    margin-top: .6rem;
}
.total-label {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
    color: #6b7280;
    font-weight: 800;
}
.total-amount {
    font-size: 2.45rem;
    color: var(--ren-primary);
    font-weight: 900;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: .25rem;
}
.total-help {
    color: #7c3aed;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.currency {
    font-size: 1.2rem;
    color: #6b7280;
}
.total-method {
    color: #6b7280;
    font-size: .9rem;
}
.terms-row {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    margin-top: .2rem;
    font-size: .95rem;
    line-height: 1.35;
}
.terms-row .ui-chkbox {
    margin-right: .25rem;
    flex: 0 0 auto;
    margin-top: .15rem;
}
.terms-row .clicAqui {
    font-size: .95rem;
}
.terms-stack {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    align-items: flex-start;
    width: 100%;
    margin-bottom: .75rem;
}
.terms-grid {
    width: 100%;
}
.terms-label {
    color: #334155;
    font-weight: 700;
    font-size: .95rem;
}
.terms-grid .terms-row {
    margin-top: 0;
}


@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pasarela-grid {
        grid-template-columns: 1fr;
        gap: .85rem;
    }
    .renovar-content {
        padding: 6rem 2rem 3.5rem;
    }
}

@media (max-width: 900px) {
    .renovar-content {
        padding: 6rem 1.5rem 3rem;
    }
}

@media (max-width: 720px) {
    .section-card {
        padding: 1rem 1.25rem;
        border-radius: 12px;
    }
    .renovar-content {
        padding: 2.25rem 1rem 2.5rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .method-card {
        padding: .85rem .85rem .85rem 3.5rem;
        min-height: 100px;
    }
    .method-card-logo {
        width: 44px;
        height: 44px;
    }
    .payment-info-box,
    .payment-total {
        min-height: auto;
    }
    .total-amount {
        font-size: 2.2rem;
    }
}

/* Éxito */
.exito-shell {
    max-width: 880px;
    margin: 2.5rem auto 3rem;
    padding: 0 1.25rem;
}
.exito-main-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid color-mix(in srgb, var(--ren-primary) 12%, #e6edf5);
    box-shadow: 0 20px 40px color-mix(in srgb, var(--ren-primary) 12%, rgba(15, 23, 42, .08));
    padding: 2.2rem 2.5rem 2rem;
}
.exito-status {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
}
.exito-status-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--ren-primary) 14%, #ffffff),
            color-mix(in srgb, var(--ren-secondary) 22%, #ffffff));
    color: var(--ren-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--ren-primary) 18%, transparent);
}
.exito-status-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111827;
    margin: .2rem 0 0;
}
.exito-status-subtitle {
    color: #6b7280;
    font-weight: 600;
    margin: 0;
}
.exito-divider-line {
    height: 1px;
    background: color-mix(in srgb, var(--ren-primary) 10%, #eef2f7);
    margin: 1.6rem 0 1.4rem;
}
.exito-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
}
.exito-col-title {
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--ren-primary) 35%, #94a3b8);
    font-weight: 800;
    margin-bottom: .85rem;
}
.exito-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: .35rem 0;
    gap: 1rem;
}
.exito-row-label {
    color: #6b7280;
    font-weight: 600;
    font-size: .92rem;
}
.exito-row-value {
    color: #111827;
    font-weight: 800;
}
.exito-row-value.strong {
    letter-spacing: .03em;
}
.exito-pill {
    background: color-mix(in srgb, var(--ren-primary) 10%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--ren-primary) 16%, #ffffff);
    color: var(--ren-primary);
    font-weight: 800;
    padding: .25rem .7rem;
    border-radius: 999px;
    font-size: .75rem;
}
.exito-note {
    margin-top: .85rem;
    font-size: .85rem;
    color: #64748b;
    font-style: italic;
    line-height: 1.45;
}
.exito-total {
    margin-top: 1rem;
    text-align: right;
    padding: .9rem 1rem;
    border-radius: 16px;
    background: color-mix(in srgb, var(--ren-primary) 5%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--ren-primary) 12%, #e5e7eb);
}
.exito-total-label {
    display: block;
    color: color-mix(in srgb, var(--ren-primary) 30%, #94a3b8);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
    margin-bottom: .25rem;
}
.exito-total-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--ren-primary);
}
.exito-moodle-block {
    padding: .25rem;
}
.exito-moodle-header {
    margin-bottom: 1rem;
}
.exito-moodle-title {
    margin: .15rem 0 .25rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
}
.exito-moodle-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: .92rem;
}
.exito-moodle-dialog.ui-dialog {
    width: 1050px !important;
    max-width: calc(100vw - 48px);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .22);
}
.exito-moodle-dialog .ui-dialog-titlebar {
    background: #ffffff;
    border: 0;
    padding: 1rem 1.25rem 0 1.25rem;
}
.exito-moodle-dialog .ui-dialog-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
    background: #ffffff;
}
.exito-moodle-table .ui-datatable-tablewrapper {
    border: 1px solid color-mix(in srgb, var(--ren-primary) 12%, #e5e7eb);
    border-radius: 18px;
    overflow: hidden;
}
.exito-moodle-table table {
    width: 100%;
    table-layout: fixed;
}
.exito-moodle-table table thead th {
    background: color-mix(in srgb, var(--ren-primary) 7%, #ffffff) !important;
    color: #475569 !important;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.exito-moodle-table table tbody td {
    vertical-align: top;
    overflow: hidden;
}
.exito-moodle-course {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}
.exito-moodle-course strong {
    color: #111827;
    font-size: .92rem;
}
.exito-moodle-course span {
    color: var(--ren-primary);
    font-weight: 700;
    font-size: .8rem;
}
.exito-moodle-course small {
    color: #6b7280;
    line-height: 1.4;
}
.exito-moodle-input {
    width: 100%;
}
.exito-moodle-input.ui-inputfield,
.exito-moodle-table .ui-inputfield {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.exito-moodle-dialog input.ui-inputfield.ui-state-error,
.exito-moodle-dialog .ui-inputfield.ui-state-error,
.exito-moodle-dialog .ui-state-error {
    border: 2px solid #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .14) !important;
}
.exito-moodle-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .22rem .6rem;
    font-size: .72rem;
    font-weight: 800;
}
.exito-moodle-status.status-ok {
    background: #dcfce7;
    color: #166534;
}
.exito-moodle-status.status-error {
    background: #fee2e2;
    color: #991b1b;
}
.exito-moodle-status.status-draft {
    background: #ede9fe;
    color: #6d28d9;
}
.exito-moodle-error {
    display: block;
    margin-top: .35rem;
    color: #b91c1c;
    font-size: .74rem;
    line-height: 1.35;
}
.exito-moodle-actions {
    display: flex;
    justify-content: flex-end;
    gap: .9rem;
    margin-top: 1rem;
}
.exito-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .9rem;
    margin-top: 1.8rem;
}
.btn-exito-primary {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary)) !important;
    border: 1px solid transparent !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: .9rem 1.5rem !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--ren-primary) 24%, transparent) !important;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-exito-secondary {
    background: color-mix(in srgb, var(--ren-primary) 8%, #ffffff) !important;
    color: var(--ren-primary) !important;
    border-radius: 12px !important;
    padding: .9rem 1.5rem !important;
    font-weight: 800 !important;
    border: 1px solid color-mix(in srgb, var(--ren-primary) 18%, #e5e7eb) !important;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-exito-primary:hover,
.btn-exito-primary:focus,
.btn-exito-secondary:hover,
.btn-exito-secondary:focus {
    background: #ffffff !important;
    border-color: var(--ren-primary) !important;
    color: var(--ren-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--ren-primary) 18%, transparent) !important;
}
.btn-exito-primary .ui-button-icon-left,
.btn-exito-secondary .ui-button-icon-left,
.btn-exito-primary .ui-button-text,
.btn-exito-secondary .ui-button-text {
    color: inherit !important;
}
.btn-exito-primary:active,
.btn-exito-secondary:active {
    transform: translateY(0);
}
.exito-footer-note {
    text-align: center;
    margin-top: 1.4rem;
    color: color-mix(in srgb, var(--ren-primary) 30%, #94a3b8);
    font-size: .78rem;
}

@media (max-width: 900px) {
    .exito-columns {
        grid-template-columns: 1fr;
    }
    .exito-actions {
        grid-template-columns: 1fr;
    }
    .exito-main-card {
        padding: 1.8rem 1.5rem 1.6rem;
    }
}

body.theme-dark .exito-main-card {
    background: #161925;
    border-color: #2a2f43;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .35);
}
body.theme-dark .exito-status-title {
    color: #f3f4f6;
}
body.theme-dark .exito-status-subtitle,
body.theme-dark .exito-row-label,
body.theme-dark .exito-note,
body.theme-dark .exito-total-label,
body.theme-dark .exito-footer-note,
body.theme-dark .exito-col-title {
    color: #a1a1b5;
}
body.theme-dark .exito-row-value {
    color: #f3f4f6;
}
body.theme-dark .exito-divider-line {
    background: #2a2f43;
}
body.theme-dark .exito-pill {
    background: color-mix(in srgb, var(--ren-primary) 18%, #0f1117);
    border-color: color-mix(in srgb, var(--ren-primary) 16%, #0f1117);
    color: #e9d5ff;
}
body.theme-dark .exito-total {
    background: color-mix(in srgb, var(--ren-primary) 10%, #0f1117);
    border-color: color-mix(in srgb, var(--ren-primary) 16%, #2a2f43);
}
body.theme-dark .exito-moodle-title {
    color: #f3f4f6;
}
body.theme-dark .exito-moodle-subtitle,
body.theme-dark .exito-moodle-course small {
    color: #a1a1b5;
}
body.theme-dark .exito-moodle-dialog.ui-dialog,
body.theme-dark .exito-moodle-dialog .ui-dialog-titlebar,
body.theme-dark .exito-moodle-dialog .ui-dialog-content {
    background: #161925;
}
body.theme-dark .exito-moodle-course strong {
    color: #f3f4f6;
}
body.theme-dark .exito-moodle-table .ui-datatable-tablewrapper {
    border-color: #2a2f43;
}
body.theme-dark .exito-moodle-table table thead th {
    background: #1c2030 !important;
    color: #cbd5e1 !important;
}
.exito-hero {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    align-items: center;
}
.exito-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 12px 28px rgba(34, 197, 94, .35);
}
.exito-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
}
.exito-subtitle {
    color: #6b7280;
    font-weight: 600;
}
.exito-card {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e6edf5;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
    overflow: hidden;
    padding: 1.1rem 1.25rem;
}
.exito-section {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.exito-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.exito-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}
.exito-chip {
    padding: .35rem .75rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 700;
    font-size: .85rem;
}
.exito-description {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: .9rem 1rem;
    color: #475569;
    line-height: 1.5;
    text-align: left;
}
.exito-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.exito-grid-item {
    border: 1px solid #e6edf5;
    border-radius: 12px;
    padding: .85rem .95rem;
    text-align: left;
    background: #f3f4f6;
}
.exito-grid-item.total {
    grid-column: span 2;
}
.label {
    display: block;
    color: #6b7280;
    font-size: .9rem;
    margin-bottom: .25rem;
}
.value {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.05rem;
}
.value.highlight {
    color: #dc2626;
}
.value.accent {
    color: #1d4ed8;
    font-size: 1.2rem;
}
.exito-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0 1.5rem;
}
.exito-timer {
    display: flex;
    align-items: baseline;
    gap: .45rem;
    padding: .4rem .75rem;
    border-radius: 12px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}
.timer-label {
    color: #be123c;
    font-weight: 800;
}
.timer-date {
    color: #7f1d1d;
    font-weight: 700;
}
.exito-extra {
    text-align: left;
}
.extra-item {
    display: block;
    color: #475569;
    margin: .1rem 0;
    font-size: .95rem;
}
.exito-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
@media (max-width: 640px) {
    .exito-section {
        padding: 1rem 1.1rem;
    }
    .exito-description {
        text-align: center;
    }
    .exito-grid-item.total {
        grid-column: span 1;
    }
}

/* Exito redesign */
.success-card {
    text-align: center;
    padding: 1.5rem 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    border: 1px solid #e6edf5;
    border-radius: 16px;
}
.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #d1fae5;
    color: #059669;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: .6rem;
    box-shadow: 0 10px 24px rgba(5, 150, 105, .2);
}
.success-title {
    font-size: 1.7rem;
    font-weight: 900;
    color: #111827;
}
.success-subtitle {
    color: #6b7280;
    margin-top: .25rem;
    font-weight: 600;
}
.exito-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: .6rem;
}
.exito-section-title.main {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1f2937;
}
.method-pill {
    background: #f3e8ff;
    color: var(--ren-primary);
    font-weight: 800;
    padding: .35rem .8rem;
    border-radius: 999px;
    font-size: .8rem;
}
.muted-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: .9rem 1rem;
    color: #475569;
    line-height: 1.5;
}
.payment-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    align-items: stretch;
}
.exito-total-box {
    border: 1px solid #dbeafe;
    background: #eff6ff;
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    justify-content: center;
    min-width: 170px;
}
.total-figure {
    font-size: 1.6rem;
    font-weight: 900;
    color: #1d4ed8;
}
.due-pill {
    background: #ffe4e6;
    color: #be123c;
    font-weight: 800;
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .8rem;
    border: 1px solid #fecdd3;
}
body.theme-dark .exito-card,
body.theme-dark .success-card {
    background: #161925;
    border-color: #2a2f43;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
body.theme-dark .exito-title,
body.theme-dark .success-title,
body.theme-dark .exito-section-title,
body.theme-dark .exito-section-title.main {
    color: #f3f4f6;
}
body.theme-dark .exito-subtitle,
body.theme-dark .success-subtitle,
body.theme-dark .label,
body.theme-dark .extra-item,
body.theme-dark .exito-description,
body.theme-dark .muted-box {
    color: #b6bbcb;
}
body.theme-dark .exito-description,
body.theme-dark .muted-box {
    background: #0f1117;
    border-color: #2a2f43;
}
body.theme-dark .exito-grid-item {
    background: #0f1117;
    border-color: #2a2f43;
}
body.theme-dark .value {
    color: #f3f4f6;
}
body.theme-dark .method-pill {
    background: #2a2340;
    color: #e9d5ff;
}
body.theme-dark .exito-total-box {
    background: #1b1533;
    border-color: #3a2a66;
}
body.theme-dark .total-figure {
    color: #c4b5fd;
}
body.theme-dark .due-pill {
    background: #3b1d1f;
    color: #fecaca;
    border-color: #5b2a2f;
}

/* Pago online */
.pago-online-content {
    padding: 1rem 0 2rem;
}
.pago-online-content .titleSaludo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: .35rem;
}
.pago-online-content .saludo-highlight {
    color: var(--ren-primary);
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.pago-online-content .subtitleSaludo {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0;
}
.pago-online-content .containerDatosPago {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto 2rem;
    padding: 0;
    box-shadow: none;
}
.pago-online-content .contentContainerDatosPago {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
}
.pago-online-content .subContentContainerDatosPago,
.pago-online-content .subContentContainerDatosPago2 {
    width: 100% !important;
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--ren-secondary) 12%, color-mix(in srgb, var(--ren-primary) 10%, #e5e7eb));
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--ren-primary) 10%, rgba(15, 23, 42, .08)),
                0 4px 18px color-mix(in srgb, var(--ren-secondary) 12%, transparent);
}
.pago-online-content .subContentContainerDatosPago {
    gap: 1rem;
}
.pago-online-content .subContentContainerDatosPago2 {
    align-items: center;
    text-align: center;
    gap: .9rem;
}
.pago-online-content .contentContainerDatosPago {
    align-items: stretch;
}
.pago-online-content .subContentContainerDatosPago,
.pago-online-content .subContentContainerDatosPago2 {
    min-height: 520px;
    display: flex;
    flex-direction: column;
}
.pago-online-content .pago-card-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .8rem;
}
.pago-online-content .pago-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 14%, #ffffff),
        color-mix(in srgb, var(--ren-secondary) 18%, #ffffff));
    border: 1px solid color-mix(in srgb, var(--ren-secondary) 16%, #e5e7eb);
    color: var(--ren-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}
.pago-online-content .pago-card-title {
    font-weight: 800;
    color: #111827;
    font-size: .95rem;
}
.pago-online-content .subContentContainerDatosPago2 p {
    margin: .25rem 0;
    color: #6b7280;
}
.pago-online-content .subContentContainerDatosPago2 p:not(.oscuro) {
    font-size: .9rem;
}
.pago-online-content .subContentContainerDatosPago2 p.oscuro {
    color: #111827;
    font-weight: 700;
}
.pago-online-content .upload-title {
    color: #111827;
    font-weight: 700;
    margin-top: .35rem;
}
.pago-online-content .upload-subtitle {
    color: #6b7280;
    font-size: .9rem;
}
.pago-online-content .upload-specs {
    border: 1px dashed color-mix(in srgb, var(--ren-secondary) 22%, color-mix(in srgb, var(--ren-primary) 18%, #d1d5db));
    border-radius: 12px;
    padding: .75rem 1rem;
    width: 100%;
    max-width: 320px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 5%, #f8fafc),
        color-mix(in srgb, var(--ren-secondary) 7%, #f8fafc));
    color: #6b7280;
    font-size: .85rem;
    text-align: left;
}
.pago-online-content .upload-specs p {
    margin: .2rem 0;
}
.pago-online-content .upload-specs-title {
    font-size: .7rem;
    letter-spacing: .08em;
    font-weight: 800;
    color: color-mix(in srgb, var(--ren-secondary) 34%, color-mix(in srgb, var(--ren-primary) 22%, #9ca3af));
    margin-bottom: .35rem;
}
.pago-online-content .upload-specs .pi-check {
    color: var(--ren-secondary);
    margin-right: .4rem;
}
.pago-online-content .upload-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 10%, #ffffff),
        color-mix(in srgb, var(--ren-secondary) 16%, #ffffff));
    border: 1px solid color-mix(in srgb, var(--ren-secondary) 18%, #e5e7eb);
    color: var(--ren-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: .2rem;
}
.pago-online-content .inputs-pago {
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    width: 100%;
}
.pago-online-content .inputs-pago .ui-outputlabel {
    color: #111827;
    font-weight: 700;
}
.pago-online-content .input-data {
    width: 100%;
    text-align: left;
}
.pago-online-content .input-data.ui-inputfield {
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--ren-primary) 10%, #e5e7eb);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}
.pago-online-content .input-data.ui-inputfield:focus {
    border-color: var(--ren-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ren-secondary) 18%, transparent);
}
.pago-online-content #contentimg .ui-panel-content {
    border: 1px solid color-mix(in srgb, var(--ren-secondary) 14%, color-mix(in srgb, var(--ren-primary) 10%, #e5e7eb));
    border-radius: 12px;
    padding: 1rem;
    background: #ffffff;
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pago-online-content .img-comprobante {
    border-radius: 10px;
    width: 220px;
    height: 220px;
    object-fit: cover;
    display: block;
}
.pago-online-content .ui-fileupload-simple .ui-button {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary)) !important;
    border: 1px solid transparent !important;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
    padding: .55rem 1rem;
    box-shadow: 0 10px 20px color-mix(in srgb, var(--ren-primary) 18%, transparent),
                0 6px 18px color-mix(in srgb, var(--ren-secondary) 20%, transparent);
    min-width: 240px;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pago-online-content .ui-fileupload-simple .ui-button:hover,
.pago-online-content .ui-fileupload-simple .ui-button:focus {
    background: #ffffff !important;
    border-color: var(--ren-primary) !important;
    color: var(--ren-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px color-mix(in srgb, var(--ren-primary) 18%, transparent) !important;
}
.pago-online-content .ui-fileupload-simple .ui-button:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px color-mix(in srgb, var(--ren-primary) 18%, transparent) !important;
}
.pago-online-content .ui-fileupload-choose {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary)) !important;
    border-color: transparent !important;
    color: #fff !important;
}
.pago-online-content .botones.ui-button {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary)) !important;
    border: 1px solid transparent !important;
    color: #fff !important;
}
.pago-online-moodle-block {
    padding: .25rem;
    background: transparent;
}
.pago-online-moodle-header {
    margin-bottom: 1rem;
}
.pago-online-moodle-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #23262f;
}
.pago-online-moodle-message {
    margin: .45rem 0 0;
    color: #64748b;
    font-size: .94rem;
    line-height: 1.5;
}
.pago-online-moodle-dialog.ui-dialog {
    width: 1050px !important;
    max-width: calc(100vw - 48px);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .22);
}
.pago-online-moodle-dialog .ui-dialog-titlebar {
    background: #ffffff;
    border: 0;
    padding: 1rem 1.25rem 0 1.25rem;
}
.pago-online-moodle-dialog .ui-dialog-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
    background: #ffffff;
}
.pago-online-moodle-table .ui-datatable-tablewrapper {
    border: 1px solid color-mix(in srgb, var(--ren-primary) 10%, #e5e7eb);
    border-radius: 16px;
    overflow: hidden;
}
.pago-online-moodle-table table {
    width: 100%;
    table-layout: fixed;
}
.pago-online-moodle-table table thead th {
    background: color-mix(in srgb, var(--ren-primary) 6%, #ffffff) !important;
    color: #475569 !important;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 800;
}
.pago-online-course {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}
.pago-online-course strong {
    color: #111827;
}
.pago-online-course span {
    color: var(--ren-primary);
    font-weight: 700;
    font-size: .8rem;
}
.pago-online-course small {
    color: #6b7280;
    line-height: 1.4;
}
.pago-online-moodle-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .2rem .55rem;
    font-size: .72rem;
    font-weight: 800;
}
.pago-online-moodle-status.status-ok {
    background: #dcfce7;
    color: #166534;
}
.pago-online-moodle-status.status-error {
    background: #fee2e2;
    color: #991b1b;
}
.pago-online-moodle-status.status-draft {
    background: #ede9fe;
    color: #6d28d9;
}
.pago-online-moodle-error {
    display: block;
    margin-top: .35rem;
    color: #b91c1c;
    font-size: .74rem;
    line-height: 1.35;
}
.pago-online-moodle-table table tbody td {
    vertical-align: top;
    overflow: hidden;
}
.pago-online-moodle-input.ui-inputfield,
.pago-online-moodle-table .ui-inputfield {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.pago-online-moodle-dialog input.ui-inputfield.ui-state-error,
.pago-online-moodle-dialog .ui-inputfield.ui-state-error,
.pago-online-moodle-dialog .ui-state-error {
    border: 2px solid #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .14) !important;
}
.pago-online-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, .38);
    backdrop-filter: blur(3px);
}
.pago-online-modal-card {
    width: min(100%, 980px);
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .24);
}
.pago-online-confirm-card {
    max-width: 520px;
}
.pago-online-participantes-card {
    max-width: 1050px;
    padding: 20px 28px 28px;
}
.pago-online-modal-close-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 6px;
}
.pago-online-modal-close.ui-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none !important;
    background: transparent !important;
    color: #7c6b86 !important;
    box-shadow: none !important;
}
.pago-online-modal-close.ui-button:hover {
    background: rgba(109, 40, 217, .08) !important;
    color: #6d28d9 !important;
}
.dialog-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 22px;
    border-radius: 14px;
    border: 1px solid rgba(109, 40, 217, .24);
    color: #6d28d9;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
}
.dialog-link-button:hover {
    text-decoration: none;
    color: #5b21b6;
    border-color: rgba(109, 40, 217, .4);
}

.ui-growl {
    z-index: 1605 !important;
}

.ui-growl .ui-growl-item-container {
    opacity: 1 !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .18) !important;
}
.pago-online-moodle-actions {
    display: flex;
    justify-content: flex-end;
    gap: .9rem;
    margin-top: 1rem;
}
body.theme-dark .pago-online-content .titleSaludo {
    color: #f3f4f6;
}
body.theme-dark .pago-online-content .subtitleSaludo {
    color: #b6bbcb;
}
body.theme-dark .pago-online-content .subContentContainerDatosPago,
body.theme-dark .pago-online-content .subContentContainerDatosPago2 {
    background: #161925;
    border-color: #2a2f43;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
}
body.theme-dark .pago-online-content .pago-card-title {
    color: #f3f4f6;
}
body.theme-dark .pago-online-content .inputs-pago .ui-outputlabel {
    color: #e5e7eb;
}
body.theme-dark .pago-online-content .input-data.ui-inputfield {
    background: #121420;
    border-color: #2a2f43;
    color: #e5e7eb;
    box-shadow: none;
}
body.theme-dark .pago-online-content .upload-title {
    color: #f3f4f6;
}
body.theme-dark .pago-online-content .upload-subtitle {
    color: #b6bbcb;
}
body.theme-dark .pago-online-content .upload-specs {
    background: #0f1117;
    border-color: color-mix(in srgb, var(--ren-primary) 18%, #2a2f43);
    color: #b6bbcb;
}
body.theme-dark .pago-online-content .upload-specs-title {
    color: #9aa0b3;
}
body.theme-dark .pago-online-content #contentimg .ui-panel-content {
    background: #0f1117;
    border-color: #2a2f43;
}
body.theme-dark .pago-online-content .img-comprobante {
    background: #e5e7eb;
    border: 1px solid #2a2f43;
}
body.theme-dark .pago-online-moodle-block {
    background: transparent;
}
body.theme-dark .pago-online-moodle-title {
    color: #f3f4f6;
}
body.theme-dark .pago-online-moodle-message,
body.theme-dark .pago-online-course small {
    color: #b6bbcb;
}
body.theme-dark .pago-online-moodle-dialog.ui-dialog,
body.theme-dark .pago-online-moodle-dialog .ui-dialog-titlebar,
body.theme-dark .pago-online-moodle-dialog .ui-dialog-content {
    background: #161925;
}
body.theme-dark .pago-online-moodle-table .ui-datatable-tablewrapper {
    border-color: #2a2f43;
}
body.theme-dark .pago-online-moodle-table table thead th {
    background: #1c2030 !important;
    color: #cbd5e1 !important;
}
body.theme-dark .pago-online-course strong {
    color: #f3f4f6;
}

/* Dialogo exito pago online */
.dialog-confirm-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: .5rem .5rem 0 .5rem;
}
.dialog-header-success {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 800;
    color: #0f172a;
    font-size: 1.1rem;
    padding: 0 .5rem;
}
.success-icon-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 12%, #ffffff),
        color-mix(in srgb, var(--ren-secondary) 18%, #ffffff));
    color: var(--ren-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.dialog-title {
    font-weight: 800;
}
.dialog-body {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.dialog-message-strong {
    color: var(--ren-primary);
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin: 0;
}
.dialog-hint {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 4%, #f8fafc),
        color-mix(in srgb, var(--ren-secondary) 6%, #f8fafc));
    border: 1px solid color-mix(in srgb, var(--ren-secondary) 12%, #e5e7eb);
    border-radius: 10px;
    padding: .9rem 1rem;
    color: #475569;
    line-height: 1.5;
}
.dialog-hint .pi {
    color: var(--ren-primary);
    font-size: 1.2rem;
}
.dialog-actions {
    display: flex;
    gap: .6rem;
    padding: .25rem .5rem .75rem;
}
.btn-dialog-primary.ui-button {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary)) !important;
    border: 1px solid transparent !important;
    color: #fff !important;
    font-weight: 800;
    border-radius: 10px;
    box-shadow: 0 10px 20px color-mix(in srgb, var(--ren-primary) 24%, transparent);
    padding: .65rem 1rem;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-dialog-secondary.ui-button {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--ren-primary) 8%, #ffffff),
        color-mix(in srgb, var(--ren-secondary) 12%, #ffffff)) !important;
    border: 1px solid color-mix(in srgb, var(--ren-secondary) 16%, color-mix(in srgb, var(--ren-primary) 18%, #e5e7eb)) !important;
    color: var(--ren-primary) !important;
    font-weight: 800;
    border-radius: 10px;
    padding: .65rem 1rem;
    box-shadow: none !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
body .confirm-dialog {
    width: 520px !important;
    max-width: 90vw;
}
body .confirm-dialog .ui-dialog-content {
    padding: 0 1rem 1rem 1rem;
}
body .confirm-dialog .ui-dialog-titlebar {
    display: none;
}
body.theme-dark .dialog-hint {
    background: #0f1117;
    border-color: #2a2f43;
    color: #cbd5f5;
}
body.theme-dark .dialog-hint .pi {
    color: #9aa0b3;
}
body.theme-dark .dialog-message-strong {
    color: color-mix(in srgb, var(--ren-primary) 40%, #ffffff);
}
body.theme-dark .dialog-confirm-content {
    color: #e5e7eb;
}
body.theme-dark .dialog-header-success {
    color: #f3f4f6;
}
body.theme-dark .btn-dialog-secondary.ui-button {
    background: #1a1d29 !important;
    border-color: color-mix(in srgb, var(--ren-primary) 30%, #1a1d29) !important;
    color: #f3f4f6 !important;
}
body.theme-dark .pago-online-content .ui-fileupload-simple .ui-button {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary)) !important;
    border-color: transparent !important;
    color: #fff !important;
}
body.theme-dark .pago-online-content .botones.ui-button {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary)) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .35) !important;
}
.pago-online-content .botones.ui-button {
    background: linear-gradient(90deg, var(--ren-primary), var(--ren-secondary)) !important;
    border: 1px solid transparent !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: .75rem 1.6rem !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .2) !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pago-online-content .botones.ui-button:hover,
.pago-online-content .botones.ui-button:focus {
    background: #ffffff !important;
    border-color: var(--ren-primary) !important;
    color: var(--ren-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px color-mix(in srgb, var(--ren-primary) 18%, transparent) !important;
}
.pago-online-content .botones.ui-button:active {
    transform: translateY(0);
    box-shadow: 0 10px 18px rgba(15, 23, 42, .22) !important;
}
.pago-online-content .ui-fileupload-simple .ui-button .ui-button-text,
.pago-online-content .botones.ui-button .ui-button-text,
.btn-dialog-primary.ui-button .ui-button-text,
.btn-dialog-secondary.ui-button .ui-button-text,
.btn-dialog-primary.ui-button .ui-button-icon-left,
.btn-dialog-secondary.ui-button .ui-button-icon-left {
    color: inherit !important;
}
.btn-dialog-primary.ui-button:hover,
.btn-dialog-primary.ui-button:focus,
.btn-dialog-secondary.ui-button:hover,
.btn-dialog-secondary.ui-button:focus {
    background: #ffffff !important;
    border-color: var(--ren-primary) !important;
    color: var(--ren-primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--ren-primary) 18%, transparent) !important;
}
.btn-dialog-primary.ui-button:active,
.btn-dialog-secondary.ui-button:active {
    transform: translateY(0);
}
@media (max-width: 900px) {
    .pago-online-content .contentContainerDatosPago {
        grid-template-columns: 1fr;
    }
}
/* Dialogo DeUna */
.qr-dialog-modern {
    max-width: 420px !important;
    border-radius: 22px !important;
    overflow: hidden;
    box-shadow: 0 22px 52px rgba(15, 23, 42, .22) !important;
}
.qr-dialog-modern .ui-dialog-titlebar {
    border: none !important;
    padding: 1rem 1.25rem !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--ren-primary), var(--ren-secondary)) !important;
}
.qr-dialog-modern .ui-dialog-title {
    font-weight: 800;
}
.qr-dialog-modern .ui-dialog-titlebar-close {
    color: #fff !important;
    border-radius: 999px;
    transition: background-color .2s ease, opacity .2s ease;
}
.qr-dialog-modern .ui-dialog-titlebar-close:hover,
.qr-dialog-modern .ui-dialog-titlebar-close:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, .16) !important;
}
.qr-dialog-modern .ui-dialog-titlebar-close .ui-icon,
.qr-dialog-modern .ui-dialog-titlebar-close .ui-icon::before {
    color: #fff !important;
}
.qr-dialog-modern .ui-dialog-content {
    padding: 1.25rem !important;
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--ren-primary) 5%, #ffffff) 100%) !important;
}
.qr-dialog-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.qr-dialog-hero {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.qr-dialog-badge {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--ren-primary) 12%, #ffffff),
            color-mix(in srgb, var(--ren-secondary) 18%, #ffffff));
    color: var(--ren-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ren-primary) 16%, #ffffff);
}
.qr-dialog-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.qr-dialog-kicker {
    color: var(--ren-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.qr-dialog-title {
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}
.qr-dialog-sub {
    color: #64748b;
    line-height: 1.55;
    font-weight: 600;
}
.qr-dialog-card {
    display: flex;
    justify-content: center;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid color-mix(in srgb, var(--ren-primary) 12%, #e5e7eb);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
}
.qr-image-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ren-primary) 8%, #e5e7eb);
}
.qr-image {
    width: min(220px, 100%);
    max-width: 220px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
}
.qr-dialog-hint {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    border-radius: 16px;
    background: color-mix(in srgb, var(--ren-primary) 5%, #f8fafc);
    border: 1px solid color-mix(in srgb, var(--ren-primary) 12%, #e2e8f0);
    color: #475569;
    line-height: 1.5;
}
.qr-dialog-hint .pi {
    color: var(--ren-primary);
    font-size: 1rem;
    margin-top: .1rem;
}
.qr-actions {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.qr-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .95rem 1.1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--ren-primary), var(--ren-secondary));
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 24px color-mix(in srgb, var(--ren-primary) 24%, transparent);
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.qr-close-btn.ui-button {
    width: 100%;
    background: color-mix(in srgb, var(--ren-primary) 8%, #ffffff) !important;
    border: 1px solid color-mix(in srgb, var(--ren-primary) 16%, #ffffff) !important;
    color: var(--ren-primary) !important;
    font-weight: 800;
    border-radius: 14px;
    padding: .85rem 1rem;
    box-shadow: none !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.qr-close-btn.ui-button .ui-button-text,
.qr-link-btn .pi,
.qr-close-btn.ui-button .ui-button-icon-left,
.qr-close-btn.ui-button .ui-button-icon-right {
    color: inherit !important;
}
.qr-link-btn:hover,
.qr-link-btn:focus,
.qr-close-btn.ui-button:hover,
.qr-close-btn.ui-button:focus {
    background: #ffffff !important;
    border-color: var(--ren-primary) !important;
    color: var(--ren-primary) !important;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--ren-primary) 18%, transparent) !important;
    transform: translateY(-1px);
}
.qr-link-btn:active,
.qr-close-btn.ui-button:active {
    transform: translateY(0);
}
body.theme-dark .qr-dialog-modern {
    box-shadow: 0 24px 56px rgba(0, 0, 0, .45) !important;
}
body.theme-dark .qr-dialog-modern .ui-dialog-content {
    background: linear-gradient(180deg, #161925 0%, #11141d 100%) !important;
}
body.theme-dark .qr-dialog-badge {
    background: color-mix(in srgb, var(--ren-primary) 18%, #0f1117);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ren-primary) 16%, #0f1117);
}
body.theme-dark .qr-dialog-title {
    color: #f3f4f6;
}
body.theme-dark .qr-dialog-sub,
body.theme-dark .qr-dialog-hint {
    color: #b6bbcb;
}
body.theme-dark .qr-dialog-card,
body.theme-dark .qr-image-frame,
body.theme-dark .qr-dialog-hint {
    background: #0f1117;
    border-color: #2a2f43;
    box-shadow: none;
}
body.theme-dark .qr-close-btn.ui-button {
    background: #1a1d29 !important;
    border-color: color-mix(in srgb, var(--ren-primary) 30%, #1a1d29) !important;
    color: #f3f4f6 !important;
}
body.theme-dark .qr-link-btn:hover,
body.theme-dark .qr-link-btn:focus,
body.theme-dark .qr-close-btn.ui-button:hover,
body.theme-dark .qr-close-btn.ui-button:focus {
    background: #ffffff !important;
    border-color: var(--ren-primary) !important;
    color: var(--ren-primary) !important;
}
@media (max-width: 640px) {
    .qr-dialog-modern {
        width: calc(100vw - 2rem) !important;
    }
    .qr-dialog-hero {
        flex-direction: column;
    }
    .qr-image {
        max-width: min(220px, calc(100vw - 9rem));
    }
}

/* Dialogo de errores */
.error-dialog-modern {
    max-width: 480px !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(15, 23, 42, .22) !important;
}
.error-dialog-modern .ui-dialog-titlebar {
    border: none !important;
    padding: 1rem 1.25rem !important;
    color: #fff !important;
    background: linear-gradient(135deg, #7d18f5, #8b5cf6) !important;
}
.error-dialog-modern .ui-dialog-title {
    font-weight: 800;
}
.error-dialog-modern .ui-dialog-titlebar-close {
    color: #fff !important;
    border-radius: 999px;
    transition: background-color .2s ease, opacity .2s ease;
}
.error-dialog-modern .ui-dialog-titlebar-close:hover,
.error-dialog-modern .ui-dialog-titlebar-close:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, .16) !important;
}
.error-dialog-modern .ui-dialog-titlebar-close .ui-icon,
.error-dialog-modern .ui-dialog-titlebar-close .ui-icon::before {
    color: #fff !important;
}
.error-dialog-modern .ui-dialog-content {
    padding: 1.25rem !important;
    background: #fff !important;
}
.error-dialog-modern .ui-dialog-footer {
    border: none !important;
    padding: 0 1.25rem 1.25rem !important;
    background: #fff !important;
}
.error-dialog-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.error-dialog-icon {
    font-size: 2rem;
    color: #7d18f5;
    margin-top: .15rem;
}
.error-dialog-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.error-dialog-body .ui-messages {
    margin: 0;
}
.error-dialog-body .ui-messages-error,
.error-dialog-body .ui-messages-fatal {
    border-radius: 14px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}
.error-dialog-body .ui-messages-error-summary,
.error-dialog-body .ui-messages-fatal-summary {
    font-weight: 800;
}
.error-dialog-note {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 16px;
    padding: 1rem;
}
.error-dialog-note-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: .4rem;
}
.error-dialog-note-text {
    color: #475569;
    line-height: 1.5;
}
.error-dialog-action {
    margin-top: .9rem;
}
.error-dialog-link-btn.ui-button,
.error-dialog-link-btn.ui-button:hover,
.error-dialog-link-btn.ui-button:focus {
    width: 100%;
    border: none;
    color: #fff;
    border-radius: 12px;
    font-weight: 800;
    background: linear-gradient(135deg, #7d18f5, #8b5cf6);
    box-shadow: 0 14px 24px rgba(125, 24, 245, .25);
}
.error-dialog-support {
    margin-top: .9rem;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
    color: #334155;
}
.error-dialog-support-label {
    font-weight: 700;
}
.error-dialog-support a {
    color: #7d18f5;
    font-weight: 800;
    text-decoration: none;
}

/* Dialogo de confirmacion de compra */
.confirm-dialog-modern {
    max-width: 500px !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(15, 23, 42, .22) !important;
}
.confirm-dialog-modern .ui-dialog-titlebar {
    border: none !important;
    padding: 1rem 1.25rem !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--ren-primary), var(--ren-secondary)) !important;
}
.confirm-dialog-modern .ui-dialog-title {
    font-weight: 800;
}
.confirm-dialog-modern .ui-dialog-titlebar-close {
    color: #fff !important;
    border-radius: 999px;
    transition: background-color .2s ease, opacity .2s ease;
}
.confirm-dialog-modern .ui-dialog-titlebar-close:hover,
.confirm-dialog-modern .ui-dialog-titlebar-close:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, .16) !important;
}
.confirm-dialog-modern .ui-dialog-titlebar-close .ui-icon,
.confirm-dialog-modern .ui-dialog-titlebar-close .ui-icon::before {
    color: #fff !important;
}
.confirm-dialog-modern .ui-dialog-content {
    padding: 1.25rem !important;
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--ren-primary) 5%, #ffffff) 100%) !important;
}
.confirm-dialog-modern .ui-dialog-footer {
    border: none !important;
    padding: 0 1.25rem 1.25rem !important;
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--ren-primary) 5%, #ffffff) 100%) !important;
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
}
.checkout-confirm-dialog {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.checkout-confirm-dialog__hero {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.checkout-confirm-dialog__badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--ren-primary) 12%, #ffffff),
            color-mix(in srgb, var(--ren-secondary) 20%, #ffffff));
    color: var(--ren-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ren-primary) 16%, #ffffff);
}
.checkout-confirm-dialog__copy {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    flex: 1;
}
.checkout-confirm-dialog__eyebrow {
    color: var(--ren-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.checkout-confirm-dialog__title {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}
.checkout-confirm-dialog__text {
    margin: 0;
    color: #64748b;
    line-height: 1.55;
}
.checkout-confirm-dialog__summary {
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, .9);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}
.checkout-confirm-dialog__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 0;
}
.checkout-confirm-dialog__row + .checkout-confirm-dialog__row {
    border-top: 1px dashed #e5e7eb;
}
.checkout-confirm-dialog__row.total {
    padding-top: .85rem;
}
.checkout-confirm-dialog__label {
    color: #64748b;
    font-weight: 700;
}
.checkout-confirm-dialog__value {
    text-align: right;
    color: #0f172a;
    font-weight: 800;
}
.checkout-confirm-dialog__row.total .checkout-confirm-dialog__label,
.checkout-confirm-dialog__row.total .checkout-confirm-dialog__value {
    color: var(--ren-primary);
    font-size: 1.05rem;
}
.checkout-confirm-dialog__currency {
    margin-right: .12rem;
}
.checkout-confirm-dialog__hint {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    line-height: 1.5;
}
.checkout-confirm-dialog__hint .pi {
    color: var(--ren-primary);
    font-size: 1rem;
    margin-top: .1rem;
}
.confirm-dialog-primary.ui-button,
.confirm-dialog-secondary.ui-button {
    min-width: 170px;
    border-radius: 12px !important;
    font-weight: 800 !important;
    padding: .8rem 1.2rem !important;
    border: 1px solid transparent !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.confirm-dialog-primary.ui-button {
    color: #fff !important;
    background: linear-gradient(135deg, var(--ren-primary), var(--ren-secondary)) !important;
    box-shadow: 0 14px 24px color-mix(in srgb, var(--ren-primary) 25%, transparent);
}
.confirm-dialog-secondary.ui-button {
    background: color-mix(in srgb, var(--ren-primary) 8%, #ffffff) !important;
    border-color: color-mix(in srgb, var(--ren-primary) 16%, #ffffff) !important;
    color: var(--ren-primary) !important;
    box-shadow: none !important;
}
.confirm-dialog-primary.ui-button:hover,
.confirm-dialog-primary.ui-button:focus,
.confirm-dialog-secondary.ui-button:hover,
.confirm-dialog-secondary.ui-button:focus {
    background: #ffffff !important;
    border-color: var(--ren-primary) !important;
    color: var(--ren-primary) !important;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--ren-primary) 18%, transparent) !important;
    transform: translateY(-1px);
}
.confirm-dialog-primary.ui-button:active,
.confirm-dialog-secondary.ui-button:active {
    transform: translateY(0);
}
.confirm-dialog-primary.ui-button .ui-button-icon-left,
.confirm-dialog-secondary.ui-button .ui-button-icon-left,
.confirm-dialog-primary.ui-button .ui-button-text,
.confirm-dialog-secondary.ui-button .ui-button-text {
    color: inherit !important;
}
body.theme-dark .confirm-dialog-modern {
    box-shadow: 0 22px 52px rgba(0, 0, 0, .45) !important;
}
body.theme-dark .confirm-dialog-modern .ui-dialog-content,
body.theme-dark .confirm-dialog-modern .ui-dialog-footer {
    background: linear-gradient(180deg, #161925 0%, #11141d 100%) !important;
}
body.theme-dark .checkout-confirm-dialog__badge {
    background: color-mix(in srgb, var(--ren-primary) 18%, #0f1117);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ren-primary) 16%, #0f1117);
}
body.theme-dark .checkout-confirm-dialog__title,
body.theme-dark .checkout-confirm-dialog__value {
    color: #f3f4f6;
}
body.theme-dark .checkout-confirm-dialog__text,
body.theme-dark .checkout-confirm-dialog__label,
body.theme-dark .checkout-confirm-dialog__hint {
    color: #b6bbcb;
}
body.theme-dark .checkout-confirm-dialog__summary {
    background: #0f1117;
    border-color: #2a2f43;
    box-shadow: none;
}
body.theme-dark .checkout-confirm-dialog__row + .checkout-confirm-dialog__row {
    border-top-color: #2a2f43;
}
body.theme-dark .checkout-confirm-dialog__hint {
    background: #0f1117;
    border-color: #2a2f43;
}
body.theme-dark .confirm-dialog-secondary.ui-button {
    background: #1a1d29 !important;
    border-color: color-mix(in srgb, var(--ren-primary) 30%, #1a1d29) !important;
    color: #f3f4f6 !important;
}
body.theme-dark .confirm-dialog-primary.ui-button:hover,
body.theme-dark .confirm-dialog-primary.ui-button:focus,
body.theme-dark .confirm-dialog-secondary.ui-button:hover,
body.theme-dark .confirm-dialog-secondary.ui-button:focus {
    background: #ffffff !important;
    border-color: var(--ren-primary) !important;
    color: var(--ren-primary) !important;
    box-shadow: 0 14px 28px color-mix(in srgb, var(--ren-primary) 22%, transparent) !important;
}
@media (max-width: 640px) {
    .profile-card {
        width: min(338px, 74vw);
    }
    .profile-overlay-panel.ui-overlaypanel {
        max-width: 78vw;
    }
    .profile-card__body {
        padding-left: .9rem;
        padding-right: .9rem;
    }
    .profile-card__title {
        font-size: 1rem;
    }
    .profile-card__info-row {
        align-items: flex-start;
    }
    .profile-card__row-arrow {
        margin-top: .1rem;
    }
    .profile-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .error-dialog-modern {
        width: calc(100vw - 2rem) !important;
    }
    .error-dialog-content {
        flex-direction: column;
    }
    .confirm-dialog-modern {
        width: calc(100vw - 2rem) !important;
    }
    .checkout-confirm-dialog__hero {
        flex-direction: column;
    }
    .confirm-dialog-modern .ui-dialog-footer {
        flex-direction: column;
    }
    .confirm-dialog-primary.ui-button,
    .confirm-dialog-secondary.ui-button {
        width: 100%;
        margin: 0 !important;
    }
}
