:root {
    --uxp-blue: #2166df;
    --uxp-blue-dark: #10254b;
    --uxp-orange: #ef6b1f;
    --uxp-muted: #6b7890;
    --uxp-line: #dfe7f3;
    --uxp-soft: #f7faff;
}

.uxp-directory {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0 76px;
}

.uxp-directory-head {
    max-width: 760px;
    margin-bottom: 24px;
}

.uxp-directory-head > span {
    display: inline-flex;
    padding: 7px 11px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--uxp-blue);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.uxp-directory-head h1 {
    margin: 0 0 8px;
    color: var(--uxp-blue-dark);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.uxp-directory-head p {
    margin: 0;
    color: var(--uxp-muted);
    line-height: 1.6;
}

.uxp-filterbar {
    display: grid;
    grid-template-columns: 1.3fr 1fr .8fr .8fr auto;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--uxp-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(16,37,75,.06);
}

.uxp-filterbar.course {
    grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
}

.uxp-filterbar input,
.uxp-filterbar select,
.uxp-filterbar button {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border-radius: 12px;
}

.uxp-filterbar input,
.uxp-filterbar select {
    border: 1px solid #d8e1ee;
    background: #fbfdff;
    padding: 0 12px;
}

.uxp-filterbar button,
.uxp-primary {
    border: 0;
    background: var(--uxp-blue);
    color: #fff;
    font-weight: 900;
    padding: 0 18px;
    text-decoration: none;
    cursor: pointer;
}

.uxp-summary {
    margin: 16px 2px 18px;
    color: var(--uxp-muted);
    font-size: .85rem;
}

.uxp-profile-grid,
.uxp-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.uxp-profile-card,
.uxp-course-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--uxp-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(16,37,75,.07);
}

.uxp-profile-cover {
    position: relative;
    height: 112px;
    background:
        radial-gradient(circle at 88% 18%, rgba(239,107,31,.28), transparent 30%),
        linear-gradient(125deg, #0d2d70, #245fca);
}

.uxp-avatar {
    position: absolute;
    left: 18px;
    bottom: -40px;
    width: 86px;
    height: 86px;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 5px solid #fff;
    color: #fff;
    font-weight: 900;
}

.uxp-avatar.no-photo {
    background: linear-gradient(135deg, #2670e8, #103a83);
}

.uxp-avatar img,
.uxp-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uxp-aula-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    color: var(--uxp-blue);
    font-size: .66rem;
    font-weight: 900;
}

.uxp-profile-body {
    padding: 52px 18px 18px;
}

.uxp-profile-body h2,
.uxp-course-body h2 {
    margin: 0 0 6px;
    color: var(--uxp-blue-dark);
    font-size: 1.15rem;
    line-height: 1.3;
}

.uxp-profile-body > strong {
    color: var(--uxp-orange);
    font-size: .82rem;
}

.uxp-profile-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
    margin: 15px 0;
}

.uxp-profile-meta span {
    min-width: 0;
    padding: 9px;
    border-radius: 11px;
    background: var(--uxp-soft);
    color: var(--uxp-muted);
    font-size: .72rem;
    overflow-wrap: anywhere;
}

.uxp-profile-body a,
.uxp-course-link {
    display: inline-flex;
    color: var(--uxp-blue);
    font-weight: 900;
    text-decoration: none;
    font-size: .8rem;
}

.uxp-course-card {
    position: relative;
}

.uxp-course-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
}

.uxp-course-image {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    background: #eef4ff;
    overflow: hidden;
}

.uxp-course-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #102f72, #2464ce);
}

.uxp-price {
    position: absolute;
    left: 13px;
    bottom: 13px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: var(--uxp-blue-dark);
    font-size: .73rem;
    font-weight: 950;
}

.uxp-course-body {
    padding: 18px;
}

.uxp-course-body h2 a {
    color: inherit;
    text-decoration: none;
}

.uxp-course-body > p {
    min-height: 56px;
    margin: 0 0 13px;
    color: var(--uxp-muted);
    font-size: .82rem;
    line-height: 1.5;
}

.uxp-chipline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.uxp-chipline span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--uxp-blue);
    font-size: .65rem;
    font-weight: 900;
}

.uxp-course-teacher {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
    margin-bottom: 12px;
    border-top: 1px solid #edf1f6;
    border-bottom: 1px solid #edf1f6;
    color: var(--uxp-muted);
    font-size: .73rem;
}

.uxp-favorite {
    appearance: none;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid #dce5f2;
    border-radius: 12px;
    background: #fff;
    color: #44536a;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 7px 18px rgba(15,36,70,.10);
}

.uxp-favorite.active {
    background: #fff0e8;
    color: #e75f16;
    border-color: #ffc8aa;
}

.uxp-favorite.compact {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
}

.uxp-favorite.compact b {
    display: none;
}

.uxp-single-favorite {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--uxp-line);
}

.uxp-empty {
    margin-top: 18px;
    padding: 42px 20px;
    border: 1px dashed #ccd7e7;
    border-radius: 18px;
    background: #fbfdff;
    text-align: center;
    color: var(--uxp-muted);
}

.uxp-empty.small {
    padding: 20px;
}

.uxp-empty h2 {
    color: var(--uxp-blue-dark);
}

.uxp-primary {
    min-height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.uxp-pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 26px;
}

.uxp-pagination a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--uxp-line);
    border-radius: 11px;
    color: #40536e;
    text-decoration: none;
}

.uxp-pagination a.active {
    background: var(--uxp-blue);
    color: #fff;
}

.uxp-profile-section {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--uxp-line);
}

.uxp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 13px;
}

.uxp-section-head h3 {
    margin: 0 0 3px;
    color: var(--uxp-blue-dark);
}

.uxp-section-head p {
    margin: 0;
    color: var(--uxp-muted);
    font-size: .78rem;
}

.uxp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
}

.uxp-repeat-row {
    padding: 13px;
    margin-bottom: 10px;
    border: 1px solid var(--uxp-line);
    border-radius: 13px;
    background: #fbfdff;
}

.uxp-add-row,
.uxp-remove-row {
    border: 0;
    border-radius: 10px;
    font-weight: 900;
    cursor: pointer;
}

.uxp-add-row {
    padding: 9px 11px;
    background: #edf4ff;
    color: var(--uxp-blue);
}

.uxp-remove-row {
    margin-top: 8px;
    padding: 7px 9px;
    background: #fff0f0;
    color: #b42318;
}

.uxp-reviews {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid var(--uxp-line);
    border-radius: 20px;
    background: #fff;
}

.uxp-reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.uxp-reviews-head span {
    color: var(--uxp-orange);
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.uxp-reviews-head h2 {
    margin: 3px 0 0;
    color: var(--uxp-blue-dark);
}

.uxp-rating-summary {
    display: flex;
    gap: 9px;
    align-items: center;
}

.uxp-rating-summary > strong {
    font-size: 1.9rem;
    color: var(--uxp-blue-dark);
}

.uxp-stars {
    display: inline-flex;
    gap: 2px;
}

.uxp-stars span {
    color: #d6dde8;
}

.uxp-stars span.filled {
    color: #f4a900;
}

.uxp-rating-summary small {
    display: block;
    color: var(--uxp-muted);
    font-size: .68rem;
}

.uxp-review-form {
    padding: 16px;
    margin-bottom: 18px;
    border: 1px solid var(--uxp-line);
    border-radius: 15px;
    background: var(--uxp-soft);
}

.uxp-star-picker {
    display: flex;
    gap: 4px;
    margin: 12px 0;
}

.uxp-star-picker input {
    position: absolute;
    opacity: 0;
}

.uxp-star-picker span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #dce5f2;
    border-radius: 10px;
    background: #fff;
    color: #c8d0dc;
    cursor: pointer;
}

.uxp-star-picker input:checked + span {
    color: #f2a600;
    background: #fff6d5;
}

.uxp-review-form textarea {
    width: 100%;
    min-height: 100px;
    border: 1px solid #d8e1ee;
    border-radius: 12px;
    padding: 11px;
}

.uxp-review-form button {
    min-height: 44px;
    margin-top: 9px;
    padding: 0 16px;
    border: 0;
    border-radius: 11px;
    background: var(--uxp-blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.uxp-review-message {
    margin-top: 7px;
    font-size: .75rem;
    font-weight: 800;
}

.uxp-review-message.error {
    color: #b42318;
}

.uxp-review-message.success {
    color: #17743a;
}

.uxp-review {
    padding: 13px 0;
    border-bottom: 1px solid #edf1f6;
}

.uxp-review:last-child {
    border-bottom: 0;
}

.uxp-review > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.uxp-review p {
    margin: 7px 0 5px;
    color: #5f6d84;
    font-size: .82rem;
    line-height: 1.5;
}

.uxp-review small {
    color: #8b96a8;
    font-size: .67rem;
}

@media (max-width: 1050px) {
    .uxp-filterbar,
    .uxp-filterbar.course {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .uxp-profile-grid,
    .uxp-course-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 680px) {
    .uxp-directory {
        width: min(100% - 22px, 1180px);
        padding-top: 34px;
    }

    .uxp-filterbar,
    .uxp-filterbar.course {
        grid-template-columns: 1fr;
    }

    .uxp-filterbar input,
    .uxp-filterbar select,
    .uxp-filterbar button {
        min-height: 50px;
    }

    .uxp-profile-grid,
    .uxp-course-grid,
    .uxp-grid-3 {
        grid-template-columns: 1fr;
    }

    .uxp-course-body > p {
        min-height: 0;
    }

    .uxp-reviews-head,
    .uxp-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .uxp-review-form button {
        width: 100%;
        min-height: 50px;
    }

    .uxp-review > div {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   v2.1 - COMERCIO / CHECKOUT / INGRESOS
   ========================================================= */

.uxp-commerce-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0 76px;
}

.uxp-buybox {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid var(--uxp-line);
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff, #fff);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
}

.uxp-buybox > div span {
    display: block;
    color: var(--uxp-muted);
    font-size: .75rem;
    margin-bottom: 3px;
}

.uxp-buybox > div strong {
    color: var(--uxp-blue-dark);
    font-size: 1.7rem;
}

.uxp-buybox > a {
    min-height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--uxp-orange);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.uxp-buybox small {
    grid-column: 1 / -1;
    color: var(--uxp-muted);
    font-size: .72rem;
}

.uxp-commerce-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f6f8fc;
    border: 1px solid var(--uxp-line);
    color: #5f6d84;
    font-size: .8rem;
}

.uxp-commerce-note.success {
    background: #effaf3;
    border-color: #caecd5;
    color: #17743a;
}

.uxp-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 24px;
    align-items: start;
}

.uxp-checkout-course,
.uxp-checkout-summary {
    border: 1px solid var(--uxp-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(16,37,75,.06);
}

.uxp-checkout-course {
    padding: 28px;
}

.uxp-commerce-kicker {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--uxp-blue);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.uxp-checkout-course > h1 {
    margin: 12px 0 22px;
    color: var(--uxp-blue-dark);
    font-size: clamp(2rem, 5vw, 3.3rem);
    line-height: 1.05;
}

.uxp-checkout-product {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    align-items: center;
}

.uxp-checkout-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 16px;
    background: #eef4ff;
}

.uxp-checkout-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uxp-checkout-product h2 {
    margin: 0 0 6px;
    color: var(--uxp-blue-dark);
}

.uxp-checkout-product p,
.uxp-checkout-product span {
    color: var(--uxp-muted);
    font-size: .82rem;
}

.uxp-checkout-summary {
    padding: 22px;
    position: sticky;
    top: 90px;
}

.uxp-checkout-summary h2 {
    margin: 0 0 18px;
    color: var(--uxp-blue-dark);
}

.uxp-checkout-line,
.uxp-checkout-total {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.uxp-checkout-line {
    padding-bottom: 14px;
    color: var(--uxp-muted);
    border-bottom: 1px solid var(--uxp-line);
}

.uxp-checkout-total {
    padding: 16px 0;
    color: var(--uxp-blue-dark);
    font-size: 1.08rem;
}

.uxp-test-banner {
    padding: 12px 14px;
    margin: 4px 0 14px;
    border-radius: 12px;
    background: #fff7e8;
    border: 1px solid #f7ddb0;
}

.uxp-test-banner strong,
.uxp-test-banner span {
    display: block;
}

.uxp-test-banner strong {
    color: #8c5b00;
    font-size: .82rem;
}

.uxp-test-banner span {
    color: #8b7652;
    font-size: .72rem;
    margin-top: 2px;
}

.uxp-pay-button {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    background: var(--uxp-orange);
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

.uxp-commerce-small {
    display: block;
    margin-top: 12px;
    color: var(--uxp-muted);
    font-size: .7rem;
    line-height: 1.4;
}

.uxp-order-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.uxp-order-card {
    padding: 17px;
    border: 1px solid var(--uxp-line);
    border-radius: 16px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.uxp-order-card span,
.uxp-order-card small {
    color: var(--uxp-muted);
    font-size: .72rem;
}

.uxp-order-card h2 {
    margin: 4px 0;
    color: var(--uxp-blue-dark);
    font-size: 1rem;
}

.uxp-order-right {
    text-align: right;
}

.uxp-order-right strong {
    display: block;
    color: var(--uxp-blue-dark);
    font-size: 1.05rem;
}

.uxp-order-right a {
    display: inline-block;
    margin-top: 5px;
    color: var(--uxp-blue);
    text-decoration: none;
    font-weight: 900;
    font-size: .75rem;
}

.uxp-status-completed {
    display: inline-flex;
    margin-top: 4px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #effaf3;
    color: #17743a !important;
    font-weight: 900;
}

.uxp-earnings-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.uxp-earnings-grid > div {
    padding: 18px;
    border: 1px solid var(--uxp-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16,37,75,.05);
}

.uxp-earnings-grid span,
.uxp-earnings-grid strong {
    display: block;
}

.uxp-earnings-grid span {
    color: var(--uxp-muted);
    font-size: .72rem;
    margin-bottom: 6px;
}

.uxp-earnings-grid strong {
    color: var(--uxp-blue-dark);
    font-size: 1.35rem;
}

@media (max-width: 900px) {
    .uxp-checkout-grid {
        grid-template-columns: 1fr;
    }

    .uxp-checkout-summary {
        position: static;
    }

    .uxp-earnings-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 680px) {
    .uxp-commerce-page {
        width: min(100% - 22px, 1180px);
        padding-top: 34px;
    }

    .uxp-buybox {
        grid-template-columns: 1fr;
    }

    .uxp-buybox > a {
        width: 100%;
        min-height: 52px;
    }

    .uxp-checkout-product {
        grid-template-columns: 1fr;
    }

    .uxp-checkout-image {
        width: 100%;
    }

    .uxp-order-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .uxp-order-right {
        text-align: left;
        width: 100%;
    }

    .uxp-earnings-grid {
        grid-template-columns: 1fr;
    }
}


/* v2.1.1 - Integración con panel Mi cuenta */
.ux-account-main .uxp-commerce-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.ux-account-main .uxp-earnings-grid {
    margin-top: 4px;
}


/* =========================================================
   v2.2 - CENTRO DE APRENDIZAJE / CERTIFICADOS / ALUMNOS
   ========================================================= */

.uxp-learning {
    width: 100%;
}

.uxp-module-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.uxp-module-head > div > span {
    display: inline-flex;
    padding: 7px 10px;
    margin-bottom: 9px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--uxp-blue);
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.uxp-module-head h1 {
    margin: 0 0 7px;
    color: var(--uxp-blue-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -.035em;
}

.uxp-module-head p {
    margin: 0;
    color: var(--uxp-muted);
}

.uxp-module-action,
.uxp-primary-action,
.uxp-secondary-action {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 900;
}

.uxp-module-action,
.uxp-primary-action {
    background: var(--uxp-blue);
    color: #fff;
}

.uxp-secondary-action {
    background: #f4f7fb;
    color: #42526a;
    border: 1px solid var(--uxp-line);
}

.uxp-learning-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.uxp-learning-stats article {
    padding: 17px;
    border: 1px solid var(--uxp-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16,37,75,.045);
}

.uxp-learning-stats span,
.uxp-learning-stats strong {
    display: block;
}

.uxp-learning-stats span {
    color: var(--uxp-muted);
    font-size: .7rem;
    margin-bottom: 6px;
}

.uxp-learning-stats strong {
    color: var(--uxp-blue-dark);
    font-size: 1.35rem;
}

.uxp-learning-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.uxp-learning-tabs a {
    padding: 9px 12px;
    border-radius: 999px;
    background: #f5f8fc;
    color: #65738a;
    text-decoration: none;
    font-size: .75rem;
    font-weight: 900;
}

.uxp-learning-tabs a.active {
    background: #e9f1ff;
    color: var(--uxp-blue);
}

.uxp-learning-list {
    display: grid;
    gap: 14px;
}

.uxp-learning-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--uxp-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(16,37,75,.05);
}

.uxp-learning-image {
    position: relative;
    min-height: 190px;
    background: #eef4ff;
    overflow: hidden;
}

.uxp-learning-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uxp-learning-status {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #fff7e8;
    color: #916000;
    font-size: .65rem;
    font-weight: 900;
}

.uxp-learning-status.done {
    background: #effaf3;
    color: #17743a;
}

.uxp-learning-content {
    padding: 19px;
}

.uxp-learning-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 9px;
}

.uxp-learning-topline span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #f5f8fc;
    color: #637189;
    font-size: .66rem;
    font-weight: 800;
}

.uxp-learning-content h2 {
    margin: 0 0 5px;
    color: var(--uxp-blue-dark);
    font-size: 1.15rem;
}

.uxp-learning-content > p {
    margin: 0 0 14px;
    color: var(--uxp-muted);
    font-size: .78rem;
}

.uxp-progress {
    margin: 10px 0;
}

.uxp-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    font-size: .7rem;
    color: #596a83;
}

.uxp-progress-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7edf6;
}

.uxp-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--uxp-blue), var(--uxp-orange));
}

.uxp-last-activity {
    display: block;
    margin-top: 7px;
    color: #8a95a7;
    font-size: .67rem;
}

.uxp-learning-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.uxp-empty-symbol {
    font-size: 2rem;
    margin-bottom: 8px;
}

.uxp-certificate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
}

.uxp-certificate {
    padding: 22px;
    border: 1px solid var(--uxp-line);
    border-radius: 19px;
    background:
        radial-gradient(circle at 90% 8%, rgba(239,107,31,.10), transparent 28%),
        #fff;
    box-shadow: 0 12px 32px rgba(16,37,75,.05);
}

.uxp-certificate-mark {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 15px;
    background: #fff0e8;
    color: var(--uxp-orange);
    font-size: 1.35rem;
}

.uxp-certificate > span {
    color: var(--uxp-blue);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.uxp-certificate h2 {
    margin: 8px 0;
    color: var(--uxp-blue-dark);
    font-size: 1.08rem;
}

.uxp-certificate p {
    color: var(--uxp-muted);
    font-size: .76rem;
    line-height: 1.5;
}

.uxp-certificate-code {
    margin: 14px 0;
    padding: 9px 10px;
    border-radius: 10px;
    background: #f6f8fb;
    color: #66748b;
    font-size: .68rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.uxp-student-filter {
    display: flex;
    justify-content: flex-end;
    margin: 4px 0 14px;
}

.uxp-student-filter select {
    min-height: 44px;
    max-width: 320px;
    border: 1px solid var(--uxp-line);
    border-radius: 11px;
    background: #fff;
    padding: 0 12px;
}

.uxp-student-list {
    display: grid;
    gap: 12px;
}

.uxp-student-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--uxp-line);
    border-radius: 17px;
    background: #fff;
}

.uxp-student-person {
    display: flex;
    align-items: center;
    gap: 11px;
}

.uxp-student-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    color: #fff;
    font-weight: 900;
}

.uxp-student-avatar.no-photo {
    background: linear-gradient(135deg, #2670e8, #103a83);
}

.uxp-student-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uxp-student-person strong,
.uxp-student-person a {
    display: block;
}

.uxp-student-person strong {
    color: var(--uxp-blue-dark);
    font-size: .82rem;
}

.uxp-student-person a {
    margin-top: 3px;
    color: var(--uxp-blue);
    font-size: .68rem;
    text-decoration: none;
    font-weight: 800;
}

.uxp-student-courses {
    display: grid;
    gap: 8px;
}

.uxp-student-course {
    display: grid;
    grid-template-columns: 1fr 170px;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8faff;
}

.uxp-student-course strong,
.uxp-student-course span {
    display: block;
}

.uxp-student-course strong {
    color: #2d405f;
    font-size: .77rem;
}

.uxp-student-course span {
    margin-top: 2px;
    color: #7a879b;
    font-size: .65rem;
}

.uxp-student-progress > span {
    text-align: right;
    margin-bottom: 4px;
    color: #52657d;
    font-size: .67rem;
    font-weight: 900;
}

.uxp-student-progress > div {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4ebf4;
}

.uxp-student-progress i {
    display: block;
    height: 100%;
    background: var(--uxp-blue);
    border-radius: inherit;
}

@media (max-width: 900px) {
    .uxp-learning-stats {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .uxp-certificate-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .uxp-student-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .uxp-module-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .uxp-module-action {
        width: 100%;
        min-height: 50px;
    }

    .uxp-learning-stats {
        grid-template-columns: 1fr 1fr;
    }

    .uxp-learning-card {
        grid-template-columns: 1fr;
    }

    .uxp-learning-image {
        min-height: 180px;
        aspect-ratio: 16/9;
    }

    .uxp-learning-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .uxp-primary-action,
    .uxp-secondary-action {
        width: 100%;
        min-height: 50px;
    }

    .uxp-certificate-grid {
        grid-template-columns: 1fr;
    }

    .uxp-student-filter {
        justify-content: stretch;
    }

    .uxp-student-filter select {
        width: 100%;
        max-width: none;
        min-height: 50px;
    }

    .uxp-student-course {
        grid-template-columns: 1fr;
    }

    .uxp-student-progress > span {
        text-align: left;
    }
}


/* =========================================================
   v2.3 - PLAYER DE APRENDIZAJE
   ========================================================= */

.uxp-player-page {
    width: min(1500px, calc(100% - 28px));
    margin: 0 auto;
    padding: 28px 0 56px;
}

.uxp-player-topbar {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 380px);
    gap: 24px;
    align-items: end;
    margin-bottom: 20px;
}

.uxp-player-topbar a {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--uxp-blue);
    text-decoration: none;
    font-size: .75rem;
    font-weight: 900;
}

.uxp-player-topbar h1 {
    margin: 0;
    color: var(--uxp-blue-dark);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    line-height: 1.05;
}

.uxp-player-overall > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
    color: #60718a;
    font-size: .72rem;
}

.uxp-player-overall strong {
    color: var(--uxp-blue-dark);
}

.uxp-player-progress-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7edf6;
}

.uxp-player-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--uxp-blue), var(--uxp-orange));
}

.uxp-player-shell {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    min-height: 680px;
    overflow: hidden;
    border: 1px solid var(--uxp-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16,37,75,.07);
}

.uxp-player-sidebar {
    border-right: 1px solid var(--uxp-line);
    background: #f8faff;
    overflow-y: auto;
    max-height: calc(100vh - 150px);
}

.uxp-player-sidebar-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-bottom: 1px solid var(--uxp-line);
    background: rgba(248,250,255,.96);
    backdrop-filter: blur(10px);
}

.uxp-player-sidebar-head span,
.uxp-player-sidebar-head strong {
    display: block;
}

.uxp-player-sidebar-head span {
    color: #738097;
    font-size: .68rem;
}

.uxp-player-sidebar-head strong {
    margin-top: 3px;
    color: var(--uxp-blue-dark);
    font-size: .85rem;
}

.uxp-player-sidebar-head button {
    display: none;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #465975;
    font-size: 1.25rem;
    cursor: pointer;
}

.uxp-curriculum {
    padding: 12px;
}

.uxp-curriculum-module + .uxp-curriculum-module {
    margin-top: 14px;
}

.uxp-curriculum-module-title {
    padding: 8px 8px 9px;
}

.uxp-curriculum-module-title span,
.uxp-curriculum-module-title strong {
    display: block;
}

.uxp-curriculum-module-title span {
    color: var(--uxp-blue);
    font-size: .63rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.uxp-curriculum-module-title strong {
    margin-top: 3px;
    color: #334963;
    font-size: .78rem;
}

.uxp-curriculum-lessons {
    display: grid;
    gap: 5px;
}

.uxp-curriculum-lesson {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 9px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: .15s ease;
}

.uxp-curriculum-lesson:hover {
    background: #eef4ff;
}

.uxp-curriculum-lesson.active {
    background: #e9f1ff;
}

.uxp-lesson-state {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #fff;
    border: 1px solid #dce5f1;
    color: #66758a;
    font-size: .68rem;
    font-weight: 900;
}

.uxp-curriculum-lesson.done .uxp-lesson-state {
    background: #eaf8ef;
    border-color: #c9ead3;
    color: #17743a;
}

.uxp-curriculum-lesson strong,
.uxp-curriculum-lesson small {
    display: block;
}

.uxp-curriculum-lesson strong {
    color: #33465f;
    font-size: .74rem;
    line-height: 1.3;
}

.uxp-curriculum-lesson small {
    margin-top: 2px;
    color: #8a96a8;
    font-size: .61rem;
}

.uxp-player-main {
    min-width: 0;
    padding: 28px;
}

.uxp-player-lesson-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.uxp-player-lesson-head > div > span {
    display: block;
    color: var(--uxp-blue);
    font-size: .7rem;
    font-weight: 900;
}

.uxp-player-lesson-head h2 {
    margin: 5px 0 0;
    color: var(--uxp-blue-dark);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1.1;
}

.uxp-player-counter {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f4f7fb;
    color: #6f7d91;
    font-size: .68rem;
    font-weight: 900;
}

.uxp-player-content {
    display: grid;
    gap: 18px;
}

.uxp-video-frame {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    border-radius: 18px;
    background: #0b1220;
}

.uxp-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.uxp-native-video {
    width: 100%;
    max-height: 72vh;
    border-radius: 18px;
    background: #0b1220;
}

.uxp-player-placeholder,
.uxp-external-media {
    min-height: 180px;
    display: grid;
    place-items: center;
    padding: 24px;
    border: 1px dashed #cfd9e7;
    border-radius: 17px;
    background: #fafcff;
    color: #718097;
    text-align: center;
}

.uxp-external-media a {
    color: var(--uxp-blue);
    font-weight: 900;
    text-decoration: none;
}

.uxp-lesson-text {
    color: #43536a;
    font-size: .92rem;
    line-height: 1.75;
}

.uxp-lesson-text h1,
.uxp-lesson-text h2,
.uxp-lesson-text h3 {
    color: var(--uxp-blue-dark);
}

.uxp-lesson-resource,
.uxp-live-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--uxp-line);
    border-radius: 15px;
    background: #f8faff;
}

.uxp-lesson-resource strong,
.uxp-lesson-resource span,
.uxp-live-card strong,
.uxp-live-card span {
    display: block;
}

.uxp-lesson-resource strong,
.uxp-live-card strong {
    color: var(--uxp-blue-dark);
    font-size: .84rem;
}

.uxp-lesson-resource span,
.uxp-live-card span {
    margin-top: 3px;
    color: #748197;
    font-size: .72rem;
}

.uxp-lesson-resource a,
.uxp-live-card a {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 11px;
    background: #edf4ff;
    color: var(--uxp-blue);
    text-decoration: none;
    font-size: .72rem;
    font-weight: 900;
}

.uxp-player-complete-box {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-top: 24px;
    padding: 16px;
    border-radius: 16px;
    background: #f7faff;
    border: 1px solid var(--uxp-line);
}

.uxp-player-complete-box strong,
.uxp-player-complete-box span {
    display: block;
}

.uxp-player-complete-box strong {
    color: var(--uxp-blue-dark);
    font-size: .84rem;
}

.uxp-player-complete-box span {
    margin-top: 3px;
    color: #718096;
    font-size: .72rem;
}

.uxp-complete-lesson {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 15px;
    border: 0;
    border-radius: 12px;
    background: var(--uxp-blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.uxp-complete-lesson.completed {
    background: #e9f8ee;
    color: #17743a;
}

.uxp-player-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf1f6;
}

.uxp-player-navigation > div:last-child {
    text-align: right;
}

.uxp-player-prev,
.uxp-player-next {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 12px;
    text-decoration: none;
    font-size: .76rem;
    font-weight: 900;
}

.uxp-player-prev {
    background: #f4f7fb;
    color: #52637c;
}

.uxp-player-next {
    background: var(--uxp-blue);
    color: #fff;
}

.uxp-curriculum-toggle {
    display: none;
}

@media (max-width: 1000px) {
    .uxp-player-shell {
        grid-template-columns: 280px minmax(0,1fr);
    }
}

@media (max-width: 780px) {
    .uxp-player-page {
        width: min(100% - 18px, 1500px);
        padding-top: 18px;
    }

    .uxp-player-topbar {
        grid-template-columns: 1fr;
    }

    .uxp-player-shell {
        display: block;
        min-height: 0;
        overflow: visible;
        border-radius: 18px;
    }

    .uxp-curriculum-toggle {
        display: inline-flex;
        width: calc(100% - 24px);
        min-height: 48px;
        margin: 12px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--uxp-line);
        border-radius: 12px;
        background: #f7faff;
        color: var(--uxp-blue-dark);
        font-weight: 900;
        cursor: pointer;
    }

    .uxp-player-sidebar {
        position: fixed;
        z-index: 99999;
        inset: 0 auto 0 0;
        width: min(88vw, 340px);
        max-height: none;
        transform: translateX(-105%);
        transition: transform .22s ease;
        box-shadow: 20px 0 50px rgba(12,35,75,.18);
    }

    .uxp-player-sidebar.open {
        transform: translateX(0);
    }

    .uxp-player-sidebar-head button {
        display: grid;
        place-items: center;
    }

    .uxp-curriculum-open {
        overflow: hidden;
    }

    .uxp-player-main {
        padding: 18px 14px;
    }

    .uxp-player-complete-box,
    .uxp-lesson-resource,
    .uxp-live-card {
        align-items: stretch;
        flex-direction: column;
    }

    .uxp-complete-lesson,
    .uxp-lesson-resource a,
    .uxp-live-card a {
        width: 100%;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .uxp-player-lesson-head {
        flex-direction: column;
    }

    .uxp-player-navigation {
        grid-template-columns: 1fr;
    }

    .uxp-player-navigation > div:last-child {
        text-align: left;
    }

    .uxp-player-prev,
    .uxp-player-next {
        width: 100%;
        min-height: 50px;
    }
}


/* v2.3.1 - Selector inteligente del Player */
.uxp-player-picker-head {
    max-width: 760px;
    margin-bottom: 22px;
}

.uxp-player-picker-head > span {
    display: inline-flex;
    padding: 7px 10px;
    margin-bottom: 9px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--uxp-blue);
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.uxp-player-picker-head h1 {
    margin: 0 0 8px;
    color: var(--uxp-blue-dark);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1;
}

.uxp-player-picker-head p {
    margin: 0;
    color: var(--uxp-muted);
}

.uxp-player-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.uxp-player-course-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--uxp-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16,37,75,.06);
}

.uxp-player-course-image {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #eef4ff;
}

.uxp-player-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uxp-player-preview-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    color: var(--uxp-blue);
    font-size: .65rem;
    font-weight: 900;
}

.uxp-player-course-body {
    padding: 17px;
}

.uxp-player-course-body h2 {
    margin: 0 0 5px;
    color: var(--uxp-blue-dark);
    font-size: 1.05rem;
}

.uxp-player-course-body > p {
    margin: 0 0 13px;
    color: var(--uxp-muted);
    font-size: .74rem;
}

.uxp-player-course-body .uxp-primary-action {
    width: 100%;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .uxp-player-course-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 620px) {
    .uxp-player-course-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   v2.4 - CREDENCIALES VERIFICABLES
   ========================================================= */

.uxp-credential-page,
.uxp-verify-page {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 48px 0 72px;
}

.uxp-credential-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.uxp-credential-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 14px;
}

.uxp-credential-actions a,
.uxp-credential-actions button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 11px;
    font-size: .74rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.uxp-credential-actions a {
    background: #f3f6fb;
    color: #52647d;
    border: 1px solid var(--uxp-line);
}

.uxp-credential-actions button {
    border: 0;
    background: var(--uxp-blue);
    color: #fff;
}

.uxp-credential-paper {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    padding: 64px 70px;
    border: 1px solid #d9e3f0;
    border-radius: 26px;
    background:
        radial-gradient(circle at 96% 5%, rgba(239,107,31,.14), transparent 24%),
        radial-gradient(circle at 2% 96%, rgba(33,102,223,.10), transparent 24%),
        #fff;
    box-shadow: 0 26px 70px rgba(16,37,75,.10);
    text-align: center;
}

.uxp-credential-paper::before,
.uxp-credential-paper::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.uxp-credential-paper::before {
    width: 240px;
    height: 240px;
    right: -120px;
    top: -120px;
    border: 30px solid rgba(33,102,223,.06);
}

.uxp-credential-paper::after {
    width: 190px;
    height: 190px;
    left: -95px;
    bottom: -95px;
    border: 26px solid rgba(239,107,31,.06);
}

.uxp-credential-paper.revoked {
    filter: grayscale(.15);
}

.uxp-credential-brand {
    color: #123a77;
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: .08em;
}

.uxp-credential-brand span {
    color: var(--uxp-orange);
}

.uxp-credential-seal {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin: 28px auto 18px;
    border-radius: 50%;
    background: #eaf8ef;
    border: 1px solid #caead4;
    color: #17743a;
    font-size: 1.8rem;
    font-weight: 900;
}

.uxp-credential-paper.revoked .uxp-credential-seal {
    background: #fff1f1;
    border-color: #f1caca;
    color: #b42318;
}

.uxp-credential-kicker {
    display: inline-block;
    color: var(--uxp-blue);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.uxp-credential-paper h1 {
    margin: 9px 0 30px;
    color: var(--uxp-blue-dark);
    font-size: clamp(2rem, 5vw, 3.3rem);
    line-height: 1;
    font-weight: 800;
}

.uxp-credential-intro,
.uxp-credential-copy {
    margin: 0;
    color: #728097;
    font-size: .9rem;
}

.uxp-credential-paper h2 {
    margin: 10px 0 24px;
    color: #173761;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.05;
}

.uxp-credential-paper h3 {
    margin: 10px auto 28px;
    max-width: 720px;
    color: var(--uxp-orange);
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    line-height: 1.2;
}

.uxp-credential-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
    max-width: 760px;
    margin: 0 auto 26px;
}

.uxp-credential-meta > div {
    padding: 13px;
    border-radius: 13px;
    background: #f7faff;
}

.uxp-credential-meta span,
.uxp-credential-meta strong {
    display: block;
}

.uxp-credential-meta span {
    color: #8995a7;
    font-size: .65rem;
    margin-bottom: 4px;
}

.uxp-credential-meta strong {
    color: #384b66;
    font-size: .78rem;
}

.uxp-credential-meta strong.active {
    color: #17743a;
}

.uxp-credential-meta strong.revoked {
    color: #b42318;
}

.uxp-credential-code {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 18px;
    border-radius: 13px;
    background: #eef4ff;
    border: 1px solid #dce8fb;
}

.uxp-credential-code span {
    color: #7890b1;
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.uxp-credential-code strong {
    color: var(--uxp-blue);
    font-size: .84rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.uxp-credential-verify {
    max-width: 720px;
    margin: 18px auto 0;
    color: #8a95a7;
    font-size: .66rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.uxp-credential-verify strong {
    color: #61738d;
}

.uxp-credential-revoked-note {
    margin: 22px auto 0;
    max-width: 650px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff1f1;
    color: #a5261d;
    border: 1px solid #f1cccc;
    font-size: .75rem;
    font-weight: 800;
}

.uxp-verify-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    max-width: 720px;
    margin-bottom: 22px;
}

.uxp-verify-form input {
    min-width: 0;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--uxp-line);
    border-radius: 13px;
    background: #fff;
    color: var(--uxp-blue-dark);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    text-transform: uppercase;
}

.uxp-verify-form button {
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 13px;
    background: var(--uxp-blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.uxp-verify-result {
    max-width: 820px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid var(--uxp-line);
    background: #fff;
    box-shadow: 0 14px 38px rgba(16,37,75,.05);
}

.uxp-verify-result.valid {
    border-color: #c9ead3;
    background: #fbfffc;
}

.uxp-verify-result.invalid {
    border-color: #f0d0d0;
    background: #fffdfd;
}

.uxp-verify-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 1.35rem;
    font-weight: 900;
}

.uxp-verify-result.valid .uxp-verify-icon {
    background: #eaf8ef;
    color: #17743a;
}

.uxp-verify-result.invalid .uxp-verify-icon {
    background: #fff1f1;
    color: #b42318;
}

.uxp-verify-data > strong,
.uxp-verify-data > span {
    display: block;
}

.uxp-verify-data > strong {
    color: var(--uxp-blue-dark);
    font-size: 1rem;
}

.uxp-verify-data > span {
    margin-top: 3px;
    color: #8490a3;
    font-size: .7rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.uxp-verify-data dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 9px;
    margin: 16px 0;
}

.uxp-verify-data dl > div {
    padding: 10px;
    border-radius: 11px;
    background: #f7f9fc;
}

.uxp-verify-data dt {
    color: #8793a6;
    font-size: .62rem;
}

.uxp-verify-data dd {
    margin: 3px 0 0;
    color: #40516a;
    font-size: .77rem;
    font-weight: 800;
}

@media (max-width: 680px) {
    .uxp-credential-page,
    .uxp-verify-page {
        width: min(100% - 18px, 1180px);
        padding-top: 28px;
    }

    .uxp-credential-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .uxp-credential-actions a,
    .uxp-credential-actions button {
        width: 100%;
        min-height: 50px;
    }

    .uxp-credential-paper {
        min-height: 0;
        padding: 38px 18px;
        border-radius: 20px;
    }

    .uxp-credential-meta {
        grid-template-columns: 1fr;
    }

    .uxp-verify-form {
        grid-template-columns: 1fr;
    }

    .uxp-verify-result {
        grid-template-columns: 1fr;
    }

    .uxp-verify-data dl {
        grid-template-columns: 1fr;
    }
}

@media print {
    body * {
        visibility: hidden !important;
    }

    .uxp-credential-paper,
    .uxp-credential-paper * {
        visibility: visible !important;
    }

    .uxp-credential-paper {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 54px 60px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .no-print {
        display: none !important;
    }
}


/* =========================================================
   v2.5 - NOTIFICACIONES + ANUNCIOS
   ========================================================= */

.uxp-nav-badge {
    min-width: 21px;
    height: 21px;
    margin-left: auto;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--uxp-orange);
    color: #fff;
    font-size: .61rem;
    font-weight: 950;
}

.uxp-mark-all-read {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--uxp-line);
    border-radius: 11px;
    background: #fff;
    color: var(--uxp-blue);
    font-size: .74rem;
    font-weight: 900;
    cursor: pointer;
}

.uxp-notification-summary {
    display: flex;
    gap: 7px;
    align-items: baseline;
    margin: -8px 0 16px;
    color: var(--uxp-muted);
    font-size: .75rem;
}

.uxp-notification-summary strong {
    color: var(--uxp-blue-dark);
    font-size: 1rem;
}

.uxp-notification-list {
    display: grid;
    gap: 10px;
}

.uxp-notification-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 13px;
    padding: 15px;
    border: 1px solid var(--uxp-line);
    border-radius: 15px;
    background: #fff;
}

.uxp-notification-item.unread {
    border-color: #cadcff;
    background: #fbfdff;
    box-shadow: 0 10px 24px rgba(33,102,223,.05);
}

.uxp-notification-item.read {
    opacity: .82;
}

.uxp-notification-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #eef4ff;
    color: var(--uxp-blue);
    font-size: 1rem;
    font-weight: 950;
}

.uxp-notification-headline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.uxp-notification-headline strong {
    color: var(--uxp-blue-dark);
    font-size: .84rem;
}

.uxp-unread-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--uxp-orange);
}

.uxp-notification-content > p {
    margin: 5px 0 9px;
    color: #66748b;
    font-size: .76rem;
    line-height: 1.5;
}

.uxp-notification-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.uxp-notification-meta > span {
    color: #929cad;
    font-size: .64rem;
}

.uxp-notification-meta > div {
    display: flex;
    gap: 8px;
}

.uxp-notification-meta a,
.uxp-notification-meta button {
    border: 0;
    background: none;
    color: var(--uxp-blue);
    padding: 0;
    font-size: .68rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.uxp-inline-success {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #effaf3;
    border: 1px solid #caead4;
    color: #17743a;
    font-size: .76rem;
    font-weight: 800;
}

.uxp-announcement-layout {
    display: grid;
    grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: start;
}

.uxp-announcement-form,
.uxp-announcement-history {
    padding: 18px;
    border: 1px solid var(--uxp-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16,37,75,.04);
}

.uxp-announcement-form h2,
.uxp-announcement-history h2 {
    margin: 0 0 15px;
    color: var(--uxp-blue-dark);
    font-size: 1rem;
}

.uxp-announcement-form label {
    display: block;
    margin-bottom: 12px;
}

.uxp-announcement-form label > span {
    display: block;
    margin-bottom: 5px;
    color: #5d6d84;
    font-size: .7rem;
    font-weight: 900;
}

.uxp-announcement-form input,
.uxp-announcement-form select,
.uxp-announcement-form textarea {
    width: 100%;
    border: 1px solid #d8e1ed;
    border-radius: 11px;
    background: #fbfdff;
    color: var(--uxp-blue-dark);
    padding: 10px 11px;
}

.uxp-announcement-form input,
.uxp-announcement-form select {
    min-height: 45px;
}

.uxp-announcement-form textarea {
    resize: vertical;
}

.uxp-announcement-form > button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: var(--uxp-blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.uxp-announcement-form > small {
    display: block;
    margin-top: 9px;
    color: #8b96a7;
    font-size: .65rem;
    line-height: 1.4;
}

.uxp-announcement-history-list {
    display: grid;
    gap: 9px;
}

.uxp-announcement-history-list article {
    padding: 13px;
    border-radius: 12px;
    background: #f8faff;
}

.uxp-announcement-history-list article > span,
.uxp-announcement-history-list article > strong,
.uxp-announcement-history-list article > small {
    display: block;
}

.uxp-announcement-history-list article > span {
    color: var(--uxp-blue);
    font-size: .63rem;
    font-weight: 900;
}

.uxp-announcement-history-list article > strong {
    margin-top: 4px;
    color: #354964;
    font-size: .78rem;
}

.uxp-announcement-history-list article > p {
    margin: 5px 0;
    color: #66748b;
    font-size: .72rem;
    line-height: 1.45;
}

.uxp-announcement-history-list article > small {
    color: #929bad;
    font-size: .61rem;
}

.uxp-course-announcements {
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid #e7d9bb;
    border-radius: 14px;
    background: #fffaf0;
}

.uxp-course-announcements-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
}

.uxp-course-announcements-head > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff0d5;
    color: #b66d00;
}

.uxp-course-announcements-head strong,
.uxp-course-announcements-head small {
    display: block;
}

.uxp-course-announcements-head strong {
    color: #6d4c17;
    font-size: .78rem;
}

.uxp-course-announcements-head small {
    margin-top: 2px;
    color: #9a7b4d;
    font-size: .63rem;
}

.uxp-course-announcement-list {
    display: grid;
    gap: 8px;
}

.uxp-course-announcement-list article {
    padding: 10px 11px;
    border-radius: 10px;
    background: rgba(255,255,255,.72);
}

.uxp-course-announcement-list strong {
    color: #5f491f;
    font-size: .74rem;
}

.uxp-course-announcement-list p {
    margin: 4px 0;
    color: #7b6a4c;
    font-size: .69rem;
    line-height: 1.45;
}

.uxp-course-announcement-list small {
    color: #a08c6e;
    font-size: .6rem;
}

@media (max-width: 850px) {
    .uxp-announcement-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .uxp-module-head .uxp-mark-all-read {
        width: 100%;
        min-height: 50px;
    }

    .uxp-notification-item {
        grid-template-columns: 42px 1fr;
        padding: 12px;
    }

    .uxp-notification-icon {
        width: 40px;
        height: 40px;
    }

    .uxp-notification-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .uxp-notification-meta > div {
        flex-wrap: wrap;
    }

    .uxp-announcement-form,
    .uxp-announcement-history {
        padding: 14px;
    }
}


/* =========================================================
   v2.6 - PREGUNTAS Y RESPUESTAS
   ========================================================= */

.uxp-qa-player {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid var(--uxp-line);
    border-radius: 17px;
    background: #fbfdff;
}

.uxp-qa-player-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.uxp-qa-player-head span {
    display: block;
    color: var(--uxp-blue);
    font-size: .65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.uxp-qa-player-head h3 {
    margin: 4px 0 0;
    color: var(--uxp-blue-dark);
    font-size: 1rem;
}

.uxp-qa-player-head > strong {
    padding: 6px 9px;
    border-radius: 999px;
    background: #eef4ff;
    color: #607493;
    font-size: .65rem;
}

.uxp-qa-ask-form {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.uxp-qa-ask-form input,
.uxp-qa-ask-form textarea,
.uxp-qa-answer-form textarea {
    width: 100%;
    border: 1px solid #d8e1ed;
    border-radius: 11px;
    background: #fff;
    color: var(--uxp-blue-dark);
    padding: 10px 11px;
}

.uxp-qa-ask-form textarea,
.uxp-qa-answer-form textarea {
    resize: vertical;
}

.uxp-qa-ask-form > div,
.uxp-qa-answer-form > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.uxp-qa-ask-form button,
.uxp-qa-answer-form button {
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 11px;
    background: var(--uxp-blue);
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    cursor: pointer;
}

.uxp-qa-form-message {
    color: #78869a;
    font-size: .68rem;
    font-weight: 800;
}

.uxp-qa-form-message.success {
    color: #17743a;
}

.uxp-qa-form-message.error {
    color: #b42318;
}

.uxp-qa-empty {
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    color: #78869a;
    text-align: center;
    font-size: .73rem;
}

.uxp-qa-thread-list,
.uxp-qa-account-list {
    display: grid;
    gap: 10px;
}

.uxp-qa-thread,
.uxp-qa-account-card {
    padding: 14px;
    border: 1px solid var(--uxp-line);
    border-radius: 14px;
    background: #fff;
}

.uxp-qa-thread-top,
.uxp-qa-account-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.uxp-qa-thread-top strong,
.uxp-qa-account-card-head h2 {
    color: #354963;
}

.uxp-qa-thread-top strong {
    font-size: .79rem;
}

.uxp-qa-thread-top div > span,
.uxp-qa-account-card-head div > span {
    display: block;
    margin-top: 3px;
    color: #8995a7;
    font-size: .62rem;
}

.uxp-qa-account-card-head h2 {
    margin: 4px 0 0;
    font-size: .9rem;
}

.uxp-qa-thread > p,
.uxp-qa-account-card > p {
    margin: 9px 0;
    color: #66748b;
    font-size: .75rem;
    line-height: 1.5;
}

.uxp-qa-status {
    flex: 0 0 auto;
    padding: 6px 8px;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 900;
}

.uxp-qa-status.open {
    background: #fff7e8;
    color: #926000;
}

.uxp-qa-status.answered {
    background: #eaf8ef;
    color: #17743a;
}

.uxp-qa-answer {
    margin-top: 10px;
    padding: 11px 12px;
    border-left: 3px solid var(--uxp-blue);
    border-radius: 0 10px 10px 0;
    background: #f4f8ff;
}

.uxp-qa-answer > span {
    display: block;
    color: var(--uxp-blue);
    font-size: .62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.uxp-qa-answer p {
    margin: 5px 0;
    color: #53637a;
    font-size: .74rem;
    line-height: 1.5;
}

.uxp-qa-answer small {
    color: #8995a7;
    font-size: .61rem;
}

.uxp-qa-teacher-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.uxp-qa-teacher-summary article {
    padding: 15px;
    border: 1px solid var(--uxp-line);
    border-radius: 14px;
    background: #fff;
}

.uxp-qa-teacher-summary span,
.uxp-qa-teacher-summary strong {
    display: block;
}

.uxp-qa-teacher-summary span {
    color: var(--uxp-muted);
    font-size: .68rem;
}

.uxp-qa-teacher-summary strong {
    margin-top: 5px;
    color: var(--uxp-blue-dark);
    font-size: 1.25rem;
}

.uxp-qa-filter {
    display: grid;
    grid-template-columns: 1fr 180px auto;
    gap: 9px;
    margin-bottom: 14px;
}

.uxp-qa-filter select,
.uxp-qa-filter button {
    min-height: 44px;
    border-radius: 11px;
}

.uxp-qa-filter select {
    border: 1px solid var(--uxp-line);
    background: #fff;
    padding: 0 10px;
}

.uxp-qa-filter button {
    border: 0;
    padding: 0 15px;
    background: var(--uxp-blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.uxp-qa-answer-form {
    margin-top: 11px;
}

.uxp-qa-answer-form > div {
    margin-top: 8px;
}

@media (max-width: 680px) {
    .uxp-qa-player {
        padding: 14px;
    }

    .uxp-qa-player-head,
    .uxp-qa-thread-top,
    .uxp-qa-account-card-head {
        flex-direction: column;
    }

    .uxp-qa-ask-form > div,
    .uxp-qa-answer-form > div {
        align-items: stretch;
        flex-direction: column;
    }

    .uxp-qa-ask-form button,
    .uxp-qa-answer-form button {
        width: 100%;
        min-height: 50px;
    }

    .uxp-qa-teacher-summary {
        grid-template-columns: 1fr 1fr;
    }

    .uxp-qa-filter {
        grid-template-columns: 1fr;
    }

    .uxp-qa-filter select,
    .uxp-qa-filter button {
        width: 100%;
        min-height: 50px;
    }
}


/* =========================================================
   v2.7 - ANALÍTICA
   ========================================================= */

.uxp-analytics-overview {
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.uxp-analytics-overview article {
    padding: 15px;
    border: 1px solid var(--uxp-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(16,37,75,.04);
}

.uxp-analytics-overview span,
.uxp-analytics-overview strong {
    display: block;
}

.uxp-analytics-overview span {
    color: var(--uxp-muted);
    font-size: .64rem;
    line-height: 1.35;
}

.uxp-analytics-overview strong {
    margin-top: 6px;
    color: var(--uxp-blue-dark);
    font-size: 1.2rem;
}

.uxp-analytics-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--uxp-line);
    border-radius: 16px;
    background: #fff;
}

.uxp-analytics-table {
    width: 100%;
    min-width: 940px;
    border-collapse: collapse;
}

.uxp-analytics-table th,
.uxp-analytics-table td {
    padding: 12px 13px;
    border-bottom: 1px solid #edf1f6;
    text-align: left;
    white-space: nowrap;
}

.uxp-analytics-table th {
    background: #f8faff;
    color: #708097;
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.uxp-analytics-table td {
    color: #53647b;
    font-size: .72rem;
}

.uxp-analytics-table td:first-child {
    min-width: 210px;
}

.uxp-analytics-table td strong,
.uxp-analytics-table td small {
    display: block;
}

.uxp-analytics-table td strong {
    color: var(--uxp-blue-dark);
    font-size: .75rem;
}

.uxp-analytics-table td small {
    margin-top: 3px;
    color: #919cad;
    font-size: .6rem;
}

.uxp-analytics-note {
    margin-top: 12px;
    color: #8b97a8;
    font-size: .64rem;
}

@media (max-width: 1050px) {
    .uxp-analytics-overview {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 620px) {
    .uxp-analytics-overview {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}


/* =========================================================
   v2.8 - CUPONES + REEMBOLSOS
   ========================================================= */

.uxp-checkout-line.discount {
    color: #17743a;
}

.uxp-checkout-line.discount strong {
    color: #17743a;
}

.uxp-coupon-form {
    margin: 14px 0;
    padding: 13px;
    border-radius: 13px;
    background: #f7f9fd;
    border: 1px solid var(--uxp-line);
}

.uxp-coupon-form > label {
    display: block;
    margin-bottom: 7px;
    color: #52637b;
    font-size: .7rem;
    font-weight: 900;
}

.uxp-coupon-form > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.uxp-coupon-form input {
    min-width: 0;
    min-height: 43px;
    padding: 0 11px;
    border: 1px solid #d7e1ee;
    border-radius: 10px;
    background: #fff;
    text-transform: uppercase;
}

.uxp-coupon-form button {
    min-height: 43px;
    padding: 0 13px;
    border: 0;
    border-radius: 10px;
    background: #edf4ff;
    color: var(--uxp-blue);
    font-weight: 900;
    cursor: pointer;
}

.uxp-coupon-message {
    display: block;
    margin-top: 7px;
    font-size: .65rem;
    font-weight: 800;
}

.uxp-coupon-message.success {
    color: #17743a;
}

.uxp-coupon-message.error {
    color: #b42318;
}

.uxp-order-card-expanded {
    grid-template-columns: minmax(0,1fr) auto;
}

.uxp-order-actions {
    grid-column: 1 / -1;
    border-top: 1px solid #edf1f6;
    padding-top: 10px;
}

.uxp-order-coupon {
    display: block;
    margin-top: 5px;
    color: #17743a !important;
}

.uxp-order-original {
    display: block;
    text-decoration: line-through;
    color: #9aa4b2 !important;
}

.uxp-order-status {
    display: inline-flex;
    margin-top: 4px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 900;
}

.uxp-order-status.completed {
    background: #effaf3;
    color: #17743a;
}

.uxp-order-status.refunded {
    background: #f3f5f8;
    color: #68768a;
}

.uxp-refund-request summary {
    color: var(--uxp-blue);
    font-size: .72rem;
    font-weight: 900;
    cursor: pointer;
}

.uxp-refund-request form {
    display: grid;
    gap: 8px;
    max-width: 620px;
    margin-top: 10px;
}

.uxp-refund-request textarea {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid var(--uxp-line);
    border-radius: 11px;
    resize: vertical;
}

.uxp-refund-request button {
    justify-self: start;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: var(--uxp-blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.uxp-refund-inline {
    color: #6e7c91;
    font-size: .72rem;
}

.uxp-refund-list {
    display: grid;
    gap: 11px;
}

.uxp-refund-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--uxp-line);
    border-radius: 15px;
    background: #fff;
}

.uxp-refund-card span,
.uxp-refund-card small {
    color: #8a95a7;
    font-size: .66rem;
}

.uxp-refund-card h2 {
    margin: 4px 0;
    color: var(--uxp-blue-dark);
    font-size: .95rem;
}

.uxp-refund-card p {
    margin: 5px 0;
    color: #64738a;
    font-size: .74rem;
}

.uxp-refund-side {
    text-align: right;
}

.uxp-refund-side > strong {
    display: block;
    color: var(--uxp-blue-dark);
}

.uxp-refund-status {
    display: inline-flex;
    margin-top: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: .63rem !important;
    font-weight: 900;
}

.uxp-refund-status.pending {
    background: #fff7e8;
    color: #926000;
}

.uxp-refund-status.approved {
    background: #eaf8ef;
    color: #17743a;
}

.uxp-refund-status.rejected {
    background: #fff1f1;
    color: #b42318;
}

@media (max-width: 680px) {
    .uxp-coupon-form > div {
        grid-template-columns: 1fr;
    }

    .uxp-coupon-form button {
        width: 100%;
        min-height: 48px;
    }

    .uxp-refund-card {
        grid-template-columns: 1fr;
    }

    .uxp-refund-side {
        text-align: left;
    }

    .uxp-refund-request button {
        width: 100%;
        min-height: 48px;
    }
}
