.dashCss * {
    font-family: "DM Sans", sans-serif;
}

.card-description{
    font-size: 16px;
    color: #374151;
}

[v-cloak] {
    display: none !important;
}

.fa,
.far,
.fas {
    font-family: "Font Awesome 5 Free" !important;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
label,
li,
button,span,a,p {
    font-family: "DM Sans", sans-serif !important;
}

.dashCss h2 {
    font-size: 24px !important;
}

.notMargin {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex;
    justify-content: flex-start;
}

@media (min-width: 1201px) {
    .notMargin > .sideWidthResponsive {
        flex: 0 0 270px;
    }

    .notMargin > .dash-main-content {
        flex: 1 1 auto;
        max-width: calc(95% - 270px);
    }
}

/* Dashboard Quickstart (React-like) */
.dash-qs-shell {
    width: 100%;
    max-width: none;
    margin: 0;
}

.dash-qs-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 18px !important;
    flex-wrap: wrap;
}

.dash-qs-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dash-qs-toggle-btn:hover {
    background: #f9fafb;
    text-decoration: none;
}

.dash-qs-toggle-btn.is-active {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.dash-qs-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

/* API usage card */
.api-usage-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.api-usage-label {
    color: #374151;
}

.api-usage-value {
    color: #111827;
    font-weight: 500;
}

.api-usage-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.api-usage-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: #2563eb;
}

.api-usage-calendar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: #4b5563;
}

.api-usage-calendar-row .period {
    font-weight: 500;
    color: #111827;
}

.api-usage-table-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.api-usage-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.api-usage-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.api-usage-table thead tr {
    border-bottom: 1px solid #e5e7eb;
}

.api-usage-table th {
    text-align: left;
    padding: 10px 12px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: #6b7280;
    font-weight: 600;
    white-space: nowrap;
}

.api-usage-table td {
    padding: 10px 12px;
    color: #111827;
}

.api-usage-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
}

.api-usage-table tbody tr.total-row {
    background: #f9fafb;
    font-weight: 600;
}

.api-usage-table th:nth-child(2),
.api-usage-table th:nth-child(3),
.api-usage-table td:nth-child(2),
.api-usage-table td:nth-child(3) {
    text-align: right;
}

.dash-qs-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.dash-qs-lucide-icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
    color: #374151;
}

.dash-qs-lucide-icon--inverse {
    color: #ffffff;
}

.dash-qs-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
}

.dash-qs-card-subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #374151;
}

.dash-qs-em {
    font-weight: 500;
}

.dash-qs-key-row {
    position: relative;
}

.dash-qs-key {
    width: 100%;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 124px 12px 14px;
    font-size: 14px;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.dash-qs-icon-btn {
    position: absolute;
    top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid transparent;
    color: #ffffff;
    height: calc(100% - 8px);
    transition: background-color 0.15s ease;
}

.dash-qs-icon-btn.is-dark {
    background: #111827;
    right: 56px;
}

.dash-qs-icon-btn.is-dark:hover {
    background: #1f2937;
}

.dash-qs-icon-btn.is-yellow {
    background: #f59e0b;
    right: 4px;
}

.dash-qs-icon-btn.is-yellow:hover {
    background: #d97706;
}

.dash-qs-copy-status {
    font-size: 13px;
    font-weight: 500;
}

.dash-qs-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.billing-portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    background: #4f46e5;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    border: none;
}

.billing-portal-btn:hover {
    color: #ffffff;
    background: #4338ca;
}

/* Soft limit switch (API Usage) */
.softLimitSwitchContainer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.switch {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
    outline: none;
    border: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #d1d5db;
    transition: 0.2s;
    border-radius: 999px;
    border: none;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background-color: #ffffff;
    transition: 0.2s;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
}

.switch input:checked + .slider {
    background-color: #111827;
}

.switch input:active + .slider {
    box-shadow: none;
}

.switch input:checked + .slider:before {
    transform: translateX(20px);
}

.dash-qs-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dash-qs-doc-btn:hover {
    background: #f9fafb;
    color: #111827;
    text-decoration: none;
}

.dash-qs-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dash-qs-field {
    display: flex;
    flex-direction: column;
}

.dash-qs-label {
    font-size: 14px;
    color: #374151;
    margin-bottom: 10px;
}

.dash-qs-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    color: #111827;
    font-size: 14px;
    outline: none;
}

select.dash-qs-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2716%27%20height%3D%2716%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%236b7280%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpolyline%20points%3D%276%209%2012%2015%2018%209%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
}

select.dash-qs-input::-ms-expand {
    display: none;
}

.danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    background: #ef4444;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    border: none;
}

.danger-btn:hover {
    color: #ffffff;
    background: #dc2626;
}

/* Account: delete modal */
.acct-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 20px;
}

.acct-modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 24px 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
}

.acct-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
}

.acct-modal-close:hover {
    color: #4b5563;
}

.acct-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    border: 1px solid #fee2e2;
}

.acct-modal-icon .dash-qs-lucide-icon {
    width: 24px;
    height: 24px;
    color: #dc2626;
}

.acct-modal-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 10px;
}

.acct-modal-text {
    text-align: center;
    font-size: 14px;
    line-height: 1.55;
    color: #4b5563;
    margin: 0 0 18px;
}

.acct-modal-footer {
    display: flex;
    gap: 12px;
}

.acct-modal-btn {
    flex: 1 1 0;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.acct-modal-btn-cancel {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
}

.acct-modal-btn-cancel:hover {
    background: #f9fafb;
}

.acct-modal-btn-danger {
    background: #dc2626;
    border: 1px solid #dc2626;
    color: #ffffff;
}

.acct-modal-btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

.dash-qs-input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
    background-color: #ffffff;
}

.dash-qs-input-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.dash-qs-help {
    margin: 8px 0 0;
    font-size: 12px;
    color: #4b5563;
}

.dash-qs-help a {
    color: #2563eb;
    text-decoration: none;
}

.dash-qs-help a:hover {
    text-decoration: underline;
}

.dash-qs-actions {
    display: flex;
    gap: 12px;
    padding-top: 8px;
    flex-wrap: wrap;
}

.dash-qs-run-btn {
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 14px !important;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
}

.dash-qs-actions .btn-gradient-primary {
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 14px !important;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
}

.dash-qs-note {
    margin-top: 32px;
    padding: 24px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
}

.dash-qs-note-label {
    font-weight: 600;
}

.dash-qs-note-strong {
    font-size: 14px;
    color: #111827;
    margin: 0 0 12px;
}

.dash-qs-note-text {
    font-size: 14px;
    color: #374151;
    margin: 0 0 10px;
}

.dash-qs-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.dash-qs-footer-text {
    font-size: 14px;
    color: #374151;
    margin: 0 0 12px;
}

.dash-qs-footer a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.dash-qs-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .dash-qs-card {
        padding: 20px;
    }

    .dash-qs-key-row {
        flex-wrap: nowrap;
    }

    .dash-qs-icon-btn {
        padding: 10px 12px;
    }

    .dash-qs-card-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Custom reset modal */
.dash-qs-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.dash-qs-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 24px 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
}

.dash-qs-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 28px;
    color: #9ca3af;
    cursor: pointer;
}

.dash-qs-modal-close:hover {
    color: #4b5563;
}

.dash-qs-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef3c7;
    border: 1px solid #fde68a;
}

.dash-qs-modal-icon .dash-qs-lucide-icon {
    color: #d97706;
}

.dash-qs-modal-icon-success {
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.dash-qs-modal-icon-success .dash-qs-lucide-icon {
    color: #16a34a;
}

.dash-qs-modal-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.dash-qs-modal-text {
    text-align: center;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 20px;
}

.dash-qs-modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.dash-qs-modal-btn {
    flex: 1 1 0;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
}

.dash-qs-modal-btn-cancel {
    background: #ffffff;
    color: #374151;
    border-color: #d1d5db;
}

.dash-qs-modal-btn-cancel:hover {
    background: #f9fafb;
}

.dash-qs-modal-btn-danger {
    background: #dc2626;
    color: #ffffff;
}

.dash-qs-modal-btn-danger:hover {
    background: #b91c1c;
}

.dash-qs-modal-btn-primary {
    background: #4f46e5;
    color: #ffffff;
}

.dash-qs-modal-btn-primary:hover {
    background: #4338ca;
    color: #ffffff !important;
}

.dash-qs-modal-btn-primary:hover .dash-qs-lucide-icon,
.dash-qs-modal-btn-primary:focus .dash-qs-lucide-icon,
.dash-qs-modal-btn-primary:active .dash-qs-lucide-icon {
    color: #ffffff !important;
}

/* SweetAlert2 success modal – match dashboard aesthetic */
.swal2-popup {
    border-radius: 18px !important;
    padding: 26px 32px 24px !important;
}

.swal2-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin-top: 10px !important;
    margin-bottom: 6px !important;
}

.swal2-html-container {
    font-size: 14px !important;
    color: #4b5563 !important;
}

.swal2-actions {
    justify-content: center !important;
    margin-top: 18px !important;
}

.swal2-styled.swal2-confirm {
    min-width: 110px !important;
    padding: 8px 22px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    background-color: #4f46e5 !important;
    border: none !important;
}

.swal2-styled.swal2-confirm:hover {
    background-color: #4338ca !important;
}

/* Success icon styling */
.swal2-icon.swal2-success {
    border-radius: 999px !important;
    border-width: 0 !important;
    background: #ecfdf5 !important;
    box-shadow: none !important;
}

.swal2-success-ring {
    border: 2px solid #a7f3d0 !important;
}

.swal2-success-line-tip,
.swal2-success-line-long {
    background-color: #16a34a !important;
}

.sidebarButtonContainer {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0.75rem;
    font-size: 16px;
}

.sidebarButtonContainer span{
    color: #1b1642;
}

.sidebarUl li {
    display: flex;
    align-items: center;
    padding: 0;
}

/* Dashboard sidebar – modern vertical nav */
.dashboard-sidebar {
    padding: 0.75rem 0;
    border: none !important;
}

.dashboard-sidebar .list-group-item {
    position: relative;
    border: none;
    border-radius: 8px;
    margin: 2px 8px;
    padding: 4px 0.75rem;
    background-color: transparent;
    color: #68717F;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dashboard-sidebar .list-group-item:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.dashboard-sidebar .list-group-item.bg-primary {
    background-color: #f3f4ff !important;
    color: #111827 !important;
}

.dashboard-sidebar .list-group-item.bg-primary a {
    color: #111827 !important;
}

/* Keep active item text color on hover */
.dashboard-sidebar .list-group-item.bg-primary:hover {
    background-color: #f3f4ff !important;
    color: #111827 !important;
}

.dashboard-sidebar .list-group-item.bg-primary:hover a {
    color: #111827 !important;
}

/* Active indicator bar (like Figma example) */
.dashboard-sidebar .list-group-item.bg-primary::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    border-radius: 999px;
    background-color: #4F39F6;
}

/* Sidebar column flush to the left */
.sideWidthResponsive {
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-right: 1px solid #e5e7eb;
}

/* Lucide sidebar icons */
.sidebar-icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
    color: #68717F;
}

.dashboard-sidebar .list-group-item.bg-primary .sidebar-icon {
    color: #4F39F6;
}

/* Sidebar aligned with navbar, but stops before footer (sticky) */
.dashboard-sidebar-wrapper {
    position: sticky;
    top: 72px; /* same as navbar height */
    box-shadow: none;
    padding-right: 16px;
}

@media (max-width: 991.98px) {
    .dashboard-sidebar-wrapper {
        position: static;
        border-right: none;
    }
}

@media (min-width: 992px) {
    .dash-main-content {
        margin-left: 0;
    }
}

.sidebarUl a:hover {
    text-decoration: none;
}

.billingContainer .card-footer {
    padding: 15px !important;
}

.billingContainer .card-footer li {
    padding: 0 !important;
}

.billingButtonContainer {
    padding: 15px !important;
}

.billingButtonContainer a {
    width: 100%;
}

.progressContainer .containerResponsive,
.progressContainer .bg-lighter {
    width: 100%;
    max-width: 800px;
    margin-top: 1rem;
}

.progressContainer {
    display: flex;
    justify-content: center;
}

.detailsContainer {
    display: flex;
    padding: 0 0 0 2rem;
}

.onlyPaddingLeft {
    padding-left: 2rem;
}

.pricingUl li {
    display: flex;
}

.containerAll {
    margin-top: 1rem;
}

.specialButton {
    max-width: 85px;
}

.btn {
    border-radius: 5px !important;
    text-decoration: none !important;
    transition: 0.3s all ease-in-out;
}

.btn:hover {
    text-decoration: none !important;
}



.sidebarUl .bg-primary a:hover {
    color: white !important;
}

.btn-gradient-primary:hover {
    color: white !important;
}

.slider {
    background: black !important;
}

.api-sample-code .text-primary {
    color: #6658ea !important;
}

.api-sample-code .method {
    padding: 0 !important;
    margin-right: 0.5rem;
}

.api-sample-code .method,
.api-sample-code a {
    color: #6658ea !important;
}

.api-sample-code .property {
    color: black !important;
}

.api-sample-code .endpoint {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.json-content .pl-8{
    padding-left: 2rem !important;
}

.json-content .text-primary{
    color: black !important;
}

.json-content .property{
    font-weight: bold;
}

.api-sample-code .line{
    margin-bottom: 0.25rem;
}

.text-underline-warning {
    background-image: linear-gradient(90deg, #9c86fc84, #9c86fc84);
}

@media (min-width: 768px) {
    .sideWidthResponsive {
        max-width: 270px;
    }

    .progressContainer .containerResponsive .text-right,
    .progressContainer .bg-lighter .text-right {
        text-align: end;
    }
}

@media (min-width: 768px) and (max-width: 1461px) {
    .containerButtons button {
        max-width: 85px;
    }

    .containerButtons {
        gap: 0.5rem;
    }

    .containerAll {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .containerQuickStart {
        flex-direction: column;
    }

    .containerQuickStart .col-6 {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .specialButton {
        max-width: 100% !important;
    }

    .codeInResponsive {
        width: 100% !important;
    }

    .columnInMobile {
        display: flex;
        flex-direction: column;
        font-size: 2.2rem !important;
    }

    .lowPadding {
        padding: 1rem !important;
    }

    .samePadding {
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .switchResponsive {
        flex-direction: column;
        align-items: center;
        padding-left: 0 !important;
    }

    .divResponsive {
        gap: 2rem;
    }

    .switchResponsive label {
        margin: 0 !important;
    }
}

@media (max-width: 1200px) {
    .notMargin{
        flex-direction: column;
    }

    .notMargin .col-md-3{
        width: 100% !important;
        max-width: 100% !important;
    }

    .notMargin .col-md-9{
        width: 100% !important;
    }

}

/* Subscription plans toggle + cards (indices-like, metals content) */
.plan-toggle-wrap {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.plan-longterm-note {
    text-align: center;
    font-size: 16px;
    color: #111827;
    margin: 0 0 18px;
}

.plans-grid {
    margin: 24px 0;
}

@media (max-width: 575.98px) {
    .plans-grid {
        margin-left: 0;
        margin-right: 0;
    }

    .subscriptionsContainer {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

.subscriptionsContainer {
    border-radius: 16px;
    font-size: 16px;
    border: 1px solid #e5e7eb;
}

.subscriptionsContainer .sub-reset-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.subscriptionsContainer .sub-reset-date-icon {
    width: 16px;
    height: 16px;
    color: #111827;
}

.enterprise-book-btn {
    border-radius: 10px !important;
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.enterprise-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 24px 28px;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    transition: border-color 0.15s ease;
}

.enterprise-card:hover {
    border-color: #c7d2fe;
}

.enterprise-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.enterprise-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #111827;
}

.enterprise-price {
    margin: 0;
    font-size: 16px;
    color: #111827;
}

.enterprise-price-label {
    margin-right: 4px;
    color: #6b7280;
}

.enterprise-price-amount {
    font-weight: 700;
}

.enterprise-price-period {
    margin-left: 2px;
    color: #6b7280;
}

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

.enterprise-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.enterprise-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #4f46e5;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2020%2020%27%20fill%3D%27white%27%3E%3Cpath%20fill-rule%3D%27evenodd%27%20d%3D%27M10%2018a8%208%200%20100-16%208%208%200%20000%2016zm3.707-9.293a1%201%200%2000-1.414-1.414L9%2010.586%207.707%209.293a1%201%200%2000-1.414%201.414l2%202a1%201%200%2000%201.414%200l4-4z%27%20clip-rule%3D%27evenodd%27/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2020%2020%27%20fill%3D%27white%27%3E%3Cpath%20fill-rule%3D%27evenodd%27%20d%3D%27M10%2018a8%208%200%20100-16%208%208%200%20000%2016zm3.707-9.293a1%201%200%2000-1.414-1.414L9%2010.586%207.707%209.293a1%201%200%2000-1.414%201.414l2%202a1%201%200%2000%201.414%200l4-4z%27%20clip-rule%3D%27evenodd%27/%3E%3C/svg%3E") center / contain no-repeat;
    flex-shrink: 0;
    margin-top: 2px;
}

.enterprise-feature-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.enterprise-feature-subtitle {
    display: block;
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 991.98px) {
    .enterprise-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .enterprise-card {
        padding: 24px 18px 22px;
    }

    .enterprise-title {
        font-size: 20px;
    }

    .enterprise-features {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* Ensure legacy cards look flat when used */
.dash-qs-card {
    box-shadow: none;
}

/* Subscription page alerts (flash-messages) */
.dash-qs-card .alert.alert-block {
    position: relative;
    padding: 10px 44px 10px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.dash-qs-card .alert.alert-block .close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff !important;
    font-size: 18px;
    line-height: 1;
    opacity: 1;
    text-shadow: none;
}

.dash-qs-card .alert.alert-block .close:hover {
    opacity: 0.85;
}

.plan-toggle {
    display: inline-flex;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.plan-toggle-btn {
    border: 0;
    background: transparent;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
}

.plan-toggle-btn.is-active {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.plan-toggle-save {
    font-size: 12px;
    color: #4f46e5;
    margin-left: 6px;
    font-weight: 700;
}

.metal-plan-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    min-width: 320px;
    height: 100%;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.metal-plan-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (min-width: 576px) {
    .metal-plan-col {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

.metal-plan-card:hover {
    transform: translateY(-2px);
    border-color: #c7d2fe;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.10);
}

.metal-plan-card.is-popular {
    border-color: #4f46e5;
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.18);
}

.metal-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4f46e5;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.metal-plan-head {
    margin-bottom: 16px;
}

.metal-plan-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #111827;
    margin: 0 0 10px;
}

.metal-plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.metal-plan-price-amount {
    font-size: 34px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.metal-plan-price-period {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.metal-plan-billing {
    margin: 8px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.metal-plan-body {
    margin-top: 12px;
}

.metal-plan-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: #4b5563;
}

.metal-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.metal-plan-features.is-collapsed li:nth-child(n+6) {
    display: none;
}

.metal-plan-features.is-collapsed.is-collapse-4 li:nth-child(n+5) {
    display: none;
}

.metal-plan-show-more {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.metal-plan-show-more:hover {
    color: #4338ca;
    text-decoration: underline;
}

.metal-plan-features li::before {
    content: "";
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    border-radius: 999px;
    background: #4f46e5;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2020%2020%27%20fill%3D%27white%27%3E%3Cpath%20fill-rule%3D%27evenodd%27%20d%3D%27M10%2018a8%208%200%20100-16%208%208%200%20000%2016zm3.707-9.293a1%201%200%2000-1.414-1.414L9%2010.586%207.707%209.293a1%201%200%2000-1.414%201.414l2%202a1%201%200%2000%201.414%200l4-4z%27%20clip-rule%3D%27evenodd%27/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2020%2020%27%20fill%3D%27white%27%3E%3Cpath%20fill-rule%3D%27evenodd%27%20d%3D%27M10%2018a8%208%200%20100-16%208%208%200%20000%2016zm3.707-9.293a1%201%200%2000-1.414-1.414L9%2010.586%207.707%209.293a1%201%200%2000-1.414%201.414l2%202a1%201%200%2000%201.414%200l4-4z%27%20clip-rule%3D%27evenodd%27/%3E%3C/svg%3E") center / contain no-repeat;
}

.metal-plan-cta {
    margin: 14px 0 16px;
    min-height: 0;
}

.metal-plan-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    outline: none;
}

.metal-plan-btn-primary {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: none;
}

.metal-plan-btn-primary:hover {
    background: #4338ca;
    color: #ffffff;
}

.metal-plan-btn-danger {
    background: #EF4444;
    color: #ffffff;
}

.metal-plan-btn-danger:hover {
    background: #dc2626;
    color: #ffffff;
}

.metal-plan-btn-danger:focus,
.metal-plan-btn-danger:active {
    outline: none !important;
    box-shadow: none !important;
}

.metal-plan-card.is-subscribed .metal-plan-cta {
    min-height: 104px;
}

.metal-plan-renew {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #111827;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 12px;
    margin-bottom: 12px;
}

.metal-plan-renew strong {
    font-weight: 800;
}

.metal-plan-renew-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    color: #111827;
    margin-top: 2px;
    flex: 0 0 auto;
}

.metal-plan-btn-primary,
.metal-plan-btn-primary:hover,
.metal-plan-btn-primary:focus,
.metal-plan-btn-primary:active,
.metal-plan-btn-primary:visited {
    text-decoration: none !important;
    box-shadow: none !important;
}
