#app {
    background: #101010;
    width: 100%;
    height: 100vh;
    background-image: radial-gradient(circle at 10% 20%, rgba(66, 211, 255, 0.1) 0%, transparent 20%), radial-gradient(circle at 90% 30%, rgba(149, 0, 255, 0.1) 0%, transparent 20%), radial-gradient(circle at 50% 80%, rgba(0, 255, 170, 0.1) 0%, transparent 30%);
}
body, * {
    margin: 0px;
    padding:0px;
    box-sizing:border-box;
    position:relative;
    /* Firefox */
      scrollbar-width: none; /* Firefox */
    /* IE 10+ / Edge */
      -ms-overflow-style: none; /* IE and Edge */
}
body::-webkit-scrollbar, *::-webkit-scrollbar {
  display: none;
}
.matrix-bg {
  animation: pulse 8s ease-in-out forwards; /* Use forwards to keep the final state */
}
.terminal-link {
    /* opacity:0; */
}
.container {
    display:block;
    background:#00000000;
    border:0px solid #00000000;
    background-image: none;
    transition: all 8s ease, background-image 16s ease;
}
.container.active {
    background: #05050536;
    border: 1px solid rgb(255 255 255 / 4%);
    background-image: radial-gradient(circle at 10% 20%, rgba(66, 211, 255, 0.1) 0%, transparent 20%), radial-gradient(circle at 90% 30%, rgba(149, 0, 255, 0.1) 0%, transparent 20%), radial-gradient(circle at 50% 80%, rgba(0, 255, 170, 0.1) 0%, transparent 30%);
}

.container .inner-container {
    padding:80px 20px;
    width:calc(100% - 100px);
    margin:0 auto;
    /* height:100vh; */
}
.container .inner-container a {
    background: linear-gradient(135deg, #fff 0%, #a2ffa4 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      transition:all 0.1s;
}
.container .inner-container h1 img {
    border-radius: 12px;
    height: 55px;
    margin-left: -5px;
    margin-right: 25px;
    border: 2px solid;
    padding: 8px 6px;
}
.container .inner-container h1 {
    font-size:40px;
    margin-bottom:30px;
    font-weight: 900;
    display: flex;
    align-items: center;
    line-height:44px;
}
.container .inner-container * {
    font-weight: 700;
}
.container .inner-container strong {
    font-weight: 900;
}

.websim-left-panel {
    width: 240px;
    height: 100vh;
    /* background: linear-gradient(139deg, black, #1a161d); */
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    font-family: 'JetBrains Mono', monospace;
    color: #e0e0e0;
    transition:all 0.3s;
}

.websim-panel-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem 1rem;
    overflow:scroll;
    background: linear-gradient(313deg, #00000024, #0000003d);
}

.websim-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.websim-logo img {
    border-radius: 12px;
    height: 55px;
    /* margin-left: -5px; */
    margin-right: -28px;
    /* border: 2px solid; */
    padding: 8px 6px;
}
.the-dev-is-cooking {
    margin:20px;
}
.the-dev-is-cooking img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}
.websim-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
    padding-bottom: 30px;
}
.is-section-title {
    /* text-align: center; */
    margin: auto;
    display: block;
    /* width: 100%; */
    margin: calc(1rem);
    box-sizing: border-box;
    margin-bottom: 5px;
    /* font-size: 15px; */
    margin-top: 20px;
    color: #757575;
}

.websim-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #a0a0a0;
    transition: all 0.3s ease;
    text-decoration: none;
    position:relative;
}
.websim-nav-item-wrapper:first-of-type .is-section-title {
    margin-top:0px;
}

.websim-nav-item:hover, .websim-nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    margin: 5px;
}

.websim-bottom-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
}
.websim-light-btn {
    justify-content:center;
}
.websim-new-btn, .websim-deploy-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: all 0.3s ease;
    width: 100%;
    cursor:pointer;
    justify-content: center;
}

.websim-new-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.websim-deploy-btn {
    opacity: 0.5;
    cursor: not-allowed;
}

.websim-deploy-btn:not(:disabled):hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
.websim-terminal-container {
    position: fixed;
    left: 240px; /* Matches left panel width */
    right: 0px; /* Space for right panel */
    top: 0;
    bottom: 0;
    /* background: #101010;
    background-image: radial-gradient(circle at 10% 20%, rgba(66, 211, 255, 0.1) 0%, transparent 20%), radial-gradient(circle at 90% 30%, rgba(149, 0, 255, 0.1) 0%, transparent 20%), radial-gradient(circle at 50% 80%, rgba(0, 255, 170, 0.1) 0%, transparent 30%); */
    color: #e0e0e0;
    font-family: 'Fira Code', monospace;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition:all 0.3s;
}

.websim-terminal-header {
    padding: 10px 15px;
    /* padding-top:10px; */
    /* padding-bottom: 10px; */
    background: rgb(0 0 0 / 0%);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    overflow: scroll;
    padding-right: 20px;
    min-height: 40px;
    margin-right:10px;
}

.websim-terminal-tabs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.websim-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.25rem;
    font-size: 0.875rem;
    cursor:pointer;
}
.websim-tab:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
}
.websim-tab.unsaved {
    font-style:italic;
}

.websim-tab-title {
    white-space: nowrap;
}
.websim-tab.active {
    background: rgb(255 255 255 / 17%);
}

.websim-tab-close {
    border: none;
    background: none;
    color: #666;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 0.25rem;
}

.websim-tab-close:hover {
    color: #fff;
}

.websim-new-tab {
    padding: 0.25rem 0.75rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    border-radius: 0.25rem;
    cursor: pointer;
    transition:all 0.2s;
}
.websim-new-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.websim-terminal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: scroll;
    margin-bottom: 25px;
    /* background-image: radial-gradient(circle at 10% 20%, rgba(66, 211, 255, 0.1) 0%, transparent 20%), radial-gradient(circle at 90% 30%, rgba(149, 0, 255, 0.1) 0%, transparent 20%), radial-gradient(circle at 50% 80%, rgba(0, 255, 170, 0.1) 0%, transparent 30%); */
}

/* Basic prevention for hidden elements - let JS handle the rest */
.websim-terminal-content > [style*="display: none"] {
    pointer-events: none;
}

/* Welcome Modal Styles */
.welcome-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    display: flex
;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    animation: fadeIn 0.5s ease;
}

.welcome-modal {
    background: linear-gradient(145deg, rgba(16, 16, 16, 0.98) 0%, rgba(8, 8, 8, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.9),
        0 12px 40px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.welcome-modal::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: linear-gradient(
        135deg, 
        rgba(66, 211, 255, 0.03) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(149, 0, 255, 0.03) 100%);
    pointer-events: none;
    border-radius: inherit;
}

.welcome-modal-header {
    padding: 30px 25px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.welcome-modal-header img {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    border-radius: 4px;
    filter: drop-shadow(0 0 20px rgba(66, 211, 255, 0.3));
}

.welcome-modal-header h1 {
    color: #fff;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Fira Code', monospace;
    /* background: linear-gradient(135deg, #a2ffa4 0%, #a2ffa4 50%, #9500ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    letter-spacing: 1px;
    line-height: 1.2;
    /* text-shadow: 0 0 10px #a2ffa4; */
}

.welcome-modal-header h1 span {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    background: none;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-top: 20px;
    letter-spacing: 0.3px;
}

.welcome-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-family: 'Fira Code', monospace;
    backdrop-filter: blur(10px);
}

.welcome-modal-close:hover {
    opacity: 1;
    background: rgba(255, 77, 77, 0.15);
    border-color: rgba(255, 77, 77, 0.3);
    transform: scale(1.05);
}

.welcome-modal-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.welcome-intro {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px 0;
    line-height: 1.8;
    font-size: 15px;
    font-family: 'Fira Code', monospace;
    letter-spacing: 0.3px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    /* border: 1px solid rgba(255, 255, 255, 0.15); */
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin: 0 8px;
}
.social-link.telegram-link img {
    filter: invert(1);
}
.social-link.virtuals-link img {
    width: 60%;
}

.social-link:hover {
    /* background: linear-gradient(145deg, rgba(66, 211, 255, 0.2) 0%, rgba(149, 0, 255, 0.2) 100%); */
    /* border-color: rgba(66, 211, 255, 0.4); */
    transform: translateY(-2px) scale(1.05);
    filter:brightness(1.5);
    /* box-shadow: 0 8px 25px rgba(66, 211, 255, 0.3); */
}

.modal-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.privacy-link:hover {
    color: #a2ffa4;
}

.continue-btn {
    /* width: 100%; */
    padding: 10px 15px;
    background: #1e1e1e;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 4px 2px #00000059;
    gap: 10px;
    font-size: 14px;
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.continue-btn:hover {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(41, 21, 61, 0.55);
    filter: brightness(1.5);
}

.privacy-content {
    text-align: left;
    max-height: 400px;
    overflow-y: auto;
}

.privacy-content h3 {
    color: #fff;
    margin: 0 0 20px 0;
    font-size: 20px;
    font-family: 'Fira Code', monospace;
    background: linear-gradient(135deg, #a2ffa4 0%, #a2ffa4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 15px 0;
    line-height: 1.6;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
}

.privacy-content ul {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 25px 20px;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
}

.privacy-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.privacy-content h4 {
    color: #fff;
    margin: 20px 0 10px 0;
    font-size: 16px;
    font-family: 'Fira Code', monospace;
    background: linear-gradient(135deg, #a2ffa4 0%, #a2ffa4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-section {
    margin-bottom: 20px;
}

.privacy-content code {
    background: rgba(66, 211, 255, 0.1);
    padding: 3px 6px;
    border-radius: 3px;
    color: #a2ffa4;
    font-family: 'Fira Code', monospace;
    border: 1px solid rgba(66, 211, 255, 0.2);
}

.privacy-content a {
    color: #a2ffa4;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.privacy-content a:hover {
    color: #a2ffa4;
}

.back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-family: 'Fira Code', monospace;
    cursor: pointer;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.websim-monaco-container {
    flex: 1;
    position: relative;
    min-height: 200px;
}

.websim-output-container {
    height: 200px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.websim-output-line {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.websim-prompt {
    color: #4CAF50;
    user-select: none;
}

.websim-input-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.websim-command-input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.875rem;
    outline: none;
}

.websim-command-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.websim-right-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 240px;
    height: 100vh;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Inter', sans-serif;
    color: #e0e0e0;
    z-index: 100;
}

.websim-right-panel-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
    gap: 1.5rem;
}

.websim-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.websim-section-header h3 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
}

.websim-refresh-map {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    transition: transform 0.3s ease;
}

.websim-refresh-map:hover {
    color: #fff;
    transform: rotate(180deg);
}

.websim-minimap-container {
    position: relative;
    height: 200px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
}

.websim-minimap-content {
    padding: 0.5rem;
    font-size: 0.6rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.6);
}

.websim-minimap-viewport {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
    pointer-events: none;
    transition: top 0.3s ease;
}

.websim-navigation-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.websim-nav-group, .websim-action-group {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.websim-nav-btn, .websim-action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.websim-nav-btn:hover, .websim-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.websim-delete-btn {
    color: #ff4d4d;
}

.websim-delete-btn:hover {
    color:#fff !important;
    background: rgba(255, 77, 77, 1) !important;
    border-color: rgba(255, 77, 77, 0.3) !important;
}

.websim-quick-actions {
    margin-top: auto;
}

.websim-actions-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.websim-quick-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.websim-quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

.websim-quick-action-btn i {
    font-size: 1rem;
}

.websim-quick-action-btn span {
    font-size: 0.875rem;
}
.websim-status-bar {
    position: fixed;
    bottom: 0;
    left: 240px; /* Match left panel width */
    right: 0px; /* Match right panel width */
    height: 28px;
    /* background: rgba(18, 18, 18, 0.95); */
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    z-index: 1000;
    box-shadow: 0px -5px 10px 6px #00000026;
}

.websim-status-left,
.websim-status-center,
.websim-status-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.websim-connection-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.websim-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    position: relative;
}

.websim-status-indicator::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s infinite;
}

[data-status="connected"] .websim-status-indicator {
    background: #4CAF50;
}

[data-status="disconnected"] .websim-status-indicator {
    background: #f44336;
}

[data-status="connecting"] .websim-status-indicator {
    background: #FFC107;
}

.websim-active-connections {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.websim-connections-count {
    font-weight: 500;
}

.websim-message-container {
    min-width: 200px;
    text-align: center;
    position: relative;
}

.websim-status-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    animation: slideUpFade 0.3s ease forwards;
}

.websim-progress-bar {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.websim-progress-bar.active {
    opacity: 1;
}

.websim-progress-fill {
    height: 100%;
    background: #4CAF50;
    width: 0%;
    transition: width 0.3s ease;
}

.websim-memory-usage,
.websim-clock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.websim-status-expand {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    transition: all 0.3s ease;
}

.websim-status-expand:hover {
    color: #fff;
}

.websim-status-expand.expanded i {
    transform: rotate(180deg);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tooltip customization */
.tippy-box {
    background-color: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tippy-arrow {
    color: rgba(208, 183, 183, 0.95);
}

/* Notification base style for dark theme, positioned at the bottom center */
body .notification {
    background-color: #101010; /* Dark background */
    color: #fff; /* Light text */
    font-size: 14px;
    padding: 1em;
    margin: 35px 7px;
    border-radius: 5px;
    border: 1px solid #2c3032;
    /* box-shadow: 2px 2px #fff; */
    font-weight: 100;
    position: fixed; /* Fixed position */
    right: 0px; /* Center horizontally */
    bottom: 0px; /* Initial position at the bottom */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000000; /* Ensure it's above other content */
    /* pointer-events: none; */
    font-family: 'JetBrains Mono', monospace;
}
/* Slide-in and Slide-out transitions */
.slide-enter-active, .slide-leave-active {
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.slide-enter, .slide-leave-to {
  transform: translateY(100px); /* Slide in from the right */
  opacity: 0;
}

.minimize-chevron {
    position: absolute;
    right: 0px;
}
.minimize-chevron svg {
    padding: 5px;
    border: 1px solid #ffffff45;
    width: 6px;
    height: 6px;
    border-radius: 7px;
    /* top: -10px; */
    transform:rotate(180deg);
    cursor: pointer;
    transition:all 0.3s;
}
.minimize-chevron:hover svg {
    transform:rotate(180deg) scale(1.2);
}
#app.collapsed .websim-left-panel {
    width: 95px;
}
#app.collapsed .websim-left-panel .websim-panel-content {
    padding:1.5rem 0.5rem;
}
#app.collapsed .websim-left-panel span:not(.bot-span) {
    display:none;
}
#app.collapsed .websim-left-panel span.bot-span {
    font-size: 10px;
    margin-left: -4px;
}
#app.collapsed .websim-logo svg:not(.minimize-chevron svg) {
    display:none;
}
#app.collapsed .websim-nav-item {
    padding: 0.75rem 0.6rem;
    justify-content:center;
}
#app.collapsed .websim-terminal-container, #app.collapsed .websim-status-bar {
    left:95px;
}
#app.collapsed .chevron-closed {
    right: 9px;
}
#app.collapsed .minimize-chevron {
    transform: rotate(180deg);
    right: 5px;
}

#app.collapsed .filters-options.settingsOpen {
    width: calc(100% - 120px);
}
#app.collapsed .websim-nav-item:hover, #app.collapsed .websim-nav-item.active {
    transform: translateX(2px);
}
#app.collapsed .websim-bottom-buttons {
    flex-direction:column;
}
.light-mode .toggle-light {
  opacity:1;
}
.light-mode .toggle-light:hover {
  opacity:0.5;
}
.light-mode .section-header, 
.light-mode .websim-left-panel, 
.light-mode .websim-status-bar,
.light-mode .websim-terminal-input,
.light-mode .websim-terminal-header,
.light-mode .editor-action-container,
.light-mode .prompt-container,
.light-mode .components-nav-map-item,
.light-mode .components-nav-map button,
.light-mode .library-container * {
  filter: invert(1) hue-rotate(160deg);
}
.light-mode .websim-terminal-header {
    background: #000 !important;
    margin-right: 0px;
}
/* .light-mode #mainTerminalWebsim, */
.light-mode .template-editor {
    background: #fff !important;
}
/* <div class='new-project-progress-bar-container'>
    <div class='new-project-progress-bar' :style='{ width: (generationProgress.progress / generationProgress.section_count) * 100 + "%" }'></div>
  </div> */

.new-project-progress-bar-container {
    width: calc(100% + 38px);
    margin-left: -19px;
    height: 15px;
    background: #ffffff1f;
    border-radius: 0px;
    overflow: visible;
    /* margin-top: 10px; */
    /* margin-bottom: 10px; */
    position: relative;
}
.absolute-progress-text {
    position: absolute;
    left:50%;
    top: 0px;
    font-size: 11px;
    color: #ffffff80;
    font-weight: 100;
}

.new-project-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #a6ffa8, #a6ffa83b);
    transition: width 0.3s ease
}

/* Fix for hidden editors interfering with scroll */
websim-template-editor[style*="display: none"],
data-container[style*="display: none"],
docs[style*="display: none"] {
    pointer-events: none !important;
    overflow: hidden !important;
}

/* Prevent scroll capture on hidden elements */
.websim-terminal-content [style*="display: none"] * {
    pointer-events: none !important;
    overflow: hidden !important;
}

.generation-cancel-container {
    text-align: center;
    margin: 20px 0;
    padding: 10px 0px;
}
.gen-container {
    background: linear-gradient(45deg, #00000085, #00000026);
    padding: 10px 30px;
    padding-bottom: 30px;
    border-radius: 10px;
    margin-top:15px;
}
.gen-title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-style: italic;
    color: #a2ffa4;
}
.gen-text {
    font-size: 15px;
    line-height: 24px;
}

.cancel-generation-button {
    background: #1e1e1e;
    border: 1px solid #ffffff2e;
    color: #fff;
    padding: 12px 180px;
    box-shadow: 2px 2px 5px 1px #000;
    x: 6px;
    /* width: 100%; */
    cursor: pointer;
    border-radius: 10px;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cancel-generation-button:hover {
    /* background: rgba(255, 77, 77, 0.3); */
    color: #fff;
    /* border-color: #ff6666; */
    transform: translateY(-1px);
    background: linear-gradient(135deg, #ff4d4d36 0%, #cc333346 100%);
    transform: translateY(-2px);
    /* box-shadow: 0 6px 15px rgba(255, 77, 77, 0.3); */
    /* border-color: rgba(255, 77, 77, 0.3); */
}

/* Auth Modal Styles */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.9); */
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.4s ease;
}

.auth-modal {
    background: linear-gradient(145deg, rgba(16, 16, 16, 0.95) 0%, rgba(8, 8, 8, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.9),
        0 8px 32px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    width: 92%;
    max-width: 420px;
    max-height: 85vh;
    overflow: hidden;
    animation: slideInScale 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(24px);
    position: relative;
}

.auth-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, 
        rgba(66, 211, 255, 0.03) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(149, 0, 255, 0.02) 100%);
    pointer-events: none;
    border-radius: inherit;
}

.auth-modal-header {
    padding: 25px 20px;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.06); */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%); */
    position: relative;
    z-index: 2;
}

.auth-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(66, 211, 255, 0.4) 20%, 
        rgba(149, 0, 255, 0.3) 80%, 
        transparent 100%);
    opacity: 0.6;
}

.auth-modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    font-family: 'Fira Code', monospace;
    background:linear-gradient(
134deg, #fff 0%, #ffffff 50%, #a2ffa4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    text-shadow: 0 0 20px rgba(66, 211, 255, 0.3);
}

.auth-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 2px 10px;
    border-radius: 6px;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-family: 'Fira Code', monospace;
    backdrop-filter: blur(10px);
}

.auth-modal-close:hover {
    opacity: 1;
    background: rgba(255, 77, 77, 0.15);
    border-color: rgba(255, 77, 77, 0.3);
    transform: scale(1.05);
}

.auth-modal-content {
    padding: 20px;
    padding-bottom:30px;
    position: relative;
    z-index: 2;
}

.auth-modal-content p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px 0;
    line-height: 1.85;
    font-size: 14px;
    font-family: 'Fira Code', monospace;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.auth-modal-content p:first-child {
    font-size: 14px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 500;
    /* background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.9) 100%); */
    /* background-clip: text; */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
}

.auth-modal-content p:last-of-type {
    margin-bottom: 42px;
}

.auth-modal-content strong {
    color: #a2ffa4;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(162, 255, 164, 0.4);
    background: linear-gradient(135deg, #a2ffa4 0%, #85ff88 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-modal-content a {
    color: #c6f3dd;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(66, 211, 255, 0.3);
    padding-bottom: 1px;
}

.auth-modal-content a:hover {
    color: #fff;
    border-bottom-color: #a2ffa4;
    text-shadow: 0 0 8px rgba(66, 211, 255, 0.4);
}

.auth-connect-btn {
    width: 100%;
    padding: 15px 24px;
    background: #161616;
    border: 1px solid rgb(28 29 29);
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Fira Code', monospace;
    cursor: pointer;
    transition: all 0.4s 
cubic-bezier(0.4, 0, 0.2, 1);
    /* box-shadow: 0 8px 32px rgba(66, 211, 255, 0.3), 0 4px 16px rgba(149, 0, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.1); */
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.auth-connect-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent);
    transition: left 0.6s ease;
}

.auth-connect-btn::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: linear-gradient(145deg, rgba(66, 211, 255, 0.1) 0%, rgba(149, 0, 255, 0.1) 100%);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-connect-btn:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.02);
    /* box-shadow: 
        0 12px 40px rgba(66, 211, 255, 0.4),
        0 6px 20px rgba(149, 0, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25); */
    /* background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%); */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(41, 21, 61, 0.55);
}

.auth-connect-btn:hover:not(:disabled)::before {
    left: 100%;
}

.auth-connect-btn:hover:not(:disabled)::after {
    opacity: 1;
}

.auth-connect-btn:active:not(:disabled) {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 6px 20px rgba(66, 211, 255, 0.3),
        0 3px 10px rgba(149, 0, 255, 0.2);
}

.auth-connect-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    color: rgba(255, 255, 255, 0.5);
}

/* Auth Section in Sidebar */
.websim-auth-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.websim-login-btn,
.websim-logout-btn {
    width: 100%;
    padding: 14px 15px;
    background: #1e1e1e;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 4px 2px #00000059;
    gap: 10px;
    font-size: 14px;
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.websim-login-btn::before,
.websim-logout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* .websim-logout-btn {

} */

.websim-login-btn:hover {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(41, 21, 61, 0.55);
    /* border-color: rgba(22, 17, 27, 0.3); */
}

.websim-login-btn:hover::before {
    opacity: 1;
}

.websim-logout-btn:hover {
    background: linear-gradient(135deg, #ff4d4d36 0%, #cc333346 100%);
    transform: translateY(-2px);
    /* box-shadow: 0 6px 15px rgba(255, 77, 77, 0.3); */
    /* border-color: rgba(255, 77, 77, 0.3); */
}

.websim-logout-btn:hover::before {
    opacity: 1;
}

.websim-new-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #333 !important;
}

.websim-new-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}