/* General styling */

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid #6d5dfc;
    outline-offset: 3px;
}

.custom-checkbox > input + .checkbox-control {
    position: relative;
    display: inline-block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 2px solid #e026c7;
    background-color: transparent;
    cursor: pointer;
    transition:
        background-color 0.2s,
        border-color 0.2s;
}

.custom-checkbox > input:checked + .checkbox-control {
    border-color: #e026c7;
    background-color: #e026c7;
}

.custom-checkbox > input:focus-visible + .checkbox-control {
    outline: 3px solid #621fc8;
    outline-offset: 3px;
}

.dark-mode .custom-checkbox > input:focus-visible + .checkbox-control {
    outline-color: #72d6ff;
}

.custom-checkbox > input + .checkbox-control::after {
    position: absolute;
    top: 0;
    left: 6px;
    display: none;
    width: 6px;
    height: 12px;
    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    content: "";
    transform: rotate(45deg);
}

.custom-checkbox > input:checked + .checkbox-control::after {
    display: block;
}

.is-hidden {
    display: none !important;
}

.is-block {
    display: block !important;
}

.is-flex {
    display: flex !important;
}

.is-inline {
    display: inline !important;
}

.is-inline-block {
    display: inline-block !important;
}

.usage-bar {
    width: var(--usage-percent, 0%);
}

body.has-open-dialog,
body.has-open-menu {
    overflow: hidden;
}

.notification-trigger {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: flex;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 4px;
    position: relative;
}

.is-disabled {
    cursor: not-allowed !important;
    opacity: 0.5;
    pointer-events: none;
}

.has-error {
    color: #b42318 !important;
}

.is-success {
    color: #1f7a45;
}

button.is-success,
.copy-button.is-success {
    background: #247a3c;
}

.is-open {
    transform: rotate(180deg);
}

.tooltip-centered {
    left: 50%;
    transform: translateX(-50%);
}

.tooltip-at-start {
    left: 0;
    transform: translateX(0);
}

.tooltip-at-end {
    left: 100%;
    transform: translateX(-100%);
}

.clipboard-buffer {
    position: fixed;
    top: -999999px;
    left: -999999px;
    opacity: 0;
}

.range-control {
    background: linear-gradient(
        to right,
        rgb(237, 20, 200) var(--range-percent, 0%),
        #e0e0e0 var(--range-percent, 0%)
    );
}

html {
    overscroll-behavior: none;
}

html.dark-mode {
    color-scheme: dark;
}

body {
    font-family: "Montserrat Variable", "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("/images/body-bg-5ba6f319a5f9f1a7bcbe0ee7a41d394a.png");
    background-size: cover;
    background-position: 0;
    width: 100%;
    height: 100%;
    overscroll-behavior: none;
    overflow-x: hidden;
}

html:not(.dark-mode) body {
    background-image: none;
    background-color: #fff;
    isolation: isolate;
}

html:not(.dark-mode) body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(
            ellipse 100% 130% at 0 0,
            rgba(242, 31, 200, 0.102) 0%,
            rgba(242, 31, 200, 0.098) 10%,
            rgba(242, 31, 200, 0.09) 25%,
            rgba(242, 31, 200, 0.07) 38%,
            rgba(242, 31, 200, 0.047) 50%,
            rgba(242, 31, 200, 0.028) 63%,
            rgba(242, 31, 200, 0.015) 75%,
            rgba(242, 31, 200, 0.004) 100%
        ),
        radial-gradient(
            ellipse 75% 65% at 100% 100%,
            rgba(8, 50, 202, 0.024) 0%,
            rgba(8, 50, 202, 0.01) 48%,
            rgba(8, 50, 202, 0) 100%
        ),
        url("/images/body-bg-5ba6f319a5f9f1a7bcbe0ee7a41d394a.png");
    background-position: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

body.dashboard .main-wrapper {
    height: auto;
    min-height: 100vh;
}

input,
select,
button,
p,
a {
    font-family: "Montserrat Variable", "Montserrat", sans-serif;
}

button[disabled] {
    pointer-events: none !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.dark-mode body {
    background-image: url("/images/dark-body-bg-0b8bf46a9ca6dad834986f1daefb0609.png");
}

ul {
    list-style-type: none;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

h2 {
    font-size: 22px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.11;
    letter-spacing: -0.26px;
    text-align: left;
    color: #150f4d;
}

h3 {
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.22;
    letter-spacing: -0.24px;
    text-align: left;
    color: #150f4d;
}

p {
    font-size: 16px;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.69;
    letter-spacing: normal;
    text-align: left;
    color: #150f4d;
}

a {
    cursor: pointer;
}

.purple-color {
    color: #6c1ac8;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mtb-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.uppercase-text {
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

.dark-mode .sidebar .bottom-links a,
.dark-mode .sidebar .bottom-links .sidebar-link-button,
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode p,
.dark-mode span:not(.popup-text),
.dark-mode li a,
.dark-mode p,
.dark-mode h2 a,
.dark-mode ul li,
.dark-mode .tabs .tab,
.dark-mode .storage-wrapper-info-input,
.dark-mode .select-plan-box .storage-wrapper input,
.dark-mode .select-linux-dist-box-select select,
.dark-mode .black-hole-wrapper h3,
.dark-mode .header,
.dark-mode .data-cell,
.dark-mode .billing-pagination,
.dark-mode .account-login-box .form-row-wrapper label,
.dark-mode .account-login-box .form-row-wrapper input {
    color: #fff !important;
}

.dark-mode .burst-box h3,
.dark-mode .burst-box h4,
.dark-mode .specs-box .system-info .version,
.dark-mode .backup-box .backup-info-main span,
.dark-mode .box.box-step-v1 p,
.dark-mode .box.box-step-v2 p,
.dark-mode .box.box-step-v1 .step span,
.dark-mode .box.box-step-v2 .tooltip,
.dark-mode .cta-compute-box .cta-content-type .history-info,
.dark-mode .bar-wrapper .bar-percentage-info,
.dark-mode .bar-wrapper #total {
    opacity: 0.8;
}

.dark-mode .box.box-step-v2 span {
    opacity: 0.4;
}

.dark-mode .box-usage .tabs .tab {
    border-color: rgba(255, 255, 255, 0.4);
}

.dark-mode select option {
    background-color: rgba(26, 27, 69, 0.81);
    color: #fff;
}

.dark select::-ms-expand {
    background-color: rgba(26, 27, 69, 0.81);
}

.dark-image,
.dark-mode .light-image {
    display: none;
}

.light-image,
.dark-mode .dark-image {
    display: inline;
}

/* Top bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 52px;
    box-shadow: 0px 1px 3px 0 rgba(0, 0, 0, 0.11);
    background-color: #fff;
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
}

.dark-mode .top-bar {
    box-shadow: 0px 1px 3px 0 #f4f6fd;
    background-color: #101140;
}

.left-logo {
    flex-grow: 1;
}

.right-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Toggle */

#mode {
    background-color: #fff !important;
    padding: 4px 5px 4px 5px !important;
    border-radius: 50px;
    box-shadow: 0 0 25px 0 #00000022;
    display: flex;
    gap: 6px;
    align-items: center;
    width: fit-content;
    position: relative;
    z-index: 9;
}

#mode button {
    border: unset !important;
    padding: 0 !important;
    background: unset !important;
    font-family: "Montserrat Variable", "Montserrat", sans-serif;
    cursor: pointer;
    margin-left: 0;
    margin-right: 0;
}

#mode .main {
    position: absolute;
    transition: all 500ms ease;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    margin-top: 0;
    padding: 0;
    background: linear-gradient(
        90deg,
        rgba(33, 54, 199, 1) 0%,
        rgba(175, 2, 201, 1) 100%
    ) !important;
    right: 4px;
    border-radius: 100%;
    z-index: -1;
    top: 4px;
}

#mode .btn {
    right: 40px;
}

.dark-mode #mode .btn {
    right: 4px !important;
}

#mode #moon {
    margin-top: -1px !important;
}

.top-bar .notification {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.top-bar .notification img,
.top-bar .user-icon a img {
    vertical-align: middle;
}

.top-bar .notification-wrapper {
    position: relative;
    display: inline-block;
}

.top-bar .notification-dropdown {
    position: absolute;
    top: 38px;
    right: -40px;
    width: min(360px, calc(100vw - 24px));
    border-radius: 12px;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    display: none;
    z-index: 10;
    max-height: min(420px, calc(100vh - 72px));
    overflow: auto;
    overscroll-behavior: none;
}

.dark-mode .top-bar .notification-dropdown {
    background-color: rgb(26, 27, 69);
}

.top-bar .notification-wrapper::before {
    position: absolute;
    top: 32px;
    right: 7px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid white;
    z-index: 20;
}

.dark-mode .top-bar .notification-wrapper::before {
    border-bottom: 12px solid rgba(26, 27, 69, 1);
}

.top-bar .notification-content {
    padding: 3px 16px;
}

.top-bar .notification-content .notification-content-item {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin: 0;
    padding: 13px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dark-mode .top-bar .notification-content .notification-content-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar .notification-content .notification-content-item:last-child {
    border: 0;
}

.top-bar .notification-content .notification-content-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

.top-bar .notification-content .notification-content-item.is-unread p {
    font-weight: 700;
}

.top-bar .notification-content-copy {
    min-width: 0;
}

.top-bar .notification-timestamp {
    color: #150f4d;
    display: block;
    font-size: 10px;
    font-style: italic;
    line-height: 1.35;
    margin-top: 7px;
    opacity: 0.8;
}

.dark-mode .top-bar .notification-timestamp {
    color: #d4ddff;
}

.top-bar .notification-item-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 2px;
    margin-top: -3px;
}

.top-bar .notification-item-action {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: #475467;
    cursor: pointer;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    padding: 10px;
    width: 44px;
}

.top-bar .notification-item-action:hover,
.top-bar .notification-item-action:focus-visible {
    background: #eef2ff;
    color: #3538cd;
}

.top-bar .notification-item-action svg {
    height: 18px;
    width: 18px;
}

.top-bar
    .notification-content-item[data-read="true"]
    .notification-action-mark-read-icon,
.top-bar
    .notification-content-item[data-read="false"]
    .notification-action-mark-unread-icon {
    display: none;
}

.top-bar .notification-content-item.is-pending {
    opacity: 0.6;
}

.top-bar .notification-load-more {
    width: 100%;
    border: 0;
    border-top: 1px solid #e1e1e8;
    padding: 0.7rem 1rem;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.top-bar .notification-load-more:hover,
.top-bar .notification-load-more:focus-visible {
    background: rgba(104, 78, 224, 0.1);
}

.top-bar .notification-management-link {
    border-top: 1px solid #e1e1e8;
    color: inherit;
    display: block;
    padding: 0.7rem 1rem;
    text-align: center;
}

.top-bar .notification-management-link:hover,
.top-bar .notification-management-link:focus-visible {
    background: rgba(104, 78, 224, 0.1);
}

.top-bar .notification-item-action:disabled {
    cursor: wait;
}

.top-bar .no-notifications {
    color: #667085;
    font-size: 14px;
    margin: 0;
    padding: 18px;
    text-align: center;
}

.top-bar .notification-status {
    color: #b42318;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    padding: 10px 16px 0;
}

.dark-mode .top-bar .notification-item-action {
    color: #c7d2fe;
}

.dark-mode .top-bar .notification-item-action:hover,
.dark-mode .top-bar .notification-item-action:focus-visible {
    background: #303c68;
    color: #ffffff;
}

.dark-mode .top-bar .no-notifications {
    color: #c7d2fe;
}

.top-bar .notification-wrapper .notification-dropdown.show {
    display: block;
}

.top-bar .notification-wrapper.show-dropdown::before {
    content: "";
}

.header--toggle,
.mobile-menu-icon {
    display: none;
}

#mode button span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px !important;
    width: 30px;
    height: 30px;
}

#mode .icon-01 svg {
    width: 32px;
    height: 32px;
}

#mode .icon-01 {
    fill: #fff !important;
    color: #fff !important;
    stroke: #fff !important;
    /* background: linear-gradient(90deg, rgba(33, 54, 199, 1) 0%, rgba(175, 2, 201, 1) 100%); */
}

.dark-mode #mode .icon-01 {
    fill: #000 !important;
    border-radius: 100% !important;
    color: #000 !important;
    stroke: #000 !important;
}

#mode .icon-02 {
    fill: #000 !important;
    color: #000 !important;
    stroke: #000 !important;
}

.dark-mode #mode .icon-02 {
    fill: #fff !important;
    border-radius: 100% !important;
    font-size: 20px !important;
    /* background: linear-gradient(90deg, rgba(33, 54, 199, 1) 0%, rgba(175, 2, 201, 1) 100%); */
    color: #fff !important;
    stroke: #fff !important;
}

#mode .icon-02 svg {
    width: 25px;
    height: 25px;
}

.top-bar .notification.new-notification .notification-dot {
    display: block;
}

.top-bar .notification-dot {
    position: absolute;
    top: 0px;
    right: 3px;
    width: 8px;
    height: 8px;
    background-color: #ff5d61;
    border-radius: 50%;
    border: solid 2px #fff;
    display: none;
}

.top-bar .left-logo img {
    vertical-align: middle;
}

.mobile-logo {
    display: none;
}

/* Main layout */
.main-container {
    display: flex;
    flex: 1;
}

/* Sidebar */
.sidebar {
    width: 340px;
    max-width: 30%;
    box-shadow: 3px 0 3px -3px rgba(0, 0, 0, 0.11);
    background-color: #fff;
    padding: 70px 0 0 50px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 90px;
    left: 0;
    height: calc(100vh - 90px);
    box-sizing: border-box;
    justify-content: space-between;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.dark-mode .sidebar {
    box-shadow: 3px 0 3px -3px #f8f6fc;
    background-color: #131446;
}

.sidebar .main-link a {
    font-size: 21px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: -0.25px;
    text-align: left;
    color: #2734c7;
    text-decoration: none;
}

.dark-mode .sidebar .main-link:not(.create-desktop) > a {
    color: #00acff !important;
}

.sidebar .main-link.create-desktop a {
    color: #eb22c7;
}

.sidebar .bottom-links {
    margin-top: 30px;
    margin-bottom: 50px;
}

.sidebar .main-link a img,
.sidebar .bottom-links a img,
.sidebar .bottom-links .sidebar-link-button img {
    margin-right: 16px;
    vertical-align: middle;
}

.sidebar .main-link ul {
    padding-inline-start: 0;
    padding-left: 43px;
    margin: 0;
    list-style: none;
}

.sidebar .main-link ul li.desktop-item-hidden {
    display: none;
}

.sidebar .main-link ul li.desktop-toggle-item {
    margin-right: 40px;
}

.sidebar .desktop-list-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 6px 12px;
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: #150f4d;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.sidebar .desktop-list-toggle:hover,
.sidebar .desktop-list-toggle:focus {
    background-color: #f3f4f6;
    border-color: #c7d2fe;
}

.dark-mode .sidebar .desktop-list-toggle {
    background-color: #1f2937;
    border-color: #334155;
    color: #e2e8f0;
}

.dark-mode .sidebar .desktop-list-toggle:hover,
.dark-mode .sidebar .desktop-list-toggle:focus {
    background-color: #273549;
    border-color: #4c5e7c;
}

.sidebar .main-link.create-desktop a img {
    margin-right: 11px;
}

.sidebar .bottom-links a img,
.sidebar .bottom-links .sidebar-link-button img {
    vertical-align: -3px;
}

.sidebar .main-link li a {
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.28;
    letter-spacing: -0.22px;
    text-align: left;
    color: #150f4d;
    margin-bottom: 25px;
    margin-left: 5px;
    display: inline-block;
    transition: all 0.1s linear;
}

.sidebar .main-link li.active a,
.sidebar .main-link li:hover a,
.sidebar .main-link li:focus a,
.sidebar .bottom-links a.active,
.sidebar .bottom-links a:hover,
.sidebar .bottom-links a:focus,
.sidebar .bottom-links .sidebar-link-button:hover,
.sidebar .bottom-links .sidebar-link-button:focus {
    font-weight: bold;
}

.sidebar ul.top-links-new {
    padding-left: 0;
    margin-left: -4px;
}

.sidebar ul.top-links-new img {
    vertical-align: middle;
    padding-right: 3px;
}

.sidebar .bottom-links a,
.sidebar .bottom-links .sidebar-link-button {
    opacity: 0.8;
    font-family: "Montserrat Variable", "Montserrat", sans-serif;
    font-size: 19.3px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.36;
    letter-spacing: -0.23px;
    text-align: left;
    color: #150f4d;
    display: block;
    margin-bottom: 24px;
    text-decoration: none;
    transition: all 0.1s linear;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    width: 100%;
}

.sidebar .bottom-links form {
    margin: 0;
}

.sticky-footer-main .sidebar {
    height: calc(100% - 190px);
}

/* Buttons */

.buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

/* Content */
.content {
    width: calc(100% - 340px);
    padding: 70px 60px 30px 60px;
    background-image: none;
    background-size: cover;
    background-position: 0;
    background-repeat: no-repeat;
    margin-left: 340px;
    margin-top: 90px;
    box-sizing: border-box;
}

.content.black-hole-content {
    position: relative;
}

.dark-mode .content {
    background-image:
        url("/images/content-layer-1-dark-a89429cc84e7debb8008f1a49d880cd2.png"),
        url("/images/content-layer-2-dark-b04d89a3ad9084447d6fd9b7d36c9a91.png");
}

.content .welcome-msg {
    font-weight: 600;
    font-size: 23.7px;
    line-height: 28.4px;
    color: #150f4d;
    margin-top: 0;
    display: flex;
    align-items: center;
}

.content .welcome-msg .welcome-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.content .welcome-msg img {
    flex-shrink: 0;
    margin-right: 20px;
    vertical-align: middle;
    transform: scale(-1, 1) translate(-0px, 0);
}
.content .black-hole-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Empty State Styling */
.content .empty-state-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 0;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.empty-state-content {
    min-width: 0;
    padding: 40px 20px;
}

.empty-state-content img {
    margin-bottom: 24px;
    filter: opacity(0.8);
}

.empty-state-content h2 {
    margin: 0 0 16px 0;
    font-size: 28px;
    font-weight: 600;
    color: #150f4d;
}

.empty-state-content p {
    margin: 0 0 32px 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.empty-state-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.2s ease;
    min-width: 200px;
    justify-content: center;
}

.empty-state-actions .btn-primary {
    background: linear-gradient(135deg, #e026c7 0%, #bf32c4 100%);
    color: white;
    border: none;
}

.empty-state-actions .btn-primary:hover {
    background: linear-gradient(135deg, #d11ab9 0%, #a829a8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 38, 199, 0.3);
}

.empty-state-actions .btn-secondary {
    background: white;
    color: #150f4d;
    border: 2px solid #e026c7;
}

.empty-state-actions .btn-secondary:hover {
    background: #f8f4ff;
    border-color: #d11ab9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 38, 199, 0.1);
}

.empty-state-help {
    margin-top: 16px;
}

.empty-state-help p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.empty-state-help a {
    color: #e026c7;
    text-decoration: none;
    font-weight: 500;
}

.empty-state-help a:hover {
    text-decoration: underline;
}

/* Dark mode styling */
.dark-mode .empty-state-content h2 {
    color: #fff;
}

.dark-mode .empty-state-content p {
    color: #ccc;
}

.dark-mode .empty-state-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #e026c7;
}

.dark-mode .empty-state-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dark-mode .empty-state-help p {
    color: #aaa;
}

/* Responsive styling */
@media (max-width: 768px) {
    .empty-state-actions {
        flex-direction: column;
        align-items: center;
    }

    .empty-state-actions .btn {
        box-sizing: border-box;
        min-width: 0;
        width: 100%;
        max-width: 300px;
    }

    .empty-state-content h2 {
        font-size: 24px;
    }

    .empty-state-content p {
        font-size: 16px;
    }
}

.sticky-footer-main .content {
    padding-bottom: 200px;
}

.login .content {
    margin-left: 0;
    width: 100%;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.box {
    width: calc(50% - 30px);
    padding: 50px 30px;
    box-sizing: border-box;
    border-radius: 12px;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin-bottom: 30px;
}
.dark-mode .box {
    background-color: rgba(26, 27, 69, 0.81);
}

.box.full-width-box {
    width: 100%;
}

.box-header {
    display: flex;
    align-items: flex-start;
}

.box-header h2,
.box-header h2 a {
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.22;
    letter-spacing: -0.24px;
    text-align: left;
    color: #150f4d;
    margin-left: 0;
    margin-top: -4px;
    text-decoration: none;
}

/* Shared promotional header used by authentication, account, download, and desktop routes. */
.cta-compute-box {
    padding: 32px 30px;
    border-radius: 12px;
    box-sizing: border-box;
    background-image: linear-gradient(84deg, #9ddfff 0%, #ffcffa 100%);
    display: flex;
    margin-bottom: 45px;
    gap: 15px;
    align-items: center;
}

.dark-mode .cta-compute-box {
    background-image: linear-gradient(to right, #3b55cd, #ab03c8);
}

.cta-compute-box .cta-content {
    display: flex;
    align-items: flex-start;
    width: 80%;
}

.cta-compute-box h1,
.cta-compute-box h2 {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.22;
    letter-spacing: -0.24px;
    text-align: left;
    color: #150f4d;
    margin: 0;
}

.cta-compute-box.burst-mode .cta-rocket-wrapper {
    padding: 19px 20px 21px;
    border-radius: 25px;
    background-image: linear-gradient(86deg, #009ef9 3%, #fa0cc5 97%);
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.dark-mode .cta-compute-box.burst-mode .cta-rocket-wrapper {
    background: #fff;
}

.cta-compute-box.burst-mode .cta-rocket-icon {
    background-image: url(/images/rocket-white-0179ae61cdaa0284f3d8c1617a182d4a.svg);
    width: 45px;
    height: 45px;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 45px;
}

.dark-mode .cta-compute-box.burst-mode .cta-rocket-icon {
    background-image: url(/images/rocket-dark-52ed3454f6ebc78b0965f5d8789566a5.svg);
}

.cta-compute-box.burst-mode {
    background-image: linear-gradient(84deg, #9ddfff 0%, #ffcffa 100%);
    gap: 30px;
    position: relative;
}

.burst-mode .cta-content::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: calc(70% + 130px);
    height: 126px;
    width: 110px;
    background-image: url(/images/burst-cta-box-bg-5e20e0ea31b5a8db79ffc34c133d4b52.png);
    background-size: cover;
    background-position: center;
}

.dark-mode .burst-mode .cta-content::after {
    background-image: url(/images/burst-cta-box-dark-5234e4c6b68b3d158b630780e2d4184c.png);
}

.dark-mode .cta-compute-box.burst-mode {
    background-image: linear-gradient(to right, #ab03c8, #3b55cd);
}

.cta-compute-box.burst-mode .cta-content {
    width: 70%;
}

.cta-compute-box.burst-mode h2 {
    font-size: 25px;
    font-weight: 500;
    line-height: 1.01;
    letter-spacing: -0.3px;
    text-align: left;
    color: #150f4d;
}

.cta-compute-box.burst-mode h2 b {
    font-weight: 600;
}

.cta-compute-box.burst-mode p {
    margin-bottom: 0;
}

@media (max-width: 1330px) {
    .cta-compute-box {
        flex-direction: column;
        align-items: unset;
    }

    .cta-compute-box .cta-content,
    .cta-compute-box.burst-mode .cta-content {
        width: 100%;
    }

    .cta-compute-box .cta-image {
        align-self: flex-end;
    }

    .burst-mode .cta-content::after {
        display: none;
    }
}

/*responsive */

@media (min-width: 1330px) {
    .pro-tip-box.full-width-box {
        flex-direction: row;
        gap: 30px;
        justify-content: left;
    }
    .pro-tip-box.full-width-box .box-header {
        margin: unset;
    }
    .pro-tip-box.full-width-box .box-content {
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .pro-tip-box.full-width-box .box-content-wrapper {
        max-width: 50%;
    }

    .pro-tip-box.full-width-box .box-content h2 {
        text-align: left;
    }
    .pro-tip-box.full-width-box .box-content p {
        text-align: left;
    }
}

/* Error Page */

.error-page-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 30px;
}

.error-page-code {
    font-size: 96px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -4px;
    background: linear-gradient(135deg, #00acff 0%, #6c1ac8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.error-page-divider {
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, #00acff 0%, #6c1ac8 100%);
    flex-shrink: 0;
}

.error-page-content h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.error-page-content p {
    margin-top: 0;
    margin-bottom: 24px;
}

.dark-mode .error-page-code {
    background: linear-gradient(135deg, #00acff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

@media (max-width: 600px) {
    .error-page-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .error-page-code {
        font-size: 64px;
        letter-spacing: -2px;
    }

    .error-page-divider {
        width: 80px;
        height: 2px;
    }
}

.distro-preview-tooltip {
    display: none;
    margin-top: 6px;
    font-size: 0.9rem;
}

/* Shared user search combobox primitives (users index lookup, create desktop user picker) */
.user-combobox {
    position: relative;
}

.user-search-input {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    color: #111827;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    min-height: 48px;
    padding: 0.85rem 1rem;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background-color 0.2s;
    width: 100%;
}

.user-search-input:focus {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.13);
    outline: none;
}

.user-search-results {
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    left: 0;
    margin-top: 0.45rem;
    max-height: min(320px, max(12rem, calc(100dvh - 16rem)));
    overflow-y: auto;
    padding: 0.35rem;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 30;
}

.user-search-option {
    align-items: center;
    border-radius: 6px;
    color: #111827;
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    min-height: 48px;
    padding: 0.7rem 0.75rem;
    text-decoration: none;
}

.user-search-option:hover,
.user-search-option.is-active {
    background: #eef5ff;
}

.user-search-option-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.user-search-option-email {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.user-search-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.user-search-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.28rem 0.45rem;
}

.user-search-badge.role-badge {
    background: #e0e7ff;
    color: #3730a3;
}

.user-search-badge.disabled-badge {
    background: #fee2e2;
    color: #991b1b;
}

.user-search-open-label {
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #2563eb;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.55rem;
}

.user-search-status {
    color: #6b7280;
    font-size: 0.78rem;
    min-height: 1.3rem;
    padding-top: 0.4rem;
}

.user-search-status.is-error {
    color: #b91c1c;
    font-weight: 600;
}

.dark-mode .user-search-results {
    background: #101140;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.dark-mode .user-search-input {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.dark-mode .user-search-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #8bb7ff;
    box-shadow: 0 0 0 4px rgba(139, 183, 255, 0.18);
}

.dark-mode .user-search-option {
    color: #ffffff;
}

.dark-mode .user-search-badge.role-badge {
    color: #3730a3 !important;
}

.dark-mode .user-search-badge.disabled-badge {
    color: #991b1b !important;
}

.dark-mode span.user-search-open-label {
    border-color: rgba(139, 183, 255, 0.5);
    color: #b9d4ff !important;
}

.dark-mode .user-search-status {
    color: rgba(255, 255, 255, 0.72);
}

.dark-mode .user-search-status.is-error {
    color: #fecaca;
}

.dark-mode .user-search-option:hover,
.dark-mode .user-search-option.is-active {
    background: rgba(139, 183, 255, 0.16);
}

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

    .box {
        width: 100%;
    }

    .sidebar {
        max-width: 300px;
    }

    .main-container:has(> .sidebar) > .content,
    .main-container:has(> .sidebar) .sticky-footer .content {
        margin-left: 300px;
        width: calc(100% - 300px);
    }
}

@media (max-width: 991px) {
    body.mobile-menu-show {
        overflow: hidden;
    }

    .main-container {
        position: relative;
    }

    .content,
    .sticky-footer .content {
        margin-left: 0;
        padding: 30px;
        width: 100%;
    }

    .main-container:has(> .sidebar) > .content,
    .main-container:has(> .sidebar) .sticky-footer .content {
        margin-left: 0;
        width: 100%;
    }

    .top-bar {
        padding-inline: 30px;
    }

    .sidebar {
        display: none;
        height: calc(100dvh - 90px) !important;
        left: 0;
        max-width: 100%;
        position: fixed;
        top: 90px;
        width: 100%;
        z-index: 1000;
    }

    .sidebar.open {
        display: flex;
        justify-content: flex-start;
    }

    .header--toggle,
    .mobile-menu-icon {
        display: block;
    }

    .header--toggle {
        background: transparent;
        border: 0;
        cursor: pointer;
        align-items: center;
        display: flex;
        height: 44px;
        justify-content: center;
        padding: 0;
        position: relative;
        width: 44px;
    }

    .header--toggle + .left-logo .desktop-logo {
        margin-left: 20px;
    }

    .mobile-menu-icon,
    .mobile-menu-icon::after,
    .mobile-menu-icon::before {
        background-color: #150f4d;
        border-radius: 10px;
        content: "";
        display: inline-block;
        height: 3px;
        position: relative;
        transition: transform 0.4s;
        width: 24px;
    }

    .mobile-menu-icon::after,
    .mobile-menu-icon::before {
        left: 0;
        position: absolute;
        top: -8px;
    }

    .mobile-menu-icon::after {
        top: 8px;
    }

    .header--toggle.open .mobile-menu-icon {
        transform: rotate(45deg);
    }

    .header--toggle.open .mobile-menu-icon::after {
        top: 0;
        transform: rotate(-90deg);
    }

    .header--toggle.open .mobile-menu-icon::before {
        content: none;
    }

    .dark-mode .mobile-menu-icon,
    .dark-mode .mobile-menu-icon::after,
    .dark-mode .mobile-menu-icon::before {
        background-color: #fff;
    }
}

@media (max-width: 600px) {
    .cta-compute-box {
        padding-left: 20px;
        padding-right: 20px;
    }

    .desktop-logo {
        display: none !important;
    }

    .mobile-logo {
        display: block;
        margin-left: 9px;
    }

    .mobile-logo img {
        height: auto;
        width: 70px;
    }
}

@media (max-width: 420px) {
    .mobile-logo img {
        width: 55px;
    }

    .top-bar .notification img,
    .top-bar .user-icon a img {
        width: 27px;
    }

    .top-bar .notification-dot {
        height: 4px;
        right: 3px;
        top: 2px;
        width: 4px;
    }

    .top-bar .notification-dropdown {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 58px;
        width: auto;
        max-height: calc(100vh - 70px);
    }

    .top-bar .notification-wrapper::before {
        right: 1px;
    }
}

@media (max-width: 330px) {
    .mobile-logo img {
        width: 30px;
    }
}

@media (max-width: 760px) {
    .user-search-results {
        max-height: min(260px, max(9rem, calc(100dvh - 14rem)));
    }
}
