
@media (min-width: 800px) {
    .ecommerce-shopping{
        margin-left: 15%;
		margin-right: 15%;
    }
}
@media (max-width: 800px) {
    .ecommerce-shopping{
        margin-left: 1px;
		margin-right: 1px;
    }
}

.ecommerce-shopping .card{
	height: auto;
}

/* =========================================================
 * Finish (transaction completed) page — professional layout
 * Used by Badiu/Finac/EcommerceBundle/View/Finish/*
 * Built on Bootstrap 5; safe to include alongside legacy
 * stepwizard markup.
 * ========================================================= */

.badiu-finish-page {
    background: linear-gradient(180deg, #f6faf7 0%, #ffffff 60%);
    padding: 24px 0 48px;
}

.badiu-finish-wrapper {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Step wizard (modern, responsive) ---------- */
.badiu-checkout-steps {
    margin: 8px 0 32px;
}

.badiu-checkout-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    counter-reset: step;
}

.badiu-checkout-steps-list::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #d9e3df;
    z-index: 0;
}

.badiu-checkout-step {
    flex: 1 1 0;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 6px;
}

.badiu-checkout-step-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #d9e3df;
    color: #adb5bd;
    font-size: 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    transition: all .2s ease;
}

.badiu-checkout-step.is-done .badiu-checkout-step-bullet {
    background: #198754;
    border-color: #198754;
    color: #ffffff;
}

.badiu-checkout-step.is-current .badiu-checkout-step-bullet {
    background: #ffffff;
    border-color: #198754;
    color: #198754;
    box-shadow: 0 0 0 4px rgba(25,135,84,.15);
    transform: scale(1.05);
}

.badiu-checkout-step-label {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.3;
    color: #495057;
    font-weight: 500;
    word-break: break-word;
}

.badiu-checkout-step.is-current .badiu-checkout-step-label {
    color: #146c43;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .badiu-checkout-step-bullet {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    .badiu-checkout-steps-list::before {
        top: 18px;
    }
    .badiu-checkout-step-label {
        font-size: 11px;
        margin-top: 6px;
    }
}

/* ---------- Hero (success / info banner) ---------- */
.badiu-finish-hero {
    padding: 8px 0 24px;
}

.badiu-finish-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    font-size: 42px;
    margin: 0 auto 20px;
    animation: badiuFinishPop .35s ease-out both;
}

.badiu-finish-hero-icon.is-success {
    background: rgba(25,135,84,.12);
    color: #198754;
    box-shadow: 0 0 0 8px rgba(25,135,84,.06);
}

.badiu-finish-hero-icon.is-info {
    background: rgba(13,110,253,.12);
    color: #0d6efd;
    box-shadow: 0 0 0 8px rgba(13,110,253,.06);
}

@keyframes badiuFinishPop {
    0%   { transform: scale(.6); opacity: 0; }
    60%  { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); }
}

.badiu-finish-hero-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1f2d3d;
    margin: 0 0 8px;
    letter-spacing: -.01em;
}

.badiu-finish-hero-subtitle {
    font-size: 1rem;
    color: #6c757d;
    max-width: 560px;
    margin: 0 auto 16px;
    line-height: 1.55;
}

.badiu-finish-message {
    border: 0;
    border-radius: 10px;
    text-align: left;
    margin-top: 16px;
    margin-bottom: 0;
    padding: 14px 18px;
    font-size: .95rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.badiu-finish-message a {
    font-weight: 600;
}

/* ---------- CTA section (e.g. "Acesse o curso") ---------- */
.badiu-finish-cta {
    margin: 24px 0 8px;
}

.badiu-finish-cta .btn {
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(13,110,253,.18);
    transition: transform .15s ease, box-shadow .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.badiu-finish-cta .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(13,110,253,.24);
}

.badiu-finish-cta .btn-primary,
.badiu-finish-cta a.btn[class*="btn-"] {
    width: 100%;
}

/* External CTAs sometimes ship as `form-control btn btn-primary`, which
 * collides with Bootstrap 5 form input styling — restore button look. */
.badiu-finish-cta .form-control.btn,
.badiu-finish-cta .course-access-link-transation-completed .btn {
    height: auto;
    line-height: 1.4;
    background-clip: padding-box;
}

.badiu-finish-cta .course-access-link-transation-completed .btn-primary::before {
    content: "\f054"; /* chevron-right */
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome;
    font-weight: 900;
    margin-right: 4px;
    opacity: .85;
}

.badiu-finish-additional {
    border: 0;
    border-radius: 10px;
    margin: 16px 0 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

/* ---------- Receipt-style transaction details ---------- */
.badiu-finish-receipt {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    margin-top: 28px;
    box-shadow: 0 6px 24px rgba(15,23,42,.06);
    overflow: hidden;
}

.badiu-finish-receipt-header {
    padding: 18px 22px;
    border-bottom: 1px solid #eef1f4;
    background: #fbfdfc;
}

.badiu-finish-receipt-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: #1f2d3d;
    display: flex;
    align-items: center;
}

.badiu-finish-receipt-title i {
    color: #198754;
}

.badiu-finish-receipt-body {
    padding: 18px 22px;
}

/* Tighten up the generic dashboard cards rendered by FactoryDashboard
 * inside the receipt body so they blend with the receipt look. */
.badiu-finish-receipt-body .card {
    border: 1px solid #eef1f4;
    border-radius: 10px;
    box-shadow: none;
    margin-bottom: 16px;
}

.badiu-finish-receipt-body .card:last-child {
    margin-bottom: 0;
}

.badiu-finish-receipt-body .card-header {
    background: #fbfdfc;
    border-bottom: 1px solid #eef1f4;
    font-weight: 600;
    color: #1f2d3d;
    padding: 12px 16px;
}

.badiu-finish-receipt-body .card-body {
    padding: 8px 16px;
}

.badiu-finish-receipt-body table {
    margin-bottom: 0;
}

.badiu-finish-receipt-body table td,
.badiu-finish-receipt-body table th {
    border-color: #f1f3f5;
    padding: 12px 8px;
    vertical-align: middle;
}

.badiu-finish-receipt-body table tr:last-child td {
    border-bottom: 0;
}

.badiu-finish-receipt-body table td:first-child {
    color: #6c757d;
    font-weight: 500;
    width: 35%;
}

.badiu-finish-receipt-body table td:last-child {
    color: #1f2d3d;
    font-weight: 500;
}

.badiu-finish-footer-content {
    margin-top: 20px;
}

/* ---------- PIX card ---------- */
.badiu-pix-card {
    border-radius: 14px;
    background: #ffffff;
}

.badiu-pix-card .card-header h5 {
    color: #146c43;
}

.badiu-pix-qrcode {
    display: inline-block;
    padding: 12px;
    background: #ffffff;
    border: 2px dashed #d9e3df;
    border-radius: 12px;
}

.badiu-pix-qrcode img {
    width: 220px;
    height: 220px;
    max-width: 100%;
    display: block;
}

.badiu-pix-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .875rem;
    background: #f8f9fa;
    border-radius: 8px;
    resize: none;
}

/* ---------- Legacy aliases (kept so old classnames keep working) ---------- */
.ecommerce-finisht-message-result,
.ecommerce-finisht-message-head,
.ecommerce-finisht-message-footer {
    border-radius: 10px;
}

/* =========================================================
 * Inforequest (selection enrollment info) page
 * Used by Badiu/Admin/SelectionBundle/View/Inforequest/*
 * Shares the .badiu-checkout-steps stepwizard with the
 * ecommerce finish page above.
 * ========================================================= */

.badiu-inforequest-page {
    background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 60%);
    padding: 24px 0 48px;
}

.badiu-inforequest-wrapper {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Hero ---------- */
.badiu-inforequest-hero {
    padding: 8px 0 24px;
}

.badiu-inforequest-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(13,110,253,.10);
    color: #0d6efd;
    font-size: 36px;
    margin: 0 auto 16px;
    box-shadow: 0 0 0 8px rgba(13,110,253,.05);
}

.badiu-inforequest-hero-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6c757d;
    margin-bottom: 8px;
}

.badiu-inforequest-hero-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1f2d3d;
    margin: 0;
    letter-spacing: -.01em;
    line-height: 1.25;
}

/* ---------- Status alerts ---------- */
.badiu-inforequest-alert {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    margin-top: 16px;
    padding: 14px 18px;
    font-size: .95rem;
}

/* ---------- Main info card ---------- */
.badiu-inforequest-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    margin-top: 24px;
    box-shadow: 0 6px 24px rgba(15,23,42,.06);
    overflow: hidden;
}

.badiu-inforequest-card-header {
    padding: 18px 22px;
    border-bottom: 1px solid #eef1f4;
    background: #fbfdff;
}

.badiu-inforequest-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: #1f2d3d;
    display: flex;
    align-items: center;
}

.badiu-inforequest-card-title i {
    color: #0d6efd;
}

.badiu-inforequest-card-body {
    padding: 20px 22px;
}

/* ---------- Details list (dl/dt/dd as rows) ---------- */
.badiu-inforequest-details {
    margin: 0;
    padding: 0;
}

.badiu-inforequest-detail {
    display: grid;
    grid-template-columns: minmax(180px, 35%) 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f3f5;
}

.badiu-inforequest-detail:last-of-type {
    border-bottom: 0;
}

.badiu-inforequest-detail dt {
    color: #6c757d;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
}

.badiu-inforequest-detail dd {
    color: #1f2d3d;
    font-weight: 500;
    margin: 0;
    word-break: break-word;
}

@media (max-width: 575.98px) {
    .badiu-inforequest-detail {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* ---------- Coupon ---------- */
.badiu-inforequest-coupon {
    background: #f8fafc;
    border: 1px dashed #cfd8e3;
    border-radius: 12px;
    padding: 16px 18px;
    margin-top: 18px;
}

.badiu-inforequest-coupon-label {
    display: flex;
    align-items: center;
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 8px;
}

.badiu-inforequest-coupon-error {
    margin-top: 0;
    margin-bottom: 10px;
}

.badiu-inforequest-coupon .form-control {
    border-radius: 8px;
    border: 1px solid #cfd8e3;
    padding: 10px 14px;
    background: #ffffff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.badiu-inforequest-coupon .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,.15);
}

/* ---------- Presentation message (rich text from project) ---------- */
.badiu-inforequest-presentation {
    margin-top: 20px;
}

.badiu-inforequest-presentation-divider {
    height: 1px;
    background: #eef1f4;
    margin: 6px 0 16px;
}

.badiu-inforequest-presentation-content {
    color: #495057;
    line-height: 1.65;
}

.badiu-inforequest-presentation-content :first-child { margin-top: 0; }
.badiu-inforequest-presentation-content :last-child { margin-bottom: 0; }

/* ---------- Card footer / CTA ---------- */
.badiu-inforequest-card-footer {
    padding: 18px 22px 22px;
    background: #fbfdff;
    border-top: 1px solid #eef1f4;
}

.badiu-inforequest-cta {
    width: 100%;
    border-radius: 10px;
    padding: 14px 22px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(13,110,253,.20);
    transition: transform .15s ease, box-shadow .15s ease;
}

.badiu-inforequest-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(13,110,253,.28);
}

.badiu-inforequest-cta:disabled,
.badiu-inforequest-cta.disabled {
    opacity: .65;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

/* =========================================================
 * Sign-in / register page (enrollment flow, step 2)
 * Used by Badiu/Admin/SelectionBundle/View/Loginsingin/*
 * Scoped to .badiu-signin-page so the global form-add
 * template (used elsewhere) is NOT affected.
 * ========================================================= */

.badiu-signin-page {
    background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 60%);
    padding: 24px 0 48px;
}

.badiu-signin-wrapper {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Hero ---------- */
.badiu-signin-hero {
    padding: 8px 0 24px;
}

.badiu-signin-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(13,110,253,.10);
    color: #0d6efd;
    font-size: 36px;
    margin: 0 auto 16px;
    box-shadow: 0 0 0 8px rgba(13,110,253,.05);
}

.badiu-signin-hero-eyebrow {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2d3d;
    letter-spacing: -.01em;
    margin-bottom: 8px;
}

.badiu-signin-hero-subtitle {
    color: #6c757d;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.55;
}

/* ---------- Cards (login / recover / register) ---------- */
.badiu-signin-page .badiu-signin-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    margin-top: 20px;
    box-shadow: 0 6px 24px rgba(15,23,42,.06);
    overflow: hidden;
    height: auto;
}

.badiu-signin-card-header {
    padding: 18px 22px;
    border-bottom: 1px solid #eef1f4;
    background: #fbfdff;
}

.badiu-signin-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: #1f2d3d;
    display: flex;
    align-items: center;
}

.badiu-signin-card-title i {
    color: #0d6efd;
}

.badiu-signin-card-body {
    padding: 22px;
}

.badiu-signin-card-footer {
    padding: 18px 22px 22px;
    background: #fbfdff;
    border-top: 1px solid #eef1f4;
}

/* ---------- Alerts ---------- */
.badiu-signin-alert {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    padding: 12px 16px;
    font-size: .95rem;
    margin-bottom: 16px;
}

.badiu-signin-alert:last-child {
    margin-bottom: 0;
}

/* ---------- Login fields (scoped to this page only) ---------- */
.badiu-signin-field {
    margin-bottom: 16px;
}

.badiu-signin-field:last-child {
    margin-bottom: 0;
}

.badiu-signin-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1f2d3d;
    margin-bottom: 6px;
    font-size: .9rem;
}

.badiu-signin-required {
    color: #dc3545;
    margin-left: 4px;
    font-weight: 700;
}

.badiu-signin-page .badiu-signin-input.form-control {
    border-radius: 10px;
    border: 1px solid #cfd8e3;
    padding: 12px 14px;
    background: #ffffff;
    font-size: .95rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.badiu-signin-page .badiu-signin-input.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,.15);
    outline: 0;
}

/* ---------- Action buttons ---------- */
.badiu-signin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.badiu-signin-page .badiu-signin-cta.btn {
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, box-shadow .15s ease;
}

.badiu-signin-page .badiu-signin-cta-primary.btn {
    box-shadow: 0 4px 14px rgba(13,110,253,.20);
}

.badiu-signin-page .badiu-signin-cta-primary.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(13,110,253,.28);
}

.badiu-signin-process-icon {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 575.98px) {
    .badiu-signin-actions .badiu-signin-cta.btn {
        width: 100%;
    }
}

/* ---------- "form-add" wrapper: scope-only padding tweaks ----------
 * We intentionally do NOT restyle the inner inputs rendered by the
 * global form template (factoryformfilter->exec('add')). We only
 * tighten its outer padding so it sits flush in the card. */
.badiu-signin-page .badiu-signin-formadd > .row:first-child {
    margin-top: 0;
}

/* ---------- SSO block ---------- */
.badiu-signin-sso {
    margin-top: 24px;
    text-align: center;
}

.badiu-signin-sso-divider {
    position: relative;
    text-align: center;
    color: #adb5bd;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}

.badiu-signin-sso-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    z-index: 0;
}

.badiu-signin-sso-divider span {
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding: 0 12px;
}

.badiu-signin-page .badiu-signin-sso .badiu-signin-cta.btn {
    min-width: 280px;
}

/* =========================================================
 * Statusrequest (enrollment request status) page
 * Used by Badiu/Admin/SelectionBundle/View/Statusrequest/*
 * Final step of the enrollment flow — shows current status
 * (accepted, in queue, awaiting analysis, denied, cancelled,
 * inaccessible) and an optional CTA when the request is
 * approved.
 * ========================================================= */

.badiu-statusrequest-page {
    background: linear-gradient(180deg, #f6faf7 0%, #ffffff 60%);
    padding: 24px 0 48px;
}

.badiu-statusrequest-wrapper {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Hero (status-aware icon) ---------- */
.badiu-statusrequest-hero {
    padding: 8px 0 24px;
}

.badiu-statusrequest-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    font-size: 42px;
    margin: 0 auto 16px;
    animation: badiuFinishPop .35s ease-out both;
}

.badiu-statusrequest-hero-icon.is-success {
    background: rgba(25,135,84,.12);
    color: #198754;
    box-shadow: 0 0 0 8px rgba(25,135,84,.06);
}

.badiu-statusrequest-hero-icon.is-info {
    background: rgba(13,110,253,.12);
    color: #0d6efd;
    box-shadow: 0 0 0 8px rgba(13,110,253,.06);
}

.badiu-statusrequest-hero-icon.is-danger {
    background: rgba(220,53,69,.12);
    color: #dc3545;
    box-shadow: 0 0 0 8px rgba(220,53,69,.06);
}

.badiu-statusrequest-hero-icon.is-warning {
    background: rgba(255,193,7,.18);
    color: #b88700;
    box-shadow: 0 0 0 8px rgba(255,193,7,.08);
}

.badiu-statusrequest-hero-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6c757d;
    margin-bottom: 8px;
}

.badiu-statusrequest-hero-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1f2d3d;
    margin: 0;
    letter-spacing: -.01em;
    line-height: 1.25;
}

/* ---------- Status alert (centered) ---------- */
.badiu-statusrequest-alert {
    border: 0;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    margin-top: 16px;
    padding: 14px 18px;
    font-size: .95rem;
}

/* ---------- Receipt-style card ---------- */
.badiu-statusrequest-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    margin-top: 24px;
    box-shadow: 0 6px 24px rgba(15,23,42,.06);
    overflow: hidden;
}

.badiu-statusrequest-card-header {
    padding: 18px 22px;
    border-bottom: 1px solid #eef1f4;
    background: #fbfdfc;
}

.badiu-statusrequest-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: #1f2d3d;
    display: flex;
    align-items: center;
}

.badiu-statusrequest-card-title i {
    color: #0d6efd;
}

.badiu-statusrequest-card-body {
    padding: 20px 22px;
}

/* ---------- Details (dl/dt/dd) ---------- */
.badiu-statusrequest-details {
    margin: 0;
    padding: 0;
}

.badiu-statusrequest-detail {
    display: grid;
    grid-template-columns: minmax(180px, 30%) 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f3f5;
}

.badiu-statusrequest-detail:last-of-type {
    border-bottom: 0;
}

.badiu-statusrequest-detail dt {
    color: #6c757d;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
}

.badiu-statusrequest-detail dd {
    color: #1f2d3d;
    font-weight: 500;
    margin: 0;
    word-break: break-word;
}

@media (max-width: 575.98px) {
    .badiu-statusrequest-detail {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* ---------- Status badge ---------- */
.badiu-statusrequest-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    background: #e9ecef;
    color: #495057;
    line-height: 1.5;
}

.badiu-statusrequest-badge.is-acept {
    background: rgba(25,135,84,.12);
    color: #146c43;
}

.badiu-statusrequest-badge.is-waitanalysis,
.badiu-statusrequest-badge.is-inqueue,
.badiu-statusrequest-badge.is-preregistration {
    background: rgba(13,110,253,.12);
    color: #0a58ca;
}

.badiu-statusrequest-badge.is-dained,
.badiu-statusrequest-badge.is-inaccessible {
    background: rgba(220,53,69,.12);
    color: #b02a37;
}

.badiu-statusrequest-badge.is-cancelled {
    background: rgba(255,193,7,.18);
    color: #997404;
}

/* ---------- Presentation message ---------- */
.badiu-statusrequest-presentation {
    margin-top: 18px;
}

.badiu-statusrequest-presentation-divider {
    height: 1px;
    background: #eef1f4;
    margin: 6px 0 16px;
}

.badiu-statusrequest-presentation-content {
    color: #495057;
    line-height: 1.65;
}

.badiu-statusrequest-presentation-content :first-child { margin-top: 0; }
.badiu-statusrequest-presentation-content :last-child  { margin-bottom: 0; }

/* ---------- CTA ---------- */
.badiu-statusrequest-card-footer {
    padding: 18px 22px 22px;
    background: #fbfdfc;
    border-top: 1px solid #eef1f4;
}

.badiu-statusrequest-page .badiu-statusrequest-cta.btn {
    width: 100%;
    border-radius: 10px;
    padding: 14px 22px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(13,110,253,.20);
    transition: transform .15s ease, box-shadow .15s ease;
}

.badiu-statusrequest-page .badiu-statusrequest-cta.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(13,110,253,.28);
}

/* =========================================================
 * Cart page (shopping cart, step 1 of checkout)
 * Used by Badiu/Finac/EcommerceBundle/View/Cart/*
 * Two-column layout on desktop (items + sticky summary);
 * stacks vertically on mobile.
 * ========================================================= */

.badiu-cart-page {
    background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 60%);
    padding: 24px 0 48px;
}

.badiu-cart-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Hero ---------- */
.badiu-cart-hero {
    padding: 8px 0 20px;
}

.badiu-cart-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(13,110,253,.10);
    color: #0d6efd;
    font-size: 30px;
    margin: 0 auto 12px;
    box-shadow: 0 0 0 8px rgba(13,110,253,.05);
}

.badiu-cart-hero-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1f2d3d;
    margin: 0 0 6px;
    letter-spacing: -.01em;
}

.badiu-cart-hero-subtitle {
    color: #6c757d;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.5;
    font-size: .95rem;
}

/* ---------- Two-column layout ---------- */
.badiu-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    margin-top: 8px;
}

@media (max-width: 991.98px) {
    .badiu-cart-layout {
        grid-template-columns: 1fr;
    }
}

.badiu-cart-main {
    min-width: 0;
}

.badiu-cart-side {
    position: sticky;
    top: 16px;
}

@media (max-width: 991.98px) {
    .badiu-cart-side {
        position: static;
    }
}

/* ---------- Generic card ---------- */
.badiu-cart-page .badiu-cart-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(15,23,42,.06);
    overflow: hidden;
    margin-bottom: 20px;
}

.badiu-cart-card-header {
    padding: 16px 22px;
    border-bottom: 1px solid #eef1f4;
    background: #fbfdff;
}

.badiu-cart-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: #1f2d3d;
    display: flex;
    align-items: center;
}

.badiu-cart-card-title i {
    color: #0d6efd;
}

.badiu-cart-card-body {
    padding: 20px 22px;
}

.badiu-cart-count-badge {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 22px;
    padding: 0 8px;
    background: rgba(13,110,253,.12);
    color: #0a58ca;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1;
}

/* ---------- Empty state ---------- */
.badiu-cart-empty {
    text-align: center;
    padding: 28px 12px;
    color: #6c757d;
}

.badiu-cart-empty i {
    font-size: 44px;
    color: #ced4da;
    display: block;
    margin-bottom: 12px;
}

.badiu-cart-empty p {
    margin: 0;
    font-size: .95rem;
}

/* ---------- Products table ---------- */
.badiu-cart-page .badiu-cart-table {
    margin-bottom: 0;
}

.badiu-cart-page .badiu-cart-table th,
.badiu-cart-page .badiu-cart-table td {
    padding: 12px 10px;
    vertical-align: middle;
    border-color: #f1f3f5;
}

.badiu-cart-page .badiu-cart-table thead th {
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .04em;
    border-top: 0;
    border-bottom: 1px solid #e9ecef;
    background: transparent;
}

.badiu-cart-page .badiu-cart-table tbody tr:hover {
    background: #fbfdff;
}

.badiu-cart-page .badiu-cart-table tbody tr:last-child td {
    border-bottom: 0;
}

.badiu-cart-col-id {
    width: 70px;
    font-size: .85rem;
}

.badiu-cart-col-num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
    .badiu-cart-col-id { display: none; }
    .badiu-cart-page .badiu-cart-table thead th {
        font-size: .68rem;
    }
}

/* ---------- Coupon ---------- */
.badiu-cart-coupon-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.badiu-cart-page .badiu-cart-coupon-input.form-control {
    flex: 1 1 auto;
    border-radius: 10px;
    border: 1px solid #cfd8e3;
    padding: 10px 14px;
    background: #ffffff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.badiu-cart-page .badiu-cart-coupon-input.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,.15);
    outline: 0;
}

.badiu-cart-page .badiu-cart-coupon-btn.btn {
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 575.98px) {
    .badiu-cart-coupon-row {
        flex-direction: column;
    }
}

.badiu-cart-alert {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    padding: 12px 16px;
    font-size: .92rem;
    margin-bottom: 14px;
}

.badiu-cart-alert:last-child {
    margin-bottom: 0;
}

.badiu-cart-terms {
    text-align: left;
    font-size: .85rem;
    line-height: 1.5;
}

/* ---------- Order summary (sidebar) ---------- */
.badiu-cart-summary {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(15,23,42,.08);
    overflow: hidden;
}

.badiu-cart-summary-header {
    padding: 16px 22px;
    border-bottom: 1px solid #eef1f4;
    background: #fbfdff;
}

.badiu-cart-summary-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: #1f2d3d;
    display: flex;
    align-items: center;
}

.badiu-cart-summary-title i {
    color: #0d6efd;
}

.badiu-cart-summary-body {
    padding: 18px 22px;
}

.badiu-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: .95rem;
}

.badiu-cart-summary-label {
    color: #495057;
}

.badiu-cart-summary-value {
    color: #1f2d3d;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.badiu-cart-summary-divider {
    height: 1px;
    background: #eef1f4;
    margin: 6px 0;
}

.badiu-cart-summary-row-total .badiu-cart-summary-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2d3d;
}

.badiu-cart-summary-total {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0d6efd;
}

.badiu-cart-summary-footer {
    padding: 0 22px 22px;
}

.badiu-cart-page .badiu-cart-cta.btn {
    width: 100%;
    border-radius: 10px;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(13,110,253,.20);
    transition: transform .15s ease, box-shadow .15s ease;
}

.badiu-cart-page .badiu-cart-cta.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(13,110,253,.28);
}

.badiu-cart-page .badiu-cart-cta.btn:disabled,
.badiu-cart-page .badiu-cart-cta.btn.disabled {
    opacity: .55;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

/* =========================================================
 * Paymethod page (choose-payment-method, step 2 of checkout)
 * Used by Badiu/Finac/EcommerceBundle/View/Paymethod/*
 * Renders the available payment methods as a responsive grid
 * of selectable cards.
 * ========================================================= */

.badiu-paymethod-page {
    background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 60%);
    padding: 24px 0 48px;
}

.badiu-paymethod-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Hero ---------- */
.badiu-paymethod-hero {
    padding: 8px 0 24px;
}

.badiu-paymethod-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(13,110,253,.10);
    color: #0d6efd;
    font-size: 32px;
    margin: 0 auto 14px;
    box-shadow: 0 0 0 8px rgba(13,110,253,.05);
}

.badiu-paymethod-hero-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1f2d3d;
    margin: 0 0 6px;
    letter-spacing: -.01em;
}

.badiu-paymethod-hero-subtitle {
    color: #6c757d;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.55;
    font-size: .95rem;
}

/* ---------- Container card ---------- */
.badiu-paymethod-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(15,23,42,.06);
    overflow: hidden;
}

.badiu-paymethod-card-body {
    padding: 24px;
}

/* ---------- Grid of payment options ---------- */
.badiu-paymethod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.badiu-paymethod-option {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    position: relative;
}

.badiu-paymethod-option:hover {
    border-color: #0d6efd;
    box-shadow: 0 8px 20px rgba(13,110,253,.12);
    transform: translateY(-2px);
}

.badiu-paymethod-option-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.badiu-paymethod-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(13,110,253,.10);
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.badiu-paymethod-titles {
    min-width: 0;
}

.badiu-paymethod-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 2px;
    color: #1f2d3d;
    line-height: 1.3;
}

.badiu-paymethod-description {
    margin: 0;
    color: #6c757d;
    font-size: .82rem;
    line-height: 1.4;
}

/* ---------- Provider logo ---------- */
.badiu-paymethod-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbfdff;
    border: 1px solid #eef1f4;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
    min-height: 64px;
}

.badiu-paymethod-logo img {
    max-width: 100%;
    max-height: 48px;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* ---------- CTA button ---------- */
.badiu-paymethod-cta {
    margin-top: auto;
}

.badiu-paymethod-page .badiu-paymethod-btn.btn {
    width: 100%;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(13,110,253,.20);
    transition: transform .15s ease, box-shadow .15s ease;
}

.badiu-paymethod-page .badiu-paymethod-btn.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(13,110,253,.28);
}

/* ---------- Empty state ---------- */
.badiu-paymethod-empty {
    text-align: center;
    padding: 36px 16px;
    color: #6c757d;
}

.badiu-paymethod-empty i {
    font-size: 44px;
    color: #ced4da;
    display: block;
    margin-bottom: 12px;
}

.badiu-paymethod-empty p {
    margin: 0;
    font-size: .95rem;
}

/* ---------- Secure-checkout footer ---------- */
.badiu-paymethod-secure {
    margin-top: 18px;
    text-align: center;
    color: #6c757d;
    font-size: .85rem;
    padding: 12px 16px;
}

.badiu-paymethod-secure i {
    color: #198754;
}

/* =========================================================
 * Mercado Pago checkout pages (credit card + Pix)
 * Used by Badiu/Fgateway/MercadopagoBundle/View/Checkoutcreditcard/*
 *      and Badiu/Fgateway/MercadopagoBundle/View/Checkoutbrbanckpix/*
 *
 * Layout-only restyle. We DO NOT touch JS architecture: DOM IDs
 * required by the MP SDK (`form-checkout`, `form-checkout__*`)
 * are preserved unchanged in the markup, and `.containerform`
 * is kept on the iframe-host divs so the SDK keeps rendering
 * its iframes inside them.
 * ========================================================= */

.badiu-mp-checkout-page {
    background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 60%);
    padding: 24px 0 48px;
}

.badiu-mp-checkout-wrapper {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Hero ---------- */
.badiu-mp-checkout-hero {
    padding: 8px 0 20px;
}

.badiu-mp-checkout-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(13,110,253,.10);
    color: #0d6efd;
    font-size: 30px;
    margin: 0 auto 14px;
    box-shadow: 0 0 0 8px rgba(13,110,253,.05);
}

.badiu-mp-checkout-pix .badiu-mp-checkout-hero-icon {
    background: rgba(32,201,151,.12);
    color: #16a085;
    box-shadow: 0 0 0 8px rgba(32,201,151,.05);
}

.badiu-mp-checkout-hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2d3d;
    margin: 0 0 6px;
    letter-spacing: -.01em;
}

.badiu-mp-checkout-hero-subtitle {
    color: #6c757d;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.5;
    font-size: .95rem;
}

/* ---------- Form wrapper ---------- */
.badiu-mp-checkout-form {
    margin: 0;
}

/* ---------- Card sections ---------- */
.badiu-mp-checkout-page .badiu-mp-checkout-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(15,23,42,.06);
    overflow: hidden;
    margin-bottom: 18px;
    height: auto;
}

.badiu-mp-checkout-card-header {
    padding: 16px 22px;
    border-bottom: 1px solid #eef1f4;
    background: #fbfdff;
}

.badiu-mp-checkout-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: #1f2d3d;
    display: flex;
    align-items: center;
}

.badiu-mp-checkout-card-title i {
    color: #0d6efd;
}

.badiu-mp-checkout-pix .badiu-mp-checkout-card-title i {
    color: #16a085;
}

.badiu-mp-checkout-card-body {
    padding: 22px;
}

/* ---------- Field grid (2 columns on >= sm) ---------- */
.badiu-mp-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 575.98px) {
    .badiu-mp-grid-two {
        grid-template-columns: 1fr;
    }
}

.badiu-mp-field {
    margin-bottom: 14px;
}

.badiu-mp-grid-two .badiu-mp-field {
    margin-bottom: 0;
}

.badiu-mp-field-full {
    grid-column: 1 / -1;
}

.badiu-mp-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: .88rem;
    color: #1f2d3d;
}

.badiu-mp-label i {
    cursor: help;
}

/* ---------- Inputs / selects ---------- */
.badiu-mp-checkout-page .badiu-mp-input.form-control,
.badiu-mp-checkout-page select.badiu-mp-input.form-control {
    border-radius: 10px;
    border: 1px solid #cfd8e3;
    padding: 10px 14px;
    background: #ffffff;
    font-size: .95rem;
    height: 44px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.badiu-mp-checkout-page select.badiu-mp-input.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236c757d'><path d='M3.204 5h9.592L8 10.481 3.204 5zm-.753.659l4.796 5.48a1 1 0 001.506 0l4.796-5.48c.566-.647.106-1.659-.753-1.659H3.204a1 1 0 00-.753 1.659z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 36px;
}

.badiu-mp-checkout-page .badiu-mp-input.form-control:focus,
.badiu-mp-checkout-page select.badiu-mp-input.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,.15);
    outline: 0;
}

/* ---------- containerform: iframe hosts (MP SDK) ----------
 * The MP SDK injects an iframe inside these divs. We restyle
 * the host's border/radius to match other inputs but keep the
 * `.containerform` class so any SDK-side selector keeps matching. */
.badiu-mp-checkout-page .containerform.form-control.badiu-mp-input {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 14px;
    background: #ffffff;
}

.badiu-mp-checkout-page .containerform.form-control.badiu-mp-input iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ---------- Alert ---------- */
.badiu-mp-checkout-alert {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    padding: 12px 16px;
    font-size: .92rem;
    margin-bottom: 16px;
}

/* ---------- Submit row ---------- */
.badiu-mp-checkout-submit {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badiu-mp-checkout-page .badiu-mp-checkout-cta.btn {
    flex: 1 1 auto;
    border-radius: 10px;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(13,110,253,.20);
    transition: transform .15s ease, box-shadow .15s ease;
}

.badiu-mp-checkout-page .badiu-mp-checkout-cta.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(13,110,253,.28);
}

.badiu-mp-checkout-page .badiu-mp-checkout-cta.btn:disabled,
.badiu-mp-checkout-page .badiu-mp-checkout-cta.btn.disabled {
    opacity: .55;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.badiu-mp-checkout-pix .badiu-mp-checkout-cta.btn {
    background-color: #16a085;
    border-color: #16a085;
    box-shadow: 0 4px 14px rgba(32,201,151,.22);
}

.badiu-mp-checkout-pix .badiu-mp-checkout-cta.btn:hover {
    background-color: #119477;
    border-color: #119477;
    box-shadow: 0 6px 18px rgba(32,201,151,.30);
}

.badiu-mp-checkout-process-icon {
    display: inline-flex;
    align-items: center;
}

/* ---------- Secure footer ---------- */
.badiu-mp-checkout-secure {
    margin-top: 16px;
    text-align: center;
    color: #6c757d;
    font-size: .85rem;
    padding: 10px 12px;
}

.badiu-mp-checkout-secure i {
    color: #198754;
}
