@import url("./smart-home-theme.css");

.smart-theme-body {
    overflow-x: hidden;
}

.smart-brand-wordmark {
    display: inline-flex;
    align-items: center;
    font-family: "Outfit", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

.smart-sidebar {
    width: 320px;
    padding: 16px 0 16px 16px;
    background: transparent;
    box-shadow: none;
    color: #e2e8f0;
}

.smart-sidebar-surface {
    position: sticky;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: calc(100vh - 32px);
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(125, 211, 252, 0.14), transparent 26%),
        radial-gradient(circle at bottom right, rgba(31, 143, 95, 0.18), transparent 32%),
        linear-gradient(180deg, #0f1c2b 0%, #0b1624 58%, #0d2230 100%);
    box-shadow: 0 30px 70px rgba(8, 19, 31, 0.22);
}

.smart-sidebar-surface::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.smart-sidebar-header {
    align-items: flex-start;
    margin-bottom: 0;
}

.smart-sidebar-brand {
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
}

.smart-sidebar-brand:hover {
    color: #ffffff;
}

.smart-sidebar-brand-logo {
    width: auto;
    max-height: 38px;
}

.smart-sidebar-brand-copy {
    display: grid;
    gap: 2px;
}

.smart-sidebar-brand-copy .smart-brand-wordmark {
    color: #ffffff;
}

.smart-sidebar-brand-copy small {
    color: rgba(191, 203, 219, 0.78);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.smart-sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.smart-sidebar-business-card,
.smart-sidebar-footer-card {
    position: relative;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.smart-sidebar-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #d7f7ea;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smart-sidebar-business-card strong {
    display: block;
    margin-top: 14px;
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.15;
}

.smart-sidebar-business-card p,
.smart-sidebar-footer-card p {
    margin: 10px 0 0;
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.92rem;
    line-height: 1.6;
}

.smart-sidebar-business-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.smart-sidebar-business-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #eff6ff;
    font-size: 0.82rem;
    font-weight: 600;
}

.smart-sidebar-nav-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 0 4px;
}

.smart-sidebar-nav-head span,
.smart-sidebar-nav-head small {
    color: rgba(191, 203, 219, 0.8);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smart-nav-list {
    flex: 1;
    min-height: 0;
    gap: 10px;
    overflow: auto;
    padding-right: 4px;
}

.smart-nav-item {
    gap: 14px;
    padding: 12px 14px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(226, 232, 240, 0.9);
}

.smart-nav-item:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.smart-nav-item.is-active {
    color: #ffffff;
    border-color: rgba(156, 232, 200, 0.18);
    background: linear-gradient(135deg, rgba(31, 143, 95, 0.24) 0%, rgba(17, 78, 64, 0.28) 100%);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.smart-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #9ce8c8;
    flex: 0 0 auto;
}

.smart-nav-item.is-active .smart-nav-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.smart-nav-icon i {
    font-size: 1.05rem;
}

.smart-nav-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.smart-nav-copy strong {
    color: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.smart-nav-copy small {
    color: rgba(191, 203, 219, 0.74);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
}

.smart-nav-item.is-active .smart-nav-copy small {
    color: rgba(255, 255, 255, 0.78);
}

.smart-nav-arrow {
    color: rgba(191, 203, 219, 0.64);
    transition: transform 0.2s ease, color 0.2s ease;
}

.smart-nav-item:hover .smart-nav-arrow,
.smart-nav-item.is-active .smart-nav-arrow {
    color: #ffffff;
    transform: translateX(1px);
}

.smart-sidebar-footer-card {
    margin-top: auto;
    flex-shrink: 0;
}

.smart-sidebar-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    margin-top: 16px;
    padding: 0 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.smart-sidebar-logout:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.smart-public-links {
    row-gap: 10px;
}

.smart-public-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.smart-public-brand,
.smart-public-links-wrap,
.smart-view-shell,
.smart-view-shell .row > [class*="col-"] {
    min-width: 0;
}

.smart-public-links-wrap {
    margin-left: auto;
}

.smart-public-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background: #ffffff;
    color: #102134;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.smart-public-menu-toggle:hover {
    color: #114e40;
    border-color: rgba(31, 143, 95, 0.32);
    background: #f8fafc;
}

.smart-public-menu-toggle i {
    font-size: 1.25rem;
}

.smart-view-shell img,
.smart-view-shell iframe,
.smart-view-shell video {
    max-width: 100%;
}

.smart-view-shell img {
    height: auto;
}

.smart-view-shell .smart-product-card {
    display: grid;
    grid-template-rows: auto 1fr;
}

.smart-view-shell .smart-product-image-wrap {
    display: grid;
    place-items: center;
    min-height: 180px;
    max-height: 180px;
    padding: 18px;
    overflow: hidden;
    background: #f4f8fb;
}

.smart-view-shell .smart-product-image-wrap .smart-product-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 132px;
    margin: 0 auto;
}

.smart-view-shell .smart-product-body {
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding-top: 16px;
}

.smart-view-shell .smart-home-card p.smart-price-promo,
.smart-view-shell .smart-product-detail-panel p.smart-price-promo {
    color: #198754 !important;
    font-size: 1.42rem !important;
    font-weight: 800 !important;
}

@media (min-width: 992px) {
    .smart-view-shell .smart-product-image-wrap .smart-product-image {
        max-height: 140px;
    }
}

@media (max-width: 767.98px) {
    .smart-view-shell .smart-product-image-wrap {
        min-height: 150px;
        max-height: 150px;
        padding: 14px;
    }

    .smart-view-shell .smart-product-image-wrap .smart-product-image {
        max-height: 110px;
    }
}

.smart-view-shell canvas {
    max-width: 100%;
}

.smart-view-shell .card-header,
.smart-view-shell .card-footer {
    gap: 12px;
}

.smart-view-shell .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.smart-view-shell .table-responsive > .table {
    margin-bottom: 0;
}

.smart-view-shell .pagination {
    flex-wrap: wrap;
    gap: 6px;
}

.smart-view-shell .page-link {
    min-width: 42px;
    text-align: center;
}

.smart-profile-shell {
    width: min(1180px, 100%);
}

.smart-profile-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.smart-profile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 24px 0;
}

.smart-profile-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(31, 143, 95, 0.1);
    border: 1px solid rgba(31, 143, 95, 0.14);
    color: #114e40;
    font-family: "Outfit", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smart-profile-card-header h3 {
    margin: 14px 0 6px;
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #102134;
}

.smart-profile-card-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.smart-profile-card-body {
    padding: 24px;
}

.smart-profile-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.smart-profile-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.smart-profile-summary div,
.smart-profile-access-meta div,
.smart-profile-upload-panel {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    background: #ffffff;
}

.smart-profile-summary div {
    padding: 16px 18px;
}

.smart-profile-summary span,
.smart-profile-access-meta span,
.smart-profile-preview-label {
    display: block;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smart-profile-summary strong,
.smart-profile-access-meta strong {
    display: block;
    margin-top: 6px;
    color: #102134;
    font-size: 1rem;
    font-weight: 700;
}

.smart-profile-custom-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
    gap: 18px;
    align-items: stretch;
}

.smart-profile-upload-panel,
.smart-profile-preview-panel {
    padding: 18px;
}

.smart-profile-preview-panel {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
}

.smart-profile-preview-frame {
    display: grid;
    place-items: center;
    min-height: 250px;
    height: 250px;
    margin-top: 14px;
    padding: 16px;
    border: 1px dashed rgba(148, 163, 184, 0.42);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    overflow: hidden;
}

.smart-profile-preview-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
}

.smart-profile-preview-empty {
    display: grid;
    place-items: center;
    gap: 8px;
    text-align: center;
    color: #64748b;
}

.smart-profile-preview-empty i {
    font-size: 2rem;
    color: #1f8f5f;
}

.smart-profile-preview-empty strong {
    color: #102134;
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.smart-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.smart-profile-actions .btn {
    min-height: 48px;
    padding-inline: 18px;
    border-radius: 16px;
    font-weight: 700;
}

.smart-profile-access-list {
    display: grid;
    gap: 14px;
}

.smart-profile-access-card {
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.smart-profile-access-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.smart-profile-access-top h5 {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: #102134;
}

.smart-profile-access-top p {
    margin-top: 6px;
    color: #64748b;
    font-size: 0.92rem;
}

.smart-profile-access-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.smart-profile-access-meta div {
    padding: 14px 16px;
}

.smart-profile-empty {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 240px;
    padding: 24px;
    border: 1px dashed rgba(148, 163, 184, 0.36);
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
    text-align: center;
    color: #64748b;
}

.smart-profile-empty i {
    font-size: 2rem;
    color: #1f8f5f;
}

.smart-profile-empty strong {
    color: #102134;
    font-family: "Outfit", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.smart-view-shell .modal-dialog {
    margin: 1rem;
}

.smart-view-shell .badge.float-end {
    float: none !important;
}

.smart-block-payment-modal {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.24);
}

.smart-block-payment-modal-dialog {
    margin: 1.25rem auto;
}

.smart-block-payment-modal-header {
    align-items: flex-start;
    border-bottom: 0;
    padding: 22px 24px 18px;
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
    color: #ffffff;
}

.smart-block-payment-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smart-block-payment-modal-header .modal-title {
    margin-top: 12px;
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
}

.smart-block-payment-modal-body {
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.smart-block-payment-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(248, 113, 113, 0.24);
    border-radius: 18px;
    background: #fff1f2;
    color: #7f1d1d;
}

.smart-block-payment-alert i {
    font-size: 1.15rem;
    color: #dc2626;
    margin-top: 2px;
}

.smart-block-payment-alert strong,
.smart-block-payment-alert span {
    display: block;
}

.smart-block-payment-alert span {
    margin-top: 4px;
    color: #991b1b;
}

.smart-block-payment-summary {
    display: grid;
    gap: 12px;
}

.smart-block-payment-summary div {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 18px;
    background: #ffffff;
}

.smart-block-payment-summary dt {
    margin: 0;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smart-block-payment-summary dd {
    margin: 0;
    color: #102134;
    font-size: 1rem;
    font-weight: 700;
}

.smart-block-payment-modal-footer {
    justify-content: space-between;
    gap: 12px;
    padding: 0 24px 24px;
    border-top: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.smart-block-payment-modal-footer form {
    margin-left: auto;
}

.smart-auth-shell {
    position: relative;
    overflow: hidden;
    width: calc(100% + 32px);
    min-height: calc(100vh - 32px);
    margin: -16px;
    padding: clamp(16px, 2.2vw, 28px) 0;
    background-color: hsl(217, 46%, 14%);
    background-image:
        radial-gradient(650px circle at 0% 0%, rgba(46, 150, 115, 0.35) 15%, rgba(28, 86, 76, 0.44) 35%, rgba(16, 33, 52, 0.78) 75%, rgba(16, 33, 52, 0.92) 80%, transparent 100%),
        radial-gradient(1200px circle at 100% 100%, rgba(96, 165, 250, 0.25) 15%, rgba(31, 143, 95, 0.22) 35%, rgba(16, 33, 52, 0.78) 75%, rgba(16, 33, 52, 0.9) 80%, transparent 100%);
}

.smart-auth-shell .container {
    position: relative;
    z-index: 1;
}

.smart-auth-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.smart-auth-shape-1 {
    top: -70px;
    left: -140px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, #4ade80 0%, #114e40 72%);
    opacity: 0.9;
}

.smart-auth-shape-2 {
    right: -120px;
    bottom: -90px;
    width: 340px;
    height: 340px;
    border-radius: 38% 62% 63% 37% / 70% 33% 67% 30%;
    background: radial-gradient(circle at 30% 30%, #7dd3fc 0%, #1f8f5f 35%, #114e40 100%);
    opacity: 0.78;
}

.smart-auth-copy {
    position: relative;
    z-index: 1;
    color: hsl(218, 81%, 95%);
}

.smart-auth-title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2.15rem, 4vw, 3.7rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.smart-auth-title span {
    color: #9ce8c8;
}

.smart-auth-text {
    max-width: 540px;
    color: hsla(218, 81%, 88%, 0.84);
    font-size: 1rem;
    line-height: 1.75;
}

.smart-auth-points {
    display: grid;
    gap: 10px;
    max-width: 560px;
}

.smart-auth-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 30px rgba(9, 20, 34, 0.18);
}

.smart-auth-point i {
    color: #9ce8c8;
    font-size: 1.15rem;
    margin-top: 2px;
}

.smart-auth-point strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 0.98rem;
}

.smart-auth-point span {
    color: hsla(218, 81%, 92%, 0.7);
    font-size: 0.9rem;
}

.smart-auth-card-wrap {
    position: relative;
    z-index: 1;
}

.smart-auth-glow {
    position: absolute;
    filter: blur(0);
    opacity: 0.85;
    pointer-events: none;
}

.smart-auth-glow-1 {
    top: -40px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(125, 211, 252, 0.95) 0%, rgba(125, 211, 252, 0) 72%);
}

.smart-auth-glow-2 {
    right: -30px;
    bottom: -35px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(156, 232, 200, 0.92) 0%, rgba(156, 232, 200, 0) 76%);
}

.smart-login-shell {
    position: relative;
}

.smart-login-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.smart-login-card {
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: hsla(0, 0%, 100%, 0.9);
    backdrop-filter: saturate(200%) blur(25px);
    box-shadow: 0 30px 80px rgba(8, 19, 31, 0.3);
}

.smart-login-card .card-body {
    padding: clamp(22px, 2.8vw, 30px);
}

.smart-login-logo {
    max-height: 28px;
    width: auto;
}

.smart-login-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #102134;
}

.smart-login-card-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.smart-login-card-logo {
    max-height: min(216px, 16vh);
    width: auto;
    object-fit: contain;
}

.smart-login-subtitle {
    color: #6a7b8d;
    font-size: 0.95rem;
}

.smart-auth-tabs {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(16, 33, 52, 0.06);
}

.smart-auth-tab {
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    background: transparent;
    color: #5f7080;
    font-weight: 700;
    transition: all 0.2s ease;
}

.smart-auth-tab.is-active {
    background: #ffffff;
    color: #114e40;
    box-shadow: 0 10px 20px rgba(16, 33, 52, 0.08);
}

.smart-auth-panel {
    display: none;
}

.smart-auth-panel.is-active {
    display: block;
}

.smart-auth-field-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #64748b;
}

.smart-auth-input.form-control,
.smart-auth-input .form-control {
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1rem;
    box-shadow: none;
}

.smart-auth-input.form-control:focus,
.smart-auth-input .form-control:focus {
    border-color: rgba(31, 143, 95, 0.72);
    box-shadow: 0 0 0 0.25rem rgba(31, 143, 95, 0.12);
}

.smart-auth-input-group {
    border-radius: 16px;
    overflow: hidden;
}

.smart-auth-input-group .btn {
    border-radius: 0;
    border-color: rgba(148, 163, 184, 0.34);
    background: rgba(248, 250, 252, 0.92);
}

.smart-auth-help {
    color: #64748b;
    font-size: 0.86rem;
}

.smart-auth-link {
    color: #114e40;
    text-decoration: none;
    font-weight: 700;
}

.smart-auth-link:hover {
    color: #0f3d33;
}

.smart-auth-submit {
    min-height: 48px;
    border-radius: 16px;
    font-size: 0.96rem;
}

.smart-footer {
    position: relative;
    margin-top: 48px;
    padding-bottom: 20px;
    background:
        radial-gradient(circle at top left, rgba(31, 143, 95, 0.16), transparent 32%),
        radial-gradient(circle at bottom right, rgba(96, 165, 250, 0.14), transparent 36%),
        linear-gradient(180deg, #0d1726 0%, #09111d 100%);
    color: rgba(226, 232, 240, 0.86);
    overflow: hidden;
}

.smart-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
}

.smart-footer-shell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 0;
}

.smart-footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.95fr);
    gap: 22px;
    align-items: stretch;
    margin-bottom: 22px;
}

.smart-footer-brand,
.smart-footer-card,
.smart-footer-column {
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 30px;
    overflow: hidden;
}

.smart-footer-brand {
    padding: clamp(24px, 3vw, 34px);
    background:
        linear-gradient(135deg, rgba(20, 36, 58, 0.98) 0%, rgba(10, 22, 37, 0.96) 58%, rgba(15, 39, 36, 0.92) 100%);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.28);
}

.smart-footer-brand::after {
    content: "";
    position: absolute;
    top: -72px;
    right: -58px;
    width: 200px;
    height: 200px;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(156, 232, 200, 0.18) 0%, rgba(156, 232, 200, 0) 72%);
    pointer-events: none;
}

.smart-footer-kicker,
.smart-footer-card-label {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d9f7e8;
    font-family: "Outfit", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smart-footer-brand h2 {
    margin: 18px 0 12px;
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.smart-footer-brand p,
.smart-footer-card p {
    margin: 0;
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.98rem;
    line-height: 1.7;
}

.smart-footer-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.smart-footer-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #eff6ff;
    font-size: 0.9rem;
    font-weight: 600;
}

.smart-footer-chip i,
.smart-footer-links i {
    color: #9ce8c8;
}

.smart-footer-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: clamp(24px, 2.8vw, 30px);
    background:
        linear-gradient(180deg, rgba(9, 17, 29, 0.96) 0%, rgba(8, 15, 26, 0.98) 100%);
    box-shadow: 0 20px 48px rgba(2, 6, 23, 0.24);
}

.smart-footer-card strong {
    display: block;
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.smart-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

.smart-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.smart-footer-btn:hover {
    transform: translateY(-1px);
}

.smart-footer-btn-primary {
    background: linear-gradient(135deg, #1f8f5f 0%, #38b88c 100%);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(31, 143, 95, 0.28);
}

.smart-footer-btn-primary:hover {
    color: #ffffff;
    box-shadow: 0 22px 42px rgba(31, 143, 95, 0.34);
}

.smart-footer-btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
}

.smart-footer-btn-secondary:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

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

.smart-footer-column {
    padding: 24px 24px 22px;
    background: rgba(8, 15, 29, 0.82);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.18);
}

.smart-footer-column h6 {
    margin: 0 0 16px;
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.smart-footer-links,
.smart-footer-meta {
    list-style: none;
    padding: 0;
    margin: 0;
}

.smart-footer-links {
    display: grid;
    gap: 12px;
}

.smart-footer-links a,
.smart-footer-links span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(226, 232, 240, 0.82);
    font-size: 0.95rem;
    text-decoration: none;
}

.smart-footer-links a:hover {
    color: #ffffff;
}

.smart-footer-links i {
    font-size: 1rem;
}

.smart-footer-meta {
    display: grid;
    gap: 14px;
}

.smart-footer-meta li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.smart-footer-meta li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.smart-footer-meta span {
    color: rgba(148, 163, 184, 0.78);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smart-footer-meta strong {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: right;
}

.smart-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 4px 0;
    margin-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    color: rgba(191, 203, 219, 0.84);
    font-size: 0.9rem;
}

.smart-footer-bottom-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.smart-footer-bottom-nav a {
    color: rgba(226, 232, 240, 0.82);
    text-decoration: none;
}

.smart-footer-bottom-nav a:hover {
    color: #ffffff;
}

.smart-pdv-page {
    display: grid;
    gap: 24px;
}

.smart-pdv-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(31, 143, 95, 0.18), transparent 34%),
        linear-gradient(135deg, #102134 0%, #0b1728 58%, #114e40 100%);
    box-shadow: 0 28px 64px rgba(8, 19, 31, 0.22);
}

.smart-pdv-hero.has-image {
    padding: 0;
    height: clamp(340px, 40vw, 500px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
    .smart-pdv-hero.has-image {
        height: clamp(520px, 44vw, 700px);
    }
}

.smart-pdv-hero-placeholder {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: clamp(220px, 28vw, 360px);
    padding: 24px;
    border-radius: 22px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    background: rgba(9, 17, 29, 0.38);
    text-align: center;
    color: #ffffff;
}

.smart-pdv-hero-placeholder i {
    font-size: 2rem;
    color: #9ce8c8;
}

.smart-pdv-hero-placeholder strong {
    font-family: "Outfit", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.smart-pdv-hero-placeholder span {
    color: rgba(226, 232, 240, 0.84);
}

.smart-pdv-kicker,
.smart-pdv-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-family: "Outfit", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smart-pdv-kicker {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d7f7ea;
}

.smart-pdv-eyebrow {
    background: rgba(31, 143, 95, 0.1);
    border: 1px solid rgba(31, 143, 95, 0.16);
    color: #114e40;
}

.smart-pdv-hero-copy h1 {
    margin: 18px 0 12px;
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.smart-pdv-hero-copy p {
    max-width: 720px;
    margin: 0;
    color: rgba(226, 232, 240, 0.84);
    font-size: 1rem;
    line-height: 1.7;
}

.smart-pdv-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.smart-pdv-hero-tags span,
.smart-pdv-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
}

.smart-pdv-hero-tags span {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(240, 249, 255, 0.92);
}

.smart-pdv-hint {
    background: rgba(15, 23, 42, 0.04);
    color: #475569;
}

.smart-pdv-hero-side {
    display: grid;
    gap: 14px;
    align-content: start;
}

.smart-pdv-meta-card,
.smart-pdv-panel {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 28px;
    overflow: hidden;
}

.smart-pdv-meta-card {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    color: #e2e8f0;
}

.smart-pdv-meta-card span {
    display: block;
    margin-bottom: 4px;
    color: rgba(167, 243, 208, 0.94);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smart-pdv-meta-card strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.smart-pdv-meta-card small {
    display: block;
    margin-top: 6px;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.88rem;
}

.smart-pdv-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.smart-pdv-back-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.smart-pdv-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.smart-pdv-main,
.smart-pdv-sidebar {
    display: grid;
    gap: 20px;
}

.smart-pdv-sidebar {
    position: sticky;
    top: 24px;
}

.smart-pdv-panel {
    padding: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
}

.smart-pdv-search-panel {
    position: relative;
    overflow: visible;
    z-index: 4;
}

.smart-pdv-search-wrap {
    z-index: 5;
}

.smart-pdv-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.smart-pdv-panel-head h2 {
    margin: 10px 0 0;
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #102134;
}

.smart-pdv-search-group {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #f8fafc;
}

.smart-pdv-search-group .input-group-text {
    border: 0;
    background: linear-gradient(135deg, #114e40 0%, #1f8f5f 100%);
    color: #ffffff;
}

.smart-pdv-search-group .form-control {
    border: 0;
    background: transparent;
    padding-left: 1rem;
}

.smart-pdv-search-group .form-control:focus {
    box-shadow: none;
}

.smart-pdv-search-btn {
    border: 0;
    background: #102134;
    color: #ffffff;
    font-weight: 700;
    padding-inline: 1.2rem;
}

.smart-pdv-search-btn:hover {
    background: #0b1728;
    color: #ffffff;
}

.smart-pdv-suggestions {
    top: calc(100% + 12px);
    z-index: 1050;
    display: none;
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}

.smart-pdv-suggestion-item {
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.92);
}

.smart-pdv-suggestion-item:last-child {
    border-bottom: 0;
}

.smart-pdv-suggestion-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 4px;
    color: #102134;
}

.smart-pdv-suggestion-row strong {
    font-size: 0.96rem;
}

.smart-pdv-suggestion-row small,
.smart-pdv-suggestion-code {
    color: #64748b;
}

.smart-pdv-table-wrap {
    max-height: 560px;
    overflow-y: auto;
    border: 1px solid rgba(226, 232, 240, 0.94);
    border-radius: 24px;
}

.smart-pdv-table {
    margin-bottom: 0;
}

.smart-pdv-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 16px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.94);
    background: #f8fafc;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.smart-pdv-table tbody td {
    padding: 16px;
    border-color: rgba(226, 232, 240, 0.92);
    vertical-align: middle;
}

.smart-pdv-cart-row:hover {
    background: rgba(15, 118, 110, 0.03);
}

.smart-pdv-item-name {
    font-weight: 700;
    color: #102134;
}

.smart-pdv-item-code {
    color: #64748b;
}

.smart-pdv-qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.smart-pdv-qty-btn,
.smart-pdv-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #ffffff;
    color: #102134;
    transition: all 0.2s ease;
}

.smart-pdv-qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-weight: 800;
}

.smart-pdv-qty-btn:hover {
    border-color: rgba(31, 143, 95, 0.4);
    color: #114e40;
}

.smart-pdv-qty-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    background: #f8fafc;
    color: #102134;
    font-weight: 700;
}

.smart-pdv-money {
    color: #102134;
    white-space: nowrap;
}

.smart-pdv-money-strong {
    font-weight: 800;
}

.smart-pdv-remove {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #dc2626;
}

.smart-pdv-remove:hover {
    border-color: rgba(220, 38, 38, 0.28);
    background: rgba(254, 242, 242, 0.98);
}

.smart-pdv-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 40px 16px;
    text-align: center;
}

.smart-pdv-empty i {
    font-size: 2rem;
    color: #94a3b8;
}

.smart-pdv-empty strong {
    font-size: 1rem;
    color: #102134;
}

.smart-pdv-empty span {
    color: #64748b;
    font-size: 0.92rem;
}

.smart-pdv-summary-grid {
    display: grid;
    gap: 14px;
}

.smart-pdv-summary-card {
    padding: 18px 20px;
    border: 1px solid rgba(226, 232, 240, 0.94);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.smart-pdv-summary-card span {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.smart-pdv-summary-card strong {
    display: block;
    color: #102134;
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    line-height: 1.05;
}

.smart-pdv-summary-card small {
    display: block;
    margin-top: 8px;
    color: #64748b;
}

.smart-pdv-summary-total {
    background: linear-gradient(135deg, #114e40 0%, #1f8f5f 100%);
    border-color: rgba(17, 78, 64, 0.28);
}

.smart-pdv-summary-total span,
.smart-pdv-summary-total strong,
.smart-pdv-summary-total small {
    color: #ffffff;
}

.smart-pdv-label {
    color: #475569;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.smart-pdv-input {
    min-height: 52px;
    border-radius: 16px;
    border-color: rgba(148, 163, 184, 0.34);
    box-shadow: none;
}

.smart-pdv-input:focus {
    border-color: rgba(31, 143, 95, 0.64);
    box-shadow: 0 0 0 0.25rem rgba(31, 143, 95, 0.12);
}

.smart-pdv-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.04);
    color: #475569;
}

.smart-pdv-note i {
    color: #1f8f5f;
    font-size: 1rem;
    margin-top: 2px;
}

.smart-pdv-btn {
    min-height: 54px;
    border-radius: 16px;
    border: 0;
    font-size: 0.96rem;
    font-weight: 700;
}

.smart-pdv-btn-primary {
    background: linear-gradient(135deg, #1f8f5f 0%, #38b88c 100%);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(31, 143, 95, 0.22);
}

.smart-pdv-btn-primary:hover {
    color: #ffffff;
}

.smart-pdv-btn-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.smart-pdv-btn-danger:hover {
    color: #991b1b;
    background: #fecaca;
}

.smart-pdv-modal-content {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.24);
}

.smart-pdv-modal-header {
    border-bottom: 0;
    background: linear-gradient(135deg, #114e40 0%, #1f8f5f 100%);
    color: #ffffff;
}

.smart-pdv-modal-body {
    padding: 24px;
}

.smart-pdv-modal-alert {
    padding: 12px 14px;
    border-radius: 14px;
    background: #fef3c7;
    color: #92400e;
}

.smart-topbar {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(31, 143, 95, 0.12);
    background:
        radial-gradient(circle at top left, rgba(56, 184, 140, 0.16), rgba(56, 184, 140, 0) 36%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97) 0%, rgba(246, 252, 249, 0.97) 100%);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.smart-topbar::after {
    content: "";
    position: absolute;
    top: -52px;
    right: -34px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 78, 64, 0.1), rgba(17, 78, 64, 0) 68%);
    pointer-events: none;
}

.smart-topbar-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.smart-topbar-menu-btn {
    min-width: 46px;
    min-height: 46px;
    border-radius: 14px;
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.smart-page-intro {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.smart-page-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.smart-page-kicker,
.smart-page-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.smart-page-kicker {
    background: rgba(17, 78, 64, 0.08);
    color: #114e40;
}

.smart-page-chip {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.smart-page-chip i {
    color: #1f8f5f;
    font-size: 0.82rem;
}

.smart-page-title {
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.smart-page-subtitle {
    max-width: 720px;
    color: #5f6f85;
    font-size: 0.94rem;
    line-height: 1.65;
}

.smart-topbar-actions {
    position: relative;
    z-index: 1;
    align-self: center;
    gap: 10px;
}

.smart-topbar-actions > .btn {
    border-radius: 14px;
    padding: 0.68rem 0.98rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

@media (max-height: 860px) and (min-width: 992px) {
    .smart-auth-shell {
        padding: 12px 0;
    }

    .smart-auth-title {
        font-size: clamp(1.95rem, 3.2vw, 3.1rem);
    }

    .smart-auth-text {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1rem !important;
    }

    .smart-auth-points {
        gap: 8px;
    }

    .smart-auth-point {
        padding: 10px 12px;
    }

    .smart-login-card .card-body {
        padding: 20px 22px;
    }

    .smart-login-card-logo {
        max-height: min(160px, 13vh);
    }
}

@media (max-width: 991.98px) {
    .smart-profile-custom-grid {
        grid-template-columns: 1fr;
    }

    .smart-sidebar {
        width: min(330px, calc(100vw - 20px));
        padding: 10px;
    }

    .smart-sidebar-surface {
        top: 0;
        height: calc(100vh - 20px);
    }

    .smart-auth-shell {
        width: calc(100% + 24px);
        margin: -12px;
    }

    .smart-login-card {
        margin: 0 auto;
    }

    .smart-main {
        padding: 12px 12px 0;
    }

    .smart-topbar {
        padding: 14px 16px;
    }

    .smart-topbar-main {
        width: 100%;
    }

    .smart-page-kicker,
    .smart-page-chip {
        min-height: 28px;
        padding: 0 10px;
    }

    .smart-topbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .smart-topbar-actions > .btn {
        flex: 1 1 180px;
        justify-content: center;
    }

    .smart-public-links-wrap {
        display: none;
        width: 100%;
        margin-left: 0;
        padding-top: 4px;
    }

    .smart-public-header.menu-open .smart-public-links-wrap {
        display: block;
    }

    .smart-public-links {
        display: grid !important;
        gap: 12px !important;
        padding-top: 14px;
        border-top: 1px solid rgba(148, 163, 184, 0.2);
    }

    .smart-public-links .vr {
        display: none;
    }

    .smart-public-links > a:not(.btn) {
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        font-weight: 700;
    }

    .smart-public-links .btn {
        width: 100%;
        justify-content: center;
        border-radius: 16px !important;
    }

    .smart-view-shell .page-header {
        margin-bottom: 1rem !important;
    }

    .smart-view-shell .page-header .display-3 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .smart-view-shell .page-header .display-6 {
        font-size: clamp(1.55rem, 5vw, 2.2rem);
    }

    .smart-view-shell .card-header,
    .smart-view-shell .card-body,
    .smart-view-shell .card-footer {
        padding: 1rem;
    }

    .smart-view-shell .table-responsive > .table {
        min-width: 640px;
    }

    .smart-pdv-hero,
    .smart-pdv-layout {
        grid-template-columns: 1fr;
    }

    .smart-pdv-sidebar {
        position: static;
    }

    .smart-pdv-panel,
    .smart-pdv-modal-body,
    .smart-block-payment-modal-body {
        padding: 18px;
    }

    .smart-footer-top,
    .smart-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .smart-profile-card-header,
    .smart-profile-access-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .smart-profile-card-header,
    .smart-profile-card-body {
        padding: 18px;
    }

    .smart-profile-summary,
    .smart-profile-access-meta {
        grid-template-columns: 1fr;
    }

    .smart-profile-preview-frame {
        min-height: 210px;
        height: 210px;
    }

    .smart-profile-actions .btn {
        width: 100%;
    }

    .smart-brand-wordmark {
        font-size: 1.05rem;
    }

    .smart-sidebar {
        width: min(100vw - 12px, 330px);
        padding: 6px;
    }

    .smart-sidebar-surface {
        height: calc(100vh - 12px);
        border-radius: 24px;
        padding: 16px;
    }

    .smart-sidebar-business-meta,
    .smart-sidebar-nav-head,
    .smart-sidebar-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .smart-sidebar-close {
        align-self: flex-end;
    }

    .smart-main {
        padding: 10px 10px 0;
    }

    .smart-topbar {
        padding: 14px;
        gap: 12px;
    }

    .smart-page-meta {
        gap: 8px;
    }

    .smart-page-title {
        font-size: 1.12rem;
    }

    .smart-page-subtitle {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .smart-topbar-actions {
        gap: 10px;
    }

    .smart-topbar-actions > .btn {
        flex-basis: 100%;
        width: 100%;
    }

    .smart-public-brand {
        width: calc(100% - 58px);
    }

    .smart-auth-shell {
        width: calc(100% + 24px);
        min-height: auto;
        margin: -12px;
        padding: 24px 0;
    }

    .smart-auth-title {
        font-size: 2.3rem;
    }

    .smart-auth-point {
        padding: 12px 14px;
    }

    .smart-login-card .card-body {
        padding: 2rem 1.5rem;
    }

    .smart-pdv-page {
        gap: 18px;
    }

    .smart-pdv-hero,
    .smart-pdv-panel {
        border-radius: 24px;
    }

    .smart-pdv-hero-copy h1 {
        font-size: 2.1rem;
    }

    .smart-pdv-panel-head,
    .smart-pdv-suggestion-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .smart-pdv-hint {
        min-height: 34px;
    }

    .smart-pdv-search-group {
        flex-wrap: wrap;
        border-radius: 18px;
    }

    .smart-pdv-search-group .input-group-text {
        border-top-right-radius: 0;
        border-bottom-left-radius: 18px;
    }

    .smart-pdv-search-group .form-control {
        min-width: 0;
        width: calc(100% - 56px);
    }

    .smart-pdv-search-btn {
        width: 100%;
        min-height: 52px;
    }

    .smart-pdv-summary-card strong {
        font-size: 1.65rem;
    }

    .smart-pdv-table-wrap {
        max-height: none;
    }

    .smart-pdv-table,
    .smart-view-shell .table-responsive > .table {
        min-width: 580px;
    }

    .smart-view-shell .table-responsive > .table th,
    .smart-view-shell .table-responsive > .table td {
        white-space: nowrap;
    }

    .smart-view-shell .pagination {
        justify-content: flex-start !important;
    }

    .smart-view-shell .modal-dialog {
        margin: 0.75rem;
    }

    .smart-block-payment-modal-header,
    .smart-block-payment-modal-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .smart-block-payment-modal-dialog {
        margin-top: 1rem;
    }

    .smart-block-payment-modal-footer {
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 18px;
    }

    .smart-block-payment-modal-footer form,
    .smart-block-payment-modal-footer .btn {
        width: 100%;
        margin-left: 0;
    }

    .smart-footer-shell {
        width: min(100%, calc(100% - 24px));
        padding-top: 24px;
    }

    .smart-footer-brand,
    .smart-footer-card,
    .smart-footer-column {
        border-radius: 24px;
    }

    .smart-footer-brand h2 {
        font-size: 1.9rem;
    }

    .smart-footer-actions,
    .smart-footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .smart-footer-btn {
        width: 100%;
    }

    .smart-footer-meta li {
        flex-direction: column;
    }

    .smart-footer-meta strong {
        text-align: left;
    }
}
