input[type="radio"], input[type="checkbox"]{
    accent-color: #a21caf;
}

.window {
    height: 80px;
    -webkit-transition: -webkit-box-shadow 0.15s ease-in;
    -moz-transition: -moz-box-shadow 0.15s ease-in;
    -o-transition: -o-box-shadow 0.15s ease-in;
    transition: box-shadow 0.15s ease-in;
}

/* Fix all content */

.window:hover {
    border: 1px solid #123456;
    box-shadow: 2px 2px 19px #444;
    -o-box-shadow: 2px 2px 19px #444;
    -webkit-box-shadow: 2px 2px 19px #444;
    -moz-box-shadow: 2px 2px 19px #fff;
    opacity: 0.9;
    filter: alpha(opacity=90);
}

.wide {
    width: 300px;
}


.window span {
    vertical-align: top;
}


/* Overides of Clarity UI CSS */
.header.header-6, .header.header-6 {
    background-color: var(--clr-btn-default-bg-color);
    color: hsl(198, 0%, 35%);
    z-index: 11;
    position: relative;
    width: 100%;
}

header .branding .title, .header .branding .title {
    color: var(--clr-color-neutral-1000);
}

.main-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    background: #fafafa;
    background: var(--clr-global-app-background, #fafafa);
}

.main-container {
    background-color: #f5f5f7;
    -webkit-font-smoothing: antialiased;
    position: fixed;
    bottom: 0px;
    height: auto;
    left: 0px;
    margin: 0px;
    overflow: auto;
    right: 0px;
    top: 0px;
    width: 100%;
}


.main-container * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.main-container .content-container .content-area {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.2rem 1.2rem 1.2rem 1.2rem;
}

header .settings > .dropdown > .dropdown-toggle, header .header-actions > .dropdown > .dropdown-toggle, .header .settings > .dropdown > .dropdown-toggle, .header .header-actions > .dropdown > .dropdown-toggle {
    color: inherit;
}

.sidenav {
    line-height: 1.2rem;
    max-width: 15.6rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}


#global-alert-container {
    z-index: 500;
}

.alert-app-level {
    z-index: 9;
}

.label-svg-adjustment {
    font-size: 1.25rem;
    padding: 1.05rem;
    border-radius: 2.6rem;
    height: 2.05rem;
    margin: 0.02rem;
}

.login-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: flex-end;
    align-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    align-items: center;
    background: radial-gradient(circle, transparent 20%, navy 20%, navy 80%, transparent 80%, transparent), radial-gradient(circle, transparent 20%, navy 20%, navy 80%, transparent 80%, transparent) 50px 50px, linear-gradient(#9C1491 8px, transparent 8px) 0 -4px, linear-gradient(90deg, #9C1491 8px, transparent 8px) -4px 0;
    background-color: navy;
    background-size: 100px 100px, 100px 100px, 50px 50px, 50px 50px;
}

.login-wrapper .login .title {
    font-size: 1.3rem;
}

.general-title {
    color: white;
    font-weight: 600;
    font-family: var(--clr-login-title-font-family, Metropolis, "Avenir Next", "Helvetica Neue", Arial, sans-serif);
    letter-spacing: normal;
    line-height: 1.8rem;
    font-size: 1.3rem;
    margin: auto;
}

/*
Tailwind CSS
*/
.login-bg {
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}

.text-primary-600 {
    --tw-text-opacity: 1;
    color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.svg-shrink {
    flex-shrink: 0;
}

.svg-width {
    width: 1.25rem;
}

.svg-height {
    height: 1.25rem;
}

.svg-margin {
    margin-right: .5rem;
    margin-top: 0.25rem;
}

.icon-color {
    --tw-text-opacity: 1;
    color: rgb(17 24 39/ var(--tw-text-opacity));
}

.h3-line-height {
    line-height: 1;
}

.h3-font-weight {
    font-weight: 700;
}

.login-text-lg {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.h3-margin {
    margin-bottom: .5rem;
}

.p-color {
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity));
}

.p-font-weight {
    font-weight: 300;
}

.h3-margin {
    margin-bottom: .5rem;
}

.div-flex {
    display: flex;
}

.div-padding {
    padding-top: 2rem;
}

<!--
logo

-->
@media (min-width: 1024px) {
    .div-margin {
        margin-bottom: 2.5rem;
    }
}

.icon-color {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity));
}

.div-weight {
    font-weight: 600;
}

.div-font {
    font-size: 1.5rem;
    line-height: 2rem;
}

.div-align {
    align-items: center;
}

.div-display {
    display: inline-flex;
}

.div-margin {
    margin-bottom: 1.5rem;
}

/*
welcome
*/
@media (min-width: 640px) {
    .h2-font {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.icon-color {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity));
}

.h2-letters {
    letter-spacing: -.025em;
}

.h2-line {
    line-height: 1.25;
}

.h3-font-weight {
    font-weight: 700;
}

.h2-font {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

/*
submit button
*/

.bg-primary-600 {
    --tw-bg-opacity: 1;
    background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}

.hover\:bg-primary-700:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}

.button-color {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}

.p-font-weight {
    font-weight: 500;
}

.p-font-size {
    font-size: .875rem;
    line-height: 1.25rem;
}

.button-align {
    text-align: center;
}

.button-padding {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.button-padding-t-b {
    padding-bottom: .625rem;
    padding-top: .625rem;
}

.button-radius {
    border-radius: .5rem;
}

.button-width {
    width: 100%;
}

/* CSS for the terminal */
.terminal-font {
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', 'Courier New', monospace;
}

.terminal-slide-up {
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.terminal-slide-up.open {
    transform: translateY(0);
}

.terminal-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.terminal-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.terminal-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.terminal-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #a21caf;
}

.gradient-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.resize-handle {
    cursor: ns-resize;
    background: linear-gradient(to right, transparent 20%, #cbd5e1 20%, #cbd5e1 80%, transparent 80%);
    height: 3px;
    position: relative;
}

.resize-handle:hover {
    background: linear-gradient(to right, transparent 20%, #a21caf 20%, #a21caf 80%, transparent 80%);
}

.dark .resize-handle {
    background: linear-gradient(to right, transparent 20%, #64748b 20%, #64748b 80%, transparent 80%);
}

.dark .resize-handle:hover {
    background: linear-gradient(to right, transparent 20%, #a21caf 20%, #a21caf 80%, transparent 80%);
}

.resize-handle::before {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: 0;
    right: 0;
    cursor: ns-resize;
}

/* ANSI Color Support */
.ansi-black { color: #1e293b; }
.ansi-red { color: #dc2626; }
.ansi-green { color: #16a34a; }
.ansi-yellow { color: #ca8a04; }
.ansi-blue { color: #2563eb; }
.ansi-magenta { color: #9333ea; }
.ansi-cyan { color: #0891b2; }
.ansi-white { color: #475569; }
.ansi-bright-black { color: #64748b; }
.ansi-bright-red { color: #ef4444; }
.ansi-bright-green { color: #22c55e; }
.ansi-bright-yellow { color: #eab308; }
.ansi-bright-blue { color: #3b82f6; }
.ansi-bright-magenta { color: #a855f7; }
.ansi-bright-cyan { color: #06b6d4; }
.ansi-bright-white { color: #1e293b; }
.ansi-bold { font-weight: 600; }
.ansi-dim { opacity: 0.7; }
.ansi-underline { text-decoration: underline; }

/* Bottom left terminal button */
.terminal-open-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #a21caf;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    z-index: 9;
}

.terminal-open-button:hover {
    background: #8e2786;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.terminal-open-button:active {
    transform: scale(0.95);
}

/* Scrollable tabs */
.tabs-scroll-container {
    position: relative;
}

.tabs-scroll-area {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs-scroll-area::-webkit-scrollbar {
    display: none;
}

.scroll-button {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, rgba(241, 245, 249, 0.9), rgba(241, 245, 249, 1));
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.scroll-button.visible {
    opacity: 1;
}

.scroll-button:hover {
    background: linear-gradient(to right, rgba(226, 232, 240, 0.9), rgba(226, 232, 240, 1));
}

.scroll-button.left {
    left: 0;
    background: linear-gradient(to right, rgba(241, 245, 249, 1), rgba(241, 245, 249, 0.9));
}

.scroll-button.right {
    right: 0;
}

.scroll-button.left:hover {
    background: linear-gradient(to right, rgba(226, 232, 240, 1), rgba(226, 232, 240, 0.9));
}

/* Run tabs scrolling */
.run-tabs-scroll-container {
    position: relative;
    flex: 1;
    min-height: 3rem;
}

.run-tabs-scroll-area {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 1.25rem;
}

.run-tabs-scroll-area::-webkit-scrollbar {
    display: none;
}

.run-scroll-button {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    background: linear-gradient(to right, rgba(241, 245, 249, 0.9), rgba(241, 245, 249, 1));
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.run-scroll-button.visible {
    opacity: 1;
}

.run-scroll-button:hover {
    background: linear-gradient(to right, rgba(226, 232, 240, 0.9), rgba(226, 232, 240, 1));
}

.run-scroll-button.left {
    left: 0;
    background: linear-gradient(to right, rgba(241, 245, 249, 1), rgba(241, 245, 249, 0.9));
}

.run-scroll-button.right {
    right: 0;
}

.run-scroll-button.left:hover {
    background: linear-gradient(to right, rgba(226, 232, 240, 1), rgba(226, 232, 240, 0.9));
}

.pricing-card {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    position: relative;
}

.pricing-card.selected {
    border-color: #a21caf !important;
}

.pricing-card.selected.dark {
    border-color: #a21caf !important;
}

.pricing-card.current {
    background: linear-gradient(135deg,
    rgba(162, 28, 175, 0.05) 0%,
    rgba(162, 28, 175, 0.1) 25%,
    rgba(162, 28, 175, 0.05) 50%,
    rgba(162, 28, 175, 0.15) 75%,
    rgba(162, 28, 175, 0.05) 100%);
    background-size: 300% 300%;
    animation: shimmer 3s ease-in-out infinite;
}

.pricing-card.current.dark {
    background: linear-gradient(135deg,
    rgba(162, 28, 175, 0.05) 0%,
    rgba(162, 28, 175, 0.1) 25%,
    rgba(162, 28, 175, 0.05) 50%,
    rgba(162, 28, 175, 0.15) 75%,
    rgba(162, 28, 175, 0.05) 100%);
    background-size: 300% 300%;
    animation: shimmer 3s ease-in-out infinite;
}

.pricing-card-reactivate {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    position: relative;
}

.pricing-card-reactivate.selected {
    border-color: #a21caf !important;
}

.pricing-card-reactivate.selected.dark {
    border-color: #a21caf !important;
}

.pricing-card-reactivate.current {
    background: linear-gradient(135deg,
    rgba(162, 28, 175, 0.05) 0%,
    rgba(162, 28, 175, 0.1) 25%,
    rgba(162, 28, 175, 0.05) 50%,
    rgba(162, 28, 175, 0.15) 75%,
    rgba(162, 28, 175, 0.05) 100%);
    background-size: 300% 300%;
    animation: shimmer 3s ease-in-out infinite;
}

.pricing-card-reactivate.current.dark {
    background: linear-gradient(135deg,
    rgba(162, 28, 175, 0.05) 0%,
    rgba(162, 28, 175, 0.1) 25%,
    rgba(162, 28, 175, 0.05) 50%,
    rgba(162, 28, 175, 0.15) 75%,
    rgba(162, 28, 175, 0.05) 100%);
    background-size: 300% 300%;
    animation: shimmer 3s ease-in-out infinite;
}

.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    pointer-events: none;
}

.ribbon svg {
    position: absolute;
    top: 0;
    right: 0;
}

.current-badge {
    display: inline-block;
    background: #a21caf;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 16px;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.folder-tab {
    position: relative;
}

.folder-tab::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 200px;
    height: 40px;
    background: rgb(221, 214, 254);
    border-radius: 12px 12px 0 0;
    border: 2px solid rgb(196, 181, 253);
    border-bottom: none;
    z-index: 10;
}

.folder-tab::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 2px;
    background: rgb(221, 214, 254);
    z-index: 5;
}

.tab-content {
    position: absolute;
    top: -20px;
    left: 0;
    width: 200px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    padding: 0 12px;
}

.tab-input {
    background: transparent;
    border: none;
    outline: none;
    text-align: center;
    font-weight: 600;
    color: rgb(88, 28, 135);
    font-size: 14px;
    width: 100%;
}

.tab-input::placeholder {
    color: rgb(88, 28, 135);
    opacity: 0.7;
}

/* Only apply thin scrollbar to non-webkit browsers */
@supports not (-webkit-appearance: none) {
    * {
        scrollbar-width: thin;
        scrollbar-color: #888 transparent;
    }
}

/* Override for Firefox only - make it auto */
@supports (-moz-appearance: none) {
    * {
        scrollbar-width: auto;
    }
}

/* Hide scrollbar by default in Chrome */
*::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/* Show thin scrollbar on hover in Chrome */
*:hover::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Fade overlay - initially hidden */
.fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

/* Active state - visible black overlay */
.fade-overlay.active {
    opacity: 1;
}
