@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --portal-bg: #08090b;
    --portal-bg-soft: #0d0f12;
    --portal-surface: rgba(18, 20, 24, 0.9);
    --portal-surface-strong: #15181d;
    --portal-surface-soft: #111318;
    --portal-border: rgba(255, 255, 255, 0.08);
    --portal-border-gold: rgba(242, 181, 68, 0.28);
    --portal-gold: #f2b544;
    --portal-gold-light: #ffd675;
    --portal-orange: #ff7a1a;
    --portal-text: #f7f4ed;
    --portal-muted: #939aa5;
    --portal-muted-strong: #bbc0c9;
    --portal-success: #43d6a3;
    --portal-danger: #ff6b74;
    --portal-warning: #ffbf47;
    --portal-radius-sm: 10px;
    --portal-radius: 16px;
    --portal-radius-lg: 24px;
    --portal-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
}

html {
    background: var(--portal-bg);
}

body.portal-body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 82% 6%, rgba(242, 181, 68, 0.1), transparent 28rem),
        radial-gradient(circle at -5% 48%, rgba(255, 122, 26, 0.06), transparent 26rem),
        var(--portal-bg);
    color: var(--portal-text);
    font-family: 'Manrope', sans-serif !important;
    font-size: 15px;
    line-height: 1.6;
}

body.portal-body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 42px 42px;
    content: '';
    mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

.portal-body a {
    color: var(--portal-muted-strong);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.portal-body a:hover {
    color: var(--portal-gold-light);
}

.portal-topbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    min-height: 76px;
    padding: 0;
    border-bottom: 1px solid var(--portal-border-gold);
    background: rgba(8, 9, 11, 0.88) !important;
    backdrop-filter: blur(22px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
}

.portal-topbar .container-fluid {
    max-width: 1460px;
    min-height: 76px;
    padding-inline: clamp(18px, 3vw, 46px);
}

.portal-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 22px 8px 0;
    color: var(--portal-text) !important;
}

.portal-brand__mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(242, 181, 68, 0.28);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(242, 181, 68, 0.12), rgba(255, 122, 26, 0.025));
    box-shadow: inset 0 0 24px rgba(242, 181, 68, 0.04);
}

.portal-brand__mark img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.portal-brand__copy {
    display: grid;
    line-height: 1.05;
}

.portal-brand__copy strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.portal-brand__copy small {
    margin-top: 3px;
    color: var(--portal-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.portal-nav {
    align-items: center;
    gap: 4px;
    margin-left: 16px;
}

.portal-body .portal-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--portal-muted-strong);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.portal-body .portal-nav .nav-link i {
    color: #7d838c;
    font-size: 13px;
    transition: color .2s ease;
}

.portal-body .portal-nav .nav-link:hover,
.portal-body .portal-nav .nav-link.active {
    border-color: rgba(242, 181, 68, 0.16);
    background: rgba(242, 181, 68, 0.08);
    color: var(--portal-gold-light);
}

.portal-body .portal-nav .nav-link:hover i,
.portal-body .portal-nav .nav-link.active i {
    color: var(--portal-gold);
}

.portal-user-menu {
    margin-left: 16px;
}

.portal-user-menu__trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px 7px 7px;
    border: 1px solid var(--portal-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--portal-text);
    line-height: 1.1;
}

.portal-user-menu__trigger::after {
    display: none;
}

.portal-user-menu__avatar,
.portal-user-menu__avatar .avatar,
.portal-user-menu__avatar img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    object-fit: cover;
}

.portal-user-menu__avatar .avatar {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 12px !important;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.portal-user-menu__avatar img[src=""],
.portal-user-menu__avatar img:not([src]) {
    display: none;
}

.portal-user-menu__avatar {
    display: grid;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(242, 181, 68, 0.32);
    background: rgba(242, 181, 68, 0.1);
}

.portal-user-menu__copy {
    display: grid;
    min-width: 92px;
    text-align: left;
}

.portal-user-menu__copy small {
    color: var(--portal-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.portal-user-menu__copy strong {
    max-width: 125px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-user-menu__trigger > i {
    color: var(--portal-gold);
    font-size: 10px;
}

.portal-dropdown {
    min-width: 220px;
    margin-top: 12px !important;
    padding: 8px;
    border: 1px solid var(--portal-border-gold);
    border-radius: 14px;
    background: rgba(15, 17, 20, 0.98);
    box-shadow: var(--portal-shadow);
}

.portal-body .portal-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--portal-muted-strong);
    font-size: 13px;
    font-weight: 650;
}

.portal-body .portal-dropdown .dropdown-item:hover,
.portal-body .portal-dropdown .dropdown-item:focus,
.portal-body .portal-dropdown .dropdown-item.active {
    background: rgba(242, 181, 68, 0.1);
    color: var(--portal-gold-light);
}

.portal-dropdown__heading {
    display: grid;
    padding: 10px 12px 12px;
    border-bottom: 1px solid var(--portal-border);
    margin-bottom: 6px;
}

.portal-dropdown__heading span {
    color: var(--portal-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.portal-dropdown__heading strong {
    margin-top: 2px;
    color: var(--portal-text);
    font-size: 13px;
}

.portal-body .portal-dropdown .portal-logout {
    color: #ff9299;
}

.portal-menu-toggle {
    width: 43px;
    height: 43px;
    padding: 10px;
    border: 1px solid var(--portal-border-gold);
    border-radius: 12px;
    box-shadow: none !important;
}

.portal-menu-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: var(--portal-gold);
}

.portal-login-button {
    border-radius: 11px !important;
}

.portal-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    border-bottom: 1px solid var(--portal-border-gold);
    background:
        linear-gradient(90deg, rgba(8, 9, 11, .97) 0%, rgba(8, 9, 11, .72) 48%, rgba(8, 9, 11, .94) 100%),
        url('../../../back-dash.jpg') center 56% / cover no-repeat;
}

.portal-hero::before {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 74% 45%, rgba(242, 181, 68, 0.13), transparent 24rem),
        linear-gradient(180deg, transparent 40%, var(--portal-bg));
    content: '';
}

.portal-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: 1460px;
    min-height: 210px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto;
    padding: 44px clamp(18px, 3vw, 46px) 48px;
}

.portal-hero__eyebrow,
.portal-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--portal-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.portal-hero__eyebrow::before,
.portal-section-eyebrow::before {
    width: 20px;
    height: 1px;
    background: var(--portal-gold);
    content: '';
}

.portal-hero h1 {
    margin: 9px 0 7px;
    color: var(--portal-text);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: .98;
}

.portal-hero p {
    max-width: 660px;
    margin: 0;
    color: var(--portal-muted-strong);
    font-size: 14px;
}

.portal-hero__status {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 228px;
    padding: 13px 15px;
    border: 1px solid var(--portal-border);
    border-radius: 14px;
    background: rgba(15, 17, 20, 0.72);
    backdrop-filter: blur(10px);
}

.portal-hero__status-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 11px;
    background: rgba(67, 214, 163, .1);
    color: var(--portal-success);
}

.portal-hero__status-copy {
    display: grid;
}

.portal-hero__status-copy small {
    color: var(--portal-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.portal-hero__status-copy strong {
    color: var(--portal-text);
    font-size: 12px;
}

.portal-shell {
    display: grid;
    width: min(1460px, calc(100% - 36px));
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 26px;
    margin: 0 auto;
    padding: 30px 0 70px;
}

.portal-shell--simple {
    display: block;
    width: min(1180px, calc(100% - 36px));
}

.portal-sidebar {
    position: relative;
}

.portal-sidebar__inner {
    position: sticky;
    top: 106px;
    overflow: hidden;
    padding: 12px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius);
    background: linear-gradient(155deg, rgba(23, 25, 29, .94), rgba(12, 14, 17, .94));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.portal-sidebar__label {
    display: block;
    padding: 7px 10px 9px;
    color: #676e78;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.portal-sidebar__nav {
    gap: 4px;
}

.portal-body .portal-sidebar__nav .nav-link,
.portal-body .portal-sidebar__nav .nav-link:hover {
    clip-path: none;
}

.portal-body .portal-sidebar__nav .nav-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: var(--portal-muted-strong);
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
    transition: .2s ease;
}

.portal-body .portal-sidebar__nav .nav-link i {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
    color: #777e87;
    font-size: 11px;
}

.portal-body .portal-sidebar__nav .nav-link:hover,
.portal-body .portal-sidebar__nav .nav-link.active {
    border-color: rgba(242, 181, 68, .18);
    background: linear-gradient(100deg, rgba(242, 181, 68, .13), rgba(242, 181, 68, .025));
    color: var(--portal-gold-light);
    box-shadow: inset 2px 0 var(--portal-gold);
}

.portal-body .portal-sidebar__nav .nav-link:hover i,
.portal-body .portal-sidebar__nav .nav-link.active i {
    background: rgba(242, 181, 68, .12);
    color: var(--portal-gold);
}

.portal-sidebar__divider {
    height: 1px;
    margin: 12px 4px;
    background: var(--portal-border);
}

.portal-sidebar__support {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid rgba(242, 181, 68, .13);
    border-radius: 12px;
    background: rgba(242, 181, 68, .045);
}

.portal-sidebar__support i {
    color: var(--portal-gold);
}

.portal-sidebar__support strong {
    display: block;
    margin-top: 7px;
    color: var(--portal-text);
    font-size: 12px;
}

.portal-sidebar__support p {
    margin: 4px 0 0;
    color: var(--portal-muted);
    font-size: 10px;
    line-height: 1.5;
}

.portal-content {
    min-width: 0;
}

.portal-content > main,
.portal-main {
    width: 100%;
    max-width: none;
    padding: 0;
}

.portal-page-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.portal-page-intro h2 {
    margin: 5px 0 0;
    color: var(--portal-text);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    letter-spacing: -.03em;
}

.portal-page-intro p {
    max-width: 570px;
    margin: 7px 0 0;
    color: var(--portal-muted);
    font-size: 13px;
}

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

.portal-summary-card {
    position: relative;
    overflow: hidden;
    min-height: 112px;
    padding: 17px;
    border: 1px solid var(--portal-border);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(22, 24, 29, .95), rgba(13, 15, 18, .95));
}

.portal-summary-card::after {
    position: absolute;
    right: -32px;
    bottom: -44px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(242, 181, 68, .06);
    content: '';
}

.portal-summary-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--portal-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.portal-summary-card__icon {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 9px;
    background: rgba(242, 181, 68, .1);
    color: var(--portal-gold);
}

.portal-summary-card strong {
    display: block;
    margin-top: 12px;
    color: var(--portal-text);
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    line-height: 1;
}

.portal-summary-card small {
    display: block;
    margin-top: 5px;
    color: #737a84;
    font-size: 10px;
}

.portal-body .card {
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius);
    background: linear-gradient(145deg, rgba(21, 23, 27, .98), rgba(12, 14, 17, .98));
    color: var(--portal-text);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

.portal-body .card-header,
.portal-body .card-header.bg-light {
    display: flex;
    min-height: 60px;
    align-items: center;
    gap: 9px;
    padding: 16px 19px;
    border-bottom: 1px solid var(--portal-border);
    background: rgba(255, 255, 255, .025) !important;
    color: var(--portal-text);
    font-size: 14px;
    font-weight: 800;
}

.portal-body .card-header > i {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: rgba(242, 181, 68, .1);
    color: var(--portal-gold);
    font-size: 12px;
}

.portal-body .card-body {
    padding: 20px;
}

.portal-body .card-footer {
    padding: 17px 19px;
    border-top: 1px solid var(--portal-border);
    background: rgba(8, 9, 11, .26);
}

.portal-body .table-responsive {
    scrollbar-color: rgba(242, 181, 68, .55) rgba(255, 255, 255, .03);
    scrollbar-width: thin;
}

.portal-body .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--portal-muted-strong);
    --bs-table-striped-bg: rgba(255, 255, 255, .018);
    --bs-table-striped-color: var(--portal-muted-strong);
    --bs-table-hover-bg: rgba(242, 181, 68, .045);
    --bs-table-hover-color: var(--portal-text);
    margin-bottom: 0;
    color: var(--portal-muted-strong);
    font-size: 12px;
}

.portal-body .table > :not(caption) > * > * {
    padding: 14px 16px;
    border-bottom-color: var(--portal-border);
    background: transparent;
    color: inherit;
    box-shadow: none;
    vertical-align: middle;
}

.portal-body .table thead th {
    border-bottom-width: 1px;
    color: #727984;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.portal-body .table tbody tr:last-child td {
    border-bottom: 0;
}

.portal-body .table tbody a {
    color: var(--portal-text);
    font-weight: 700;
}

.portal-body .table tbody a:hover {
    color: var(--portal-gold-light);
}

.portal-body .table-secondary {
    --bs-table-bg: rgba(255, 107, 116, .07);
    --bs-table-color: #d2a2a5;
}

.portal-body .btn,
.portal-body .btn:hover,
.portal-body .btn:focus {
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid rgba(242, 181, 68, .35);
    border-radius: 10px;
    clip-path: none;
    background: linear-gradient(135deg, var(--portal-gold-light), var(--portal-orange));
    box-shadow: 0 8px 20px rgba(255, 122, 26, .12);
    color: #17120a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.portal-body .btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.portal-body .btn-sm {
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 9px;
    font-size: 10px;
}

.portal-body .btn-secondary,
.portal-body .btn-outline-secondary {
    border-color: var(--portal-border);
    background: rgba(255, 255, 255, .045);
    box-shadow: none;
    color: var(--portal-muted-strong);
}

.portal-body .btn-outline-warning,
.portal-body .btn-outline-primary,
.portal-body .btn-outline-success,
.portal-body .btn-light {
    border-color: rgba(242, 181, 68, .3);
    background: rgba(242, 181, 68, .06);
    box-shadow: none;
    color: var(--portal-gold-light);
}

.portal-body .btn-success {
    border-color: rgba(67, 214, 163, .3);
    background: rgba(67, 214, 163, .1);
    box-shadow: none;
    color: var(--portal-success);
}

.portal-body .btn:disabled,
.portal-body .btn.disabled {
    border-color: var(--portal-border);
    background: rgba(255, 255, 255, .035);
    color: #666d76;
    filter: none;
    opacity: 1;
}

.portal-body .form-control,
.portal-body .form-select,
.portal-body .form-control:not(.form-adm .form-control) {
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid var(--portal-border);
    border-radius: 10px;
    clip-path: none;
    background: rgba(7, 8, 10, .72);
    box-shadow: none;
    color: var(--portal-text);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
}

.portal-body .form-control:focus,
.portal-body .form-select:focus {
    border-color: rgba(242, 181, 68, .62);
    background: rgba(7, 8, 10, .9);
    box-shadow: 0 0 0 3px rgba(242, 181, 68, .1);
    color: var(--portal-text);
}

.portal-body .form-control::placeholder {
    color: #5f6670;
}

.portal-body .form-label {
    color: var(--portal-muted-strong);
    font-size: 11px;
    font-weight: 750;
}

.portal-body .badge {
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
}

.portal-body .bg-success,
.portal-body .text-bg-success {
    background: rgba(67, 214, 163, .12) !important;
    color: var(--portal-success) !important;
}

.portal-body .text-warning {
    color: var(--portal-gold-light) !important;
}

.portal-body .text-muted {
    color: var(--portal-muted) !important;
}

.portal-body .alert {
    border: 1px solid var(--portal-border);
    border-radius: 12px;
    background: rgba(21, 23, 27, .96);
    color: var(--portal-muted-strong);
    box-shadow: var(--portal-shadow);
}

.portal-body .modal-content,
.portal-body .license-modal-content {
    overflow: hidden;
    border: 1px solid var(--portal-border-gold);
    border-radius: var(--portal-radius-lg);
    background: #121419;
    color: var(--portal-text);
    box-shadow: 0 30px 100px rgba(0, 0, 0, .65);
}

.portal-body .modal-header,
.portal-body .modal-footer {
    border-color: var(--portal-border);
    background: rgba(255, 255, 255, .02);
}

.portal-body .btn-close {
    filter: invert(1) grayscale(1);
}

.portal-footer {
    margin-top: auto;
    padding: 28px 18px;
    border-top: 1px solid var(--portal-border);
    background: rgba(8, 9, 11, .74);
    color: #656c76;
    text-align: center;
}

.portal-footer__inner {
    display: flex;
    width: min(1380px, 100%);
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 auto;
}

.portal-footer strong {
    color: var(--portal-muted-strong);
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
}

.portal-footer p {
    margin: 0;
    font-size: 10px;
}

/* Minhas licenças */
.portal-body .page-mylicenses {
    max-width: none;
    padding: 0 !important;
    overflow: visible;
}

.portal-body .page-mylicenses .row {
    --bs-gutter-x: 18px;
    margin-inline: calc(var(--bs-gutter-x) * -.5);
}

.portal-body .page-mylicenses .card {
    height: 100%;
    margin-bottom: 0;
}

.portal-body .page-mylicenses .card-header {
    min-height: 62px;
    padding: 16px 18px;
}

.portal-body .page-mylicenses .table {
    width: 100%;
    min-width: 0;
    table-layout: auto;
}

.portal-body .page-mylicenses .table-updates td:first-child {
    color: var(--portal-text);
    font-weight: 700;
}

.portal-body .page-mylicenses .license-logo-thumb {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid rgba(242, 181, 68, .25);
    border-radius: 10px;
    background: #0c0e11;
    object-fit: cover;
}

.portal-body .page-mylicenses .updates-desc {
    color: var(--portal-muted-strong);
    font-size: 11px;
    line-height: 1.6;
}

.portal-body .page-mylicenses .border.rounded.p-3 {
    border-color: rgba(242, 181, 68, .2) !important;
    border-radius: 12px !important;
    background: rgba(242, 181, 68, .045) !important;
}

.portal-body .page-mylicenses .sub-badge,
.portal-body .page-mylicenses .sub-badge:hover {
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 999px;
    clip-path: none;
    background: rgba(242, 181, 68, .08);
    box-shadow: none;
    color: var(--portal-gold-light);
    font-size: 9px;
    text-transform: none;
}

.portal-body .page-mylicenses .sub-active {
    border-color: rgba(67, 214, 163, .32);
    background: rgba(67, 214, 163, .1);
    color: var(--portal-success);
}

.portal-body .page-mylicenses .btn-license-renew {
    border-radius: 8px;
    background: linear-gradient(135deg, var(--portal-gold-light), var(--portal-orange));
    color: #17120a !important;
}

.portal-body .empty-licenses,
.portal-empty-state {
    display: grid;
    min-height: 230px;
    place-items: center;
    padding: 40px;
    color: var(--portal-muted);
    text-align: center;
}

.portal-body .empty-licenses i,
.portal-empty-state i {
    color: rgba(242, 181, 68, .45);
}

/* Loja */
.portal-store-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding: 18px 20px;
    border: 1px solid var(--portal-border);
    border-radius: 15px;
    background: linear-gradient(120deg, rgba(242, 181, 68, .08), rgba(255, 122, 26, .025));
}

.portal-store-intro h2 {
    margin: 0;
    color: var(--portal-text);
    font-family: 'Cormorant Garamond', serif;
    font-size: 29px;
}

.portal-store-intro p {
    margin: 4px 0 0;
    color: var(--portal-muted);
    font-size: 12px;
}

.portal-store-intro__badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(67, 214, 163, .25);
    border-radius: 999px;
    background: rgba(67, 214, 163, .08);
    color: var(--portal-success);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.portal-body .license-store-card {
    position: relative;
    height: 100%;
    border-color: rgba(242, 181, 68, .14);
    background: #0d0f12 !important;
    text-align: left !important;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.portal-body .license-store-card:hover {
    border-color: rgba(242, 181, 68, .42);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .34), 0 0 34px rgba(242, 181, 68, .05);
    transform: translateY(-5px);
}

.portal-body .license-store-card .card-title {
    min-height: 68px;
    padding: 15px 17px;
    border-bottom: 1px solid var(--portal-border);
    background: rgba(255, 255, 255, .025) !important;
}

.portal-body .license-store-card .card-title h3 {
    padding: 0 !important;
    color: var(--portal-text);
    font-family: 'Cormorant Garamond', serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.05;
}

.portal-body .license-store-card .card-plan-img-wrap {
    position: relative;
    min-height: 280px;
    background: radial-gradient(circle at center, rgba(242, 181, 68, .08), transparent 65%);
}

.portal-body .license-store-card .card-plan-img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    padding: 10px;
}

.portal-body .license-store-card .card-img-overlay {
    position: static;
    padding: 0;
}

.portal-body .license-store-card .list-group {
    border-radius: 0;
}

.portal-body .license-store-card .list-group-item {
    padding: 10px 17px;
    border-color: var(--portal-border);
    background: transparent;
    color: var(--portal-muted-strong);
    font-size: 11px;
}

.portal-body .license-store-card .list-group-item-warning {
    background: rgba(242, 181, 68, .07);
    color: var(--portal-gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 700;
}

.portal-body .license-store-card .card-footer {
    margin-top: auto;
}

.portal-body .btn-ver-detalhes {
    position: absolute;
    top: 236px;
    left: 50%;
    z-index: 4;
    min-width: 140px;
    padding: 9px 14px;
    border: 1px solid rgba(242, 181, 68, .28);
    border-radius: 999px;
    background: rgba(9, 10, 12, .88);
    color: var(--portal-gold-light);
    font-family: 'Manrope', sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
}

/* Produto, checkout, downloads e termos */
.portal-body .custom-license-card {
    border-color: rgba(242, 181, 68, .17);
    background: linear-gradient(145deg, rgba(22, 24, 28, .98), rgba(11, 13, 16, .98));
}

.portal-body code {
    border-color: rgba(242, 181, 68, .2) !important;
    background: #090a0c !important;
    color: var(--portal-gold-light) !important;
}

.portal-body .nav-pills {
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--portal-border);
    border-radius: 13px;
    background: rgba(255, 255, 255, .025);
}

.portal-body .nav-pills .nav-link {
    padding: 9px 14px;
    border-radius: 9px;
    color: var(--portal-muted);
    font-size: 11px;
    font-weight: 800;
}

.portal-body .nav-pills .nav-link.active {
    background: rgba(242, 181, 68, .11);
    color: var(--portal-gold-light);
}

.portal-body .terms-page-header h1,
.portal-body .terms-content-body h1,
.portal-body .terms-content-body h2,
.portal-body .terms-content-body h3 {
    color: var(--portal-text);
    font-family: 'Cormorant Garamond', serif;
}

.portal-body .terms-content-card {
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-lg);
    background: var(--portal-surface);
    color: var(--portal-muted-strong);
}

.portal-body .terms-page-subtitle,
.portal-body .terms-last-updated {
    color: var(--portal-muted);
}

.portal-checkout-card {
    max-width: 980px;
}

.portal-payment-options {
    margin-bottom: 24px;
}

.portal-payment-option {
    position: relative;
    display: grid;
    min-height: 190px;
    place-items: center;
    padding: 20px;
    border: 1px solid var(--portal-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .02);
    color: var(--portal-muted-strong);
    cursor: pointer;
    text-align: center;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.portal-payment-option:hover,
.portal-payment-option:has(input:checked) {
    border-color: rgba(242, 181, 68, .52);
    background: rgba(242, 181, 68, .06);
    transform: translateY(-2px);
}

.portal-payment-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.portal-payment-option__check {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid var(--portal-border);
    border-radius: 50%;
    color: transparent;
    font-size: 9px;
}

.portal-payment-option:has(input:checked) .portal-payment-option__check {
    border-color: var(--portal-gold);
    background: var(--portal-gold);
    color: #17120a;
}

.portal-payment-option img {
    width: 100%;
    max-width: 145px;
    height: 70px;
    object-fit: contain;
}

.portal-payment-option strong {
    color: var(--portal-text);
    font-size: 13px;
}

.portal-payment-option small {
    color: var(--portal-muted);
    font-size: 10px;
}

.portal-checkout-fields {
    padding-top: 22px;
    border-top: 1px solid var(--portal-border);
}

.portal-checkout-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--portal-border);
}

.portal-checkout-actions p {
    margin: 0;
    color: var(--portal-muted);
    font-size: 10px;
}

.portal-pix-card {
    display: grid;
    max-width: 940px;
    grid-template-columns: minmax(0, 1fr) 310px;
}

.portal-pix-card__visual,
.portal-pix-card__code {
    padding: clamp(24px, 4vw, 42px);
}

.portal-pix-card__visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 0 100%, rgba(242, 181, 68, .11), transparent 18rem),
        rgba(255, 255, 255, .012);
}

.portal-pix-card__visual h3 {
    margin: 10px 0 4px;
    color: var(--portal-text);
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
}

.portal-pix-card__visual > p {
    max-width: 480px;
    color: var(--portal-muted);
    font-size: 12px;
}

.portal-pix-card__price {
    display: grid;
    margin-top: 26px;
}

.portal-pix-card__price small {
    color: var(--portal-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.portal-pix-card__price strong {
    margin-top: 3px;
    color: var(--portal-gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    line-height: 1;
}

.portal-pix-card__price span {
    margin-top: 6px;
    color: var(--portal-muted-strong);
    font-size: 11px;
}

.portal-pix-card__code {
    display: grid;
    align-content: center;
    gap: 12px;
    border-left: 1px solid var(--portal-border);
    text-align: center;
}

.portal-qr-wrap {
    padding: 14px;
    border-radius: 14px;
    background: #fff;
}

.portal-qr-wrap img {
    display: block;
    width: 100%;
}

.portal-pix-card__code small {
    color: var(--portal-muted);
    font-size: 9px;
}

.portal-pix-card__copy {
    grid-column: 1 / -1;
    padding: 18px 22px;
    border-top: 1px solid var(--portal-border);
    background: rgba(8, 9, 11, .32);
}

.portal-pix-card__copy > span {
    display: block;
    margin-bottom: 8px;
    color: var(--portal-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.portal-pix-card__copy > div {
    overflow-wrap: anywhere;
    color: var(--portal-muted-strong);
    font-family: monospace;
    font-size: 11px;
}

.portal-news-list {
    display: grid;
    gap: 14px;
}

.portal-news-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius);
    background: linear-gradient(145deg, rgba(21, 23, 27, .98), rgba(12, 14, 17, .98));
    transition: border-color .2s ease, transform .2s ease;
}

.portal-news-card:hover {
    border-color: rgba(242, 181, 68, .3);
    transform: translateY(-2px);
}

.portal-news-card__date {
    display: grid;
    align-content: center;
    justify-items: center;
    border-right: 1px solid var(--portal-border);
    background: rgba(242, 181, 68, .045);
    color: var(--portal-muted);
    text-transform: uppercase;
}

.portal-news-card__date strong {
    color: var(--portal-gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    line-height: 1;
}

.portal-news-card__date span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.portal-news-card__content {
    padding: 20px 22px;
}

.portal-news-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--portal-muted);
    font-size: 10px;
}

.portal-news-card__meta img,
.portal-article__author img {
    width: 28px;
    height: 28px;
    border: 1px solid var(--portal-border-gold);
    border-radius: 9px;
    object-fit: cover;
}

.portal-news-card h3 {
    margin: 11px 0 5px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
}

.portal-news-card h3 a {
    color: var(--portal-text);
    text-decoration: none;
}

.portal-news-card p {
    margin: 0;
    color: var(--portal-muted);
    font-size: 12px;
}

.portal-news-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--portal-gold) !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.portal-article {
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-lg);
    background: linear-gradient(145deg, rgba(21, 23, 27, .98), rgba(12, 14, 17, .98));
    box-shadow: var(--portal-shadow);
}

.portal-article__header {
    padding: clamp(24px, 5vw, 52px);
    border-bottom: 1px solid var(--portal-border);
    background: radial-gradient(circle at 10% 110%, rgba(242, 181, 68, .11), transparent 28rem);
}

.portal-article__header h2 {
    max-width: 860px;
    margin: 15px 0 22px;
    color: var(--portal-text);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.02;
}

.portal-article__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-article__author img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
}

.portal-article__author div {
    display: grid;
}

.portal-article__author strong {
    color: var(--portal-text);
    font-size: 11px;
}

.portal-article__author span {
    color: var(--portal-muted);
    font-size: 9px;
}

.portal-article__body {
    padding: clamp(24px, 5vw, 52px);
    color: var(--portal-muted-strong);
    font-size: 14px;
    line-height: 1.8;
}

.portal-article__body h1,
.portal-article__body h2,
.portal-article__body h3,
.portal-article__body h4 {
    color: var(--portal-text);
    font-family: 'Cormorant Garamond', serif;
}

/* Minha conta */
.account-page-intro {
    margin-bottom: 18px;
}

.account-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.account-tabs__item {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid var(--portal-border);
    border-radius: 13px;
    background: rgba(255, 255, 255, .02);
    color: var(--portal-muted-strong) !important;
    text-decoration: none;
    transition: .2s ease;
}

.account-tabs__item > i {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    color: #777e88;
}

.account-tabs__item span {
    display: grid;
}

.account-tabs__item strong {
    color: var(--portal-text);
    font-size: 11px;
}

.account-tabs__item small {
    color: var(--portal-muted);
    font-size: 9px;
}

.account-tabs__item:hover,
.account-tabs__item.active {
    border-color: rgba(242, 181, 68, .35);
    background: rgba(242, 181, 68, .065);
    transform: translateY(-1px);
}

.account-tabs__item.active > i {
    background: rgba(242, 181, 68, .13);
    color: var(--portal-gold);
}

.account-settings-card,
.account-panel {
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-lg);
    background: linear-gradient(145deg, rgba(21, 23, 27, .98), rgba(12, 14, 17, .98));
    box-shadow: var(--portal-shadow);
}

.account-settings-grid {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
}

.account-settings-profile {
    padding: 34px 26px;
    border-right: 1px solid var(--portal-border);
    background:
        radial-gradient(circle at 50% 10%, rgba(242, 181, 68, .11), transparent 15rem),
        rgba(255, 255, 255, .012);
}

.account-avatar-editor {
    display: grid;
    justify-items: center;
    text-align: center;
}

.account-avatar-editor__preview {
    position: relative;
    display: grid;
    width: 154px;
    height: 154px;
    place-items: center;
    padding: 5px;
    border: 1px solid rgba(242, 181, 68, .4);
    border-radius: 36px;
    background: linear-gradient(145deg, rgba(242, 181, 68, .13), rgba(255, 122, 26, .03));
    box-shadow: 0 20px 50px rgba(0, 0, 0, .34);
}

.account-avatar-editor__preview .avatar,
.account-avatar-editor__preview img {
    width: 142px !important;
    height: 142px !important;
    border-radius: 30px !important;
    object-fit: cover;
}

.account-avatar-fallback {
    position: relative;
    display: grid;
    width: 142px;
    height: 142px;
    place-items: center;
    overflow: hidden;
    border-radius: 30px;
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: .02em;
    user-select: none;
}

.account-avatar-fallback__initials {
    grid-area: 1 / 1;
    z-index: 0;
}

.account-avatar-fallback__img {
    grid-area: 1 / 1;
    z-index: 1;
    width: 142px !important;
    height: 142px !important;
    border-radius: 30px !important;
    object-fit: cover;
}

.account-avatar-editor__status {
    position: absolute;
    right: 4px;
    bottom: 9px;
    width: 18px;
    height: 18px;
    border: 4px solid #131519;
    border-radius: 50%;
    background: var(--portal-success);
}

.account-avatar-editor__copy {
    margin-top: 20px;
}

.account-avatar-editor__copy strong {
    color: var(--portal-text);
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
}

.account-avatar-editor__copy p {
    margin: 4px 0 0;
    color: var(--portal-muted);
    font-size: 9px;
}

.account-upload-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 9px 13px;
    border: 1px solid rgba(242, 181, 68, .28);
    border-radius: 10px;
    background: rgba(242, 181, 68, .07);
    color: var(--portal-gold-light);
    cursor: pointer;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.account-upload-button:hover {
    background: rgba(242, 181, 68, .16);
    color: #ffe08a;
}

.account-avatar-file-name {
    margin-top: 8px !important;
    color: #4ade80 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.account-avatar-editor__remove {
    margin-top: 12px;
    color: #d78187 !important;
    font-size: 9px;
    text-decoration: none;
}

.account-settings-fields {
    padding: clamp(25px, 4vw, 42px);
}

.account-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 21px;
}

.account-section-heading--spaced {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid var(--portal-border);
}

.account-section-heading__icon {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    place-items: center;
    border-radius: 11px;
    background: rgba(242, 181, 68, .1);
    color: var(--portal-gold);
}

.account-section-heading > div {
    display: grid;
}

.account-section-heading strong {
    color: var(--portal-text);
    font-size: 13px;
}

.account-section-heading small {
    color: var(--portal-muted);
    font-size: 9px;
}

.portal-body .account-settings-fields .input-group-text {
    min-width: 44px;
    justify-content: center;
    border: 1px solid var(--portal-border);
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: rgba(242, 181, 68, .06);
    color: var(--portal-gold);
}

.portal-body .account-settings-fields .input-group .form-control {
    border-radius: 0 10px 10px 0;
}

.account-groups-select {
    min-height: 92px !important;
}

.account-field-note {
    display: block;
    margin-top: 7px;
    color: var(--portal-muted);
    font-size: 9px;
}

.account-meta-fields:not(:empty) {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--portal-border);
}

.account-settings-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 24px;
    border-top: 1px solid var(--portal-border);
    background: rgba(8, 9, 11, .3);
}

.account-settings-actions > span {
    color: var(--portal-muted);
    font-size: 9px;
}

.account-settings-actions > span i {
    margin-right: 4px;
    color: var(--portal-success);
}

.account-security-grid {
    display: grid;
    gap: 16px;
}

.account-panel {
    padding: clamp(22px, 4vw, 34px);
}

.account-panel #pass-meter {
    display: flex;
    gap: 4px;
}

.account-panel #pass-meter .segment {
    height: 4px;
    flex: 1;
    border-radius: 4px;
    background: #2c3036;
}

.account-password-match {
    min-height: 18px;
    color: var(--portal-muted);
    font-size: 9px;
}

.account-password-match .pass-match {
    color: var(--portal-success);
}

.account-password-match .pass-not-match {
    color: var(--portal-danger);
}

.account-user-agent {
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-permissions-panel {
    padding: 0;
}

.account-permissions-heading {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 26px;
    border-bottom: 1px solid var(--portal-border);
    background: rgba(255, 255, 255, .014);
}

.account-permission-search {
    position: relative;
    display: block;
    width: min(310px, 100%);
    margin: 0 !important;
}

.account-permission-search > i {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 14px;
    color: var(--portal-muted);
    font-size: 10px;
    transform: translateY(-50%);
}

.account-permission-search input {
    width: 100%;
    padding-left: 36px !important;
}

.account-permissions-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 22px 26px;
    padding: 13px 15px;
    border: 1px solid rgba(107, 184, 255, .17);
    border-radius: 11px;
    background: rgba(107, 184, 255, .055);
    color: var(--portal-info);
}

.account-permissions-note > i {
    margin-top: 2px;
}

.account-permissions-note > div {
    display: grid;
    gap: 2px;
}

.account-permissions-note strong {
    color: var(--portal-text);
    font-size: 10px;
}

.account-permissions-note span {
    color: var(--portal-muted-strong);
    font-size: 9px;
    line-height: 1.55;
}

.account-permissions-table-wrap {
    margin: 0 26px;
    border: 1px solid var(--portal-border);
    border-radius: 12px;
}

.account-permissions-table {
    min-width: 760px;
    margin: 0 !important;
}

.account-permissions-table td:first-child {
    width: 32%;
}

.account-permissions-table code {
    display: inline-block;
    color: var(--portal-gold-light);
    font-size: 10px;
}

.account-permission-badge {
    display: inline-flex;
    margin-left: 7px;
    padding: 4px 7px;
    border: 1px solid rgba(107, 184, 255, .18);
    border-radius: 999px;
    background: rgba(107, 184, 255, .07);
    color: var(--portal-info);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.account-permission-description {
    color: var(--portal-muted-strong) !important;
}

.account-permission-choice {
    text-align: right;
}

.account-permission-switch {
    position: relative;
    display: inline-flex !important;
    width: 42px;
    height: 23px;
    margin: 0 !important;
    cursor: pointer;
}

.account-permission-switch input {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    opacity: 0;
}

.account-permission-switch span {
    position: absolute;
    inset: 0;
    border: 1px solid #363b43;
    border-radius: 999px;
    background: #0a0c0e;
    transition: .2s ease;
}

.account-permission-switch span::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #69717b;
    content: '';
    transition: .2s ease;
}

.account-permission-switch input:checked + span {
    border-color: rgba(242, 181, 68, .6);
    background: rgba(242, 181, 68, .18);
}

.account-permission-switch input:checked + span::after {
    left: 22px;
    background: var(--portal-gold-light);
}

.account-permission-switch input:indeterminate + span {
    border-color: rgba(107, 184, 255, .45);
    background: rgba(107, 184, 255, .11);
}

.account-permission-switch input:indeterminate + span::after {
    left: 12px;
    background: var(--portal-info);
}

.account-permission-switch input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(242, 181, 68, .13);
}

.account-permissions-empty {
    margin: 20px 26px 0;
    padding: 24px;
    color: var(--portal-muted);
    text-align: center;
}

.account-permissions-empty i {
    margin-right: 7px;
    color: var(--portal-gold);
}

.account-permissions-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding: 18px 26px;
    border-top: 1px solid var(--portal-border);
    background: rgba(8, 9, 11, .3);
}

.account-permissions-actions p {
    margin: 0;
    color: var(--portal-muted);
    font-size: 9px;
}

.account-permissions-actions p i {
    margin-right: 5px;
    color: var(--portal-success);
}

@media (max-width: 1199.98px) {
    .portal-user-menu__copy {
        display: none;
    }

    .portal-shell {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 20px;
    }

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

@media (max-width: 991.98px) {
    .portal-topbar .navbar-collapse {
        margin: 0 -18px;
        padding: 12px 18px 18px;
        border-top: 1px solid var(--portal-border);
        background: rgba(8, 9, 11, .98);
    }

    .portal-nav {
        align-items: stretch;
        gap: 3px;
        margin: 0 0 12px;
    }

    .portal-body .portal-nav .nav-link {
        display: flex;
    }

    .portal-user-menu {
        margin: 0;
    }

    .portal-user-menu__trigger {
        width: 100%;
        justify-content: flex-start;
    }

    .portal-user-menu__copy {
        display: grid;
        flex: 1;
    }

    .portal-hero__status {
        display: none;
    }

    .portal-shell {
        display: block;
        width: min(100% - 28px, 960px);
        padding-top: 20px;
    }

    .portal-sidebar__inner {
        position: static;
        margin-bottom: 20px;
    }

    .portal-sidebar__label,
    .portal-sidebar__divider,
    .portal-sidebar__support {
        display: none;
    }

    .portal-sidebar__nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portal-body .portal-sidebar__nav .nav-link {
        justify-content: center;
        text-align: center;
    }

    .portal-body .portal-sidebar__nav .nav-link:nth-child(n+4) {
        display: none;
    }

    .account-settings-grid {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .account-permissions-heading,
    .account-permissions-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .account-permission-search {
        width: 100%;
    }

    .account-permissions-note,
    .account-permissions-table-wrap {
        margin-right: 16px;
        margin-left: 16px;
    }
}

@media (max-width: 767.98px) {
    .portal-hero__inner {
        min-height: 175px;
        padding-block: 32px 38px;
    }

    .portal-hero h1 {
        font-size: 40px;
    }

    .portal-hero p {
        font-size: 12px;
    }

    .portal-page-intro,
    .portal-store-intro {
        display: block;
    }

    .portal-store-intro__badge {
        display: inline-flex;
        margin-top: 12px;
    }

    .portal-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .portal-summary-card {
        min-height: 101px;
        padding: 14px;
    }

    .portal-summary-card strong {
        font-size: 26px;
    }

    .portal-body .page-mylicenses .row {
        --bs-gutter-x: 14px;
    }

    .portal-body .page-mylicenses .table-responsive {
        overflow-x: auto;
    }

    .portal-body .page-mylicenses .table-updates {
        min-width: 440px;
    }

    .portal-body .page-mylicenses .table-licenses {
        min-width: 850px;
    }

    .portal-footer__inner {
        display: grid;
        justify-content: center;
    }

    .portal-checkout-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .portal-pix-card {
        grid-template-columns: 1fr;
    }

    .portal-pix-card__code {
        border-top: 1px solid var(--portal-border);
        border-left: 0;
    }

    .portal-qr-wrap {
        width: min(260px, 100%);
        margin: 0 auto;
    }

    .account-tabs {
        grid-template-columns: 1fr;
    }

    .account-settings-grid {
        grid-template-columns: 1fr;
    }

    .account-settings-profile {
        border-right: 0;
        border-bottom: 1px solid var(--portal-border);
    }

    .account-settings-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .portal-brand__copy strong {
        font-size: 20px;
    }

    .portal-brand__copy small {
        display: none;
    }

    .portal-sidebar__nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portal-body .portal-sidebar__nav .nav-link {
        min-height: 60px;
        flex-direction: column;
        gap: 5px;
        padding: 7px 4px;
        font-size: 9px;
        line-height: 1.2;
    }

    .portal-body .portal-sidebar__nav .nav-link i {
        width: 25px;
        height: 25px;
    }

    .portal-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .portal-summary-card__top span:first-child {
        max-width: 84px;
    }

    .portal-body .card-header {
        padding: 14px 15px;
    }

    .portal-body .card-body {
        padding: 16px;
    }

    .portal-body .card-footer {
        padding: 15px;
    }

    .portal-body .license-store-card .card-plan-img-wrap,
    .portal-body .license-store-card .card-plan-img {
        min-height: 250px;
        height: 250px;
    }

    .portal-body .btn-ver-detalhes {
        top: 208px;
    }

    .portal-news-card {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .portal-news-card__content {
        padding: 16px;
    }

    .portal-news-card__date strong {
        font-size: 25px;
    }

    .portal-news-card h3 {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-body *,
    .portal-body *::before,
    .portal-body *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
