@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poly:ital@0;1&display=swap');

:root{

    --primary-text-color: #000;
    --bg-color: #ffffff;

    --btn-color: #fdfdfd;/* button color*/
    --btn-bg: #000;/* button bg color*/

    
    --header-link-hover: #000000;
    --header-link-hover-bg: #bababa36;

    --input-hover-bd-color: #232323;
    
    --dropdown-bg: #f3f4f6;
    --dropdown-hover-bg: #dddddd84;

    --faq-h-text: #0e0e0e;
    --faq-content-text: #1e1e1e;

    --hr-color: #e5e7eb;

    --footer-link: #282828;
    --footer-link-hover: #000;

    --header-bg: #edececa5;
    /* color: #312f2f; */
    --hero-gradient: #fcfcfc;
    --hero-bg-img: url("../assets/images/background/dots-dark.svg");

}

.tw-dark {
    --primary-text-color: #fff;
    --bg-color: #000000;

    --btn-color: #000000;/* button color*/
    --btn-bg: #ffffff;/* button bg color*/

    --header-link-hover: #ffffff;
    --header-link-hover-bg: #8a8a8a5e;

    --input-hover-bd-color: #f8f8f8;

    --dropdown-bg: #171717;
    --dropdown-hover-bg: #2d2d2ddb;

    --faq-h-text: #efefef;
    --faq-content-text: #d4d4d4;

    --hr-color: #e1e1e195;

    --footer-link: #cfcfcf;
    --footer-link-hover: #ffffff;

    --header-bg: #232323a5;

    --hero-gradient: #000;
    --hero-bg-img: url("../assets/images/background/dots.svg");

  }


html {
    scroll-behavior: smooth;
    /* font-family: "Ubuntu", sans-serif; */
}

body.modal-open {
    overflow: hidden;
}

header > .collapsible-header{
    display: flex;
    gap: 1rem;
    width: 100%;
    background-color: inherit;
    justify-content: space-between;
    overflow: hidden;
    transition: width 0.3s ease, height 0.3s ease;
}

hr{
    border-color:var(--hr-color); 
    border-style: solid;
}

.animated-collapse{
    transition: width 0.3s ease;
}


.header-links {
    position: relative;
    display: flex;
    align-items: center;
    min-width: fit-content;
    padding: 8px 15px;
    z-index: 2; 
    cursor: pointer;
    transition: background-color 0.5s, color 0.3s;
}

.header-links::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; 
    width: 100%;
    height: 100%;
    /* color: var(--header-link-hover); */
    background-color: var(--header-link-hover-bg);
    transform: scale(40%);
    opacity: 0;
    border-radius: 8px;
    transition: all 300ms;
}

.header-links:hover{
    color: var(--header-link-hover);
}

.header-links:hover::after {
    transform: scale(100%);
    opacity: 1;
}

.hero-section{
    background-image: var(--hero-bg-img);
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
}

.hero-bg-gradient{
    /* background: linear-gradient(180deg, var(--hero-gradient) 13%, rgba(0,0,0,0.258140756302521) 87%); */
    background: linear-gradient(180deg, var(--hero-gradient) 23%, rgba(0,0,0,0) 87%, var(--hero-gradient) 97%);
}


.gradient-text{
    background: rgb(215,215,215);
    background: linear-gradient(90deg, rgba(215,215,215,1) 18%, rgba(136,136,136,1) 71%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.purple-bg-grad{
    background: rgb(126,34,206);
    background: linear-gradient(90deg, #7e22ce91 8%, #625aafae 31%, #7badbbbc 76%, #54d2d0ca 89%);
    filter: blur(50px);
    opacity: 0.5;
}

#dashboard {
    /* transform-origin: bottom center; */
    transform: perspective(1200px) translateX(0px) translateY(12px) scale(0.8)
        rotate(0deg) rotateX(70deg);
    transition: transform 0.5;
}

.opacity-0{
    opacity: 0 !important;
}

.opacity-100{
    opacity: 100 !important;
}

.btn{
    padding: 10px 15px;
    width: max-content;
    border-radius: 10px;
    color: var(--btn-color);
    background-color: var(--btn-bg);
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.btn:hover{

}

.btn:disabled{
    cursor: default;
}

.input{
    padding: 10px;
    background-color: transparent;
    border-radius: 5px;
    outline: none;
    min-width: 100px;
    border: 1px solid #979797;
    transition: border 0.3s;
}

.input:active, .input:focus, .input:focus-within{
    border: 1px solid var(--input-hover-bd-color) !important;
}

/* ------------------- scrollbar ------------- */
.scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 20px;
}

.scrollbar::-webkit-scrollbar-track {
    border-radius: 25px;
/* background: #f7f4ed; */
}

.scrollbar::-webkit-scrollbar-thumb {
    background: #d7d7d7;
    border-radius: 25px;
}


/* ---------------- dropdown --------------------- */
.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-toggle {
    width: 100%;
    outline: none;
    /* background-color: #000; */
    /* border: 1px solid #ccc; */
}

.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1;
    background-color: var(--dropdown-bg);
    /* border: 1px solid #c9c9c9; */
    list-style-type: none;
    padding: 0;
    width: 100%;
    left: 0px;
    /* top: 105%; */
    border-radius: 10px;
    overflow: hidden;
}

.dropdown-menu li {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-menu li:hover {
    background-color: var(--dropdown-hover-bg);
}

/* -------------- carousel ------------------*/
.carousel-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 800px;
}
  
.carousel {
    display: inline-block;
    animation: scroll 10s linear infinite;
}
  
.carousel-img {
    display: inline-block;
    margin: 0 20px;
}
  
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* ------ animated border ------- */

.animated-border {
    position: relative;
    overflow: visible;
}


.animated-border::after{
    content: '';
    position: absolute;
    top: 0px; 
    left: -100%; 
    width: 30%;
    height: 100%;
    border-radius: inherit; 
    /* background: linear-gradient(#6366f1 23%, rgba(124,190,255,0) 87%); */
    background-color: #6366f1;
    background-repeat: no-repeat;
    /* background-size: 200% 200%; */
    background-position: 0% 0%;
    filter: blur(1.5rem);
    opacity: 0.8;
    box-shadow: inset 0px 0px 20px 5px #6366f1;
    /* transform: rotate(90deg); */
    z-index: -2;
    pointer-events: none;
    animation: slide 10s ease-in-out infinite;
   
}

.animated-border::before{
    filter: blur(1.5rem);
    opacity: 0.3;
    will-change: transform;
}

@keyframes slide{
    0% {
        left: -100%; /* Start completely outside the left edge */
        right: 100%; /* End completely outside the right edge */
    }
   
    100% {
        left: 100%; /* Move completely outside the right edge */
        right: -100%; /* End completely outside the left edge */
    }
}

.footer-link{
    width: -moz-fit-content;
    width: fit-content;
    color: var(--footer-link);
    transition: color 0.3s;
}

.footer-link:hover{
    color: var(--footer-link-hover);
}


/* Style for the collapsible content such as faq commonly known as: accordion */

.faq-accordion {
    background-color: inherit;
    color: var(--faq-h-text);
    cursor: pointer;
    padding: 15px 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: height 0.4s;
}

.faq .content {
    padding: 0px 18px;
    color: var(--faq-content-text);
    height: max-content;
    overflow: hidden;
    background-color: transparent;
    text-align: justify;
    max-height: 0px;
    transition: max-height 0.4s, padding 0.4s;
}


@media not all and (min-width: 1024px) {
    header .collapsible-header {
        position: fixed;
        top: 60px;
        left: 0px;
        flex-direction: column;
        opacity: 0;
        height: 0vh;
        min-height: 0vh;
        /* height: 100dvh; */
        width: 100vw;
        justify-content: space-between;
        padding: 5px;
        padding-top: 5%;
        padding-bottom: 5%;
        place-items: center;
        text-align: center;
        background-color: var(--header-bg);
        /* color: #373636; */
        overflow-y: auto;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: 0px 2px 3px 2px #9f9f9f7c;
    }

    /* .header-links{
        color: var(--he);
    } */

}


/* ============== NEW ANYON CHAT PANEL STYLES ============== */

:root {
    --chat-border-color: #e5e7eb;
    --chat-bg-primary: #fafafa;
    --chat-bg-secondary: #f3f4f6;
    --chat-text-primary: #0a0a0a;
    --chat-text-secondary: #525252;
    --chat-text-tertiary: #737373;
    --chat-accent: #22C55E;
    --chat-accent-hover: #16A34A;
    --chat-error: #EF4444;
    --chat-focus-ring: #6366f1;
}

.tw-dark {
    --chat-border-color: #374151;
    --chat-bg-primary: #111827;
    --chat-bg-secondary: #1f2937;
    --chat-text-primary: #ffffff;
    --chat-text-secondary: #a3a3a3;
    --chat-text-tertiary: #737373;
}

/* Chat Panel Container */
.chat-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    padding: 16px;
    background-color: var(--chat-bg-primary);
    border-radius: 12px;
}

/* Dropdowns Row */
.chat-dropdowns-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.chat-dropdown {
    position: relative;
    flex: 1;
}

.chat-dropdown-toggle {
    width: 100%;
    padding: 10px 12px;
    background-color: var(--chat-bg-secondary);
    border: 1px solid var(--chat-border-color);
    border-radius: 8px;
    color: var(--chat-text-primary);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
}

.chat-dropdown-toggle:hover {
    border-color: var(--chat-focus-ring);
}

.chat-dropdown-toggle:focus {
    outline: none;
    border-color: var(--chat-focus-ring);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.chat-dropdown-toggle i {
    transition: transform 0.2s;
}

.chat-dropdown.open .chat-dropdown-toggle i {
    transform: rotate(180deg);
}

.chat-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background-color: var(--chat-bg-secondary);
    border: 1px solid var(--chat-border-color);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
}

.chat-dropdown.open .chat-dropdown-menu {
    display: block;
}

.chat-dropdown-search {
    padding: 8px;
    border-bottom: 1px solid var(--chat-border-color);
}

.chat-dropdown-search input {
    width: 100%;
    padding: 8px 12px;
    background-color: var(--chat-bg-primary);
    border: 1px solid var(--chat-border-color);
    border-radius: 6px;
    color: var(--chat-text-primary);
    font-size: 13px;
}

.chat-dropdown-search input::placeholder {
    color: var(--chat-text-tertiary);
}

.chat-dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    color: var(--chat-text-primary);
    font-size: 14px;
    transition: background-color 0.15s;
}

.chat-dropdown-item:hover {
    background-color: var(--dropdown-hover-bg);
}

.chat-dropdown-item.selected {
    background-color: var(--chat-focus-ring);
    color: white;
}

/* API Key Section */
.chat-api-key-section {
    padding: 12px 0;
    border-bottom: 1px solid var(--chat-border-color);
    margin-bottom: 12px;
}

.chat-api-key-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.chat-api-key-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--chat-text-secondary);
}

.chat-api-key-actions {
    display: flex;
    gap: 6px;
}

.chat-api-key-btn {
    padding: 4px 8px;
    font-size: 12px;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.2s;
}

.chat-api-key-btn.edit-btn {
    color: #3b82f6;
}

.chat-api-key-btn.edit-btn:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.chat-api-key-btn.get-key-btn {
    color: var(--chat-text-secondary);
}

.chat-api-key-btn.get-key-btn:hover {
    background-color: var(--dropdown-hover-bg);
}

.chat-api-key-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.chat-api-key-status.not-set {
    color: var(--chat-error);
}

.chat-api-key-status.is-set {
    color: var(--chat-accent);
}

.chat-api-key-status i {
    font-size: 14px;
}

/* Chat Input Area */
.chat-input-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.chat-textarea {
    width: 100%;
    min-height: 80px;
    max-height: 200px;
    padding: 14px;
    padding-right: 50px;
    background-color: var(--chat-bg-secondary);
    border: 1px solid var(--chat-border-color);
    border-radius: 8px;
    color: var(--chat-text-primary);
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-textarea::placeholder {
    color: var(--chat-text-tertiary);
}

.chat-textarea:focus {
    border-color: var(--chat-focus-ring);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Send Button */
.chat-send-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    background-color: var(--chat-accent);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.15s;
}

.chat-send-btn:hover {
    background-color: var(--chat-accent-hover);
    transform: scale(1.05);
}

.chat-send-btn:disabled {
    background-color: var(--chat-text-tertiary);
    cursor: not-allowed;
    transform: none;
}

.chat-send-btn i {
    font-size: 16px;
}

/* Chat Toolbar */
.chat-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 8px;
}

.chat-toolbar-btn {
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chat-text-secondary);
    transition: background-color 0.2s, color 0.2s;
}

.chat-toolbar-btn:hover {
    background-color: var(--dropdown-hover-bg);
    color: var(--chat-text-primary);
}

.chat-toolbar-btn.active {
    background-color: var(--chat-focus-ring);
    color: white;
}

.chat-toolbar-btn i {
    font-size: 18px;
}

.chat-toolbar-spacer {
    flex: 1;
}

/* Messages Container */
.chat-messages {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-message {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    max-width: 85%;
    line-height: 1.4;
}

.chat-message.user {
    background-color: var(--chat-focus-ring);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-message.assistant {
    background-color: var(--chat-bg-secondary);
    color: var(--chat-text-primary);
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

/* ============== END NEW ANYON CHAT PANEL STYLES ============== */

/* ============== ANYON WORKSPACE 2-PANEL LAYOUT ============== */

:root {
    --workspace-chat-width: 40%;
    --workspace-workbench-width: 60%;
    --workspace-header-height: 48px;
    --workspace-terminal-height: 150px;
}

/* Main Workspace Container */
.anyon-workspace {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: var(--chat-bg-primary);
    overflow: hidden;
}

/* LEFT PANEL - Chat Side */
.chat-side {
    width: var(--workspace-chat-width);
    min-width: 350px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--chat-border-color);
    background-color: var(--chat-bg-primary);
}

/* Chat Header */
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--chat-border-color);
    background-color: var(--chat-bg-primary);
}

.chat-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header-logo img {
    height: 24px;
    width: auto;
    opacity: 0.9;
}

.chat-header-logo span {
    font-size: 16px;
    font-weight: 600;
    color: var(--chat-text-primary);
    letter-spacing: 0.5px;
}

.new-chat-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background-color: var(--chat-bg-secondary);
    border: 1px solid var(--chat-border-color);
    border-radius: 8px;
    color: var(--chat-text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.new-chat-btn:hover {
    background-color: var(--chat-focus-ring);
    color: white;
    border-color: var(--chat-focus-ring);
}

.new-chat-btn i {
    font-size: 14px;
}

.chat-side .chat-messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-side .chat-input-area {
    padding: 16px;
    border-top: 1px solid var(--chat-border-color);
    background-color: var(--chat-bg-primary);
}

/* Update chat-panel to work inside chat-side */
.chat-side .chat-panel {
    max-width: none;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

/* RIGHT PANEL - Workbench Side */
.workbench-side {
    width: var(--workspace-workbench-width);
    min-width: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--chat-bg-secondary);
}

/* Workbench Header with Tabs */
.workbench-header {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background-color: var(--chat-bg-primary);
    border-bottom: 1px solid var(--chat-border-color);
    gap: 8px;
}

.workbench-tabs {
    display: flex;
    gap: 4px;
    background-color: var(--chat-bg-secondary);
    padding: 4px;
    border-radius: 8px;
}

.workbench-tab {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: var(--chat-text-secondary);
    transition: all 0.2s;
    white-space: nowrap;
}

.workbench-tab:hover {
    color: var(--chat-text-primary);
    background-color: var(--chat-bg-primary);
}

.workbench-tab.active {
    background-color: var(--chat-bg-primary);
    color: var(--chat-text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.workbench-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.workbench-action-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.workbench-action-btn.primary {
    background-color: var(--chat-accent);
    color: white;
    border: none;
}

.workbench-action-btn.primary:hover {
    background-color: var(--chat-accent-hover);
}

.workbench-action-btn.secondary {
    background-color: var(--chat-bg-secondary);
    color: var(--chat-text-primary);
    border: 1px solid var(--chat-border-color);
}

.workbench-action-btn.secondary:hover {
    background-color: var(--chat-bg-primary);
}

/* Workbench Content Area */
.workbench-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.workbench-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.workbench-panel.active {
    opacity: 1;
    visibility: visible;
}

/* Editor Panel Styles */
.editor-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.editor-file-tabs {
    display: flex;
    background-color: var(--chat-bg-primary);
    border-bottom: 1px solid var(--chat-border-color);
    padding: 0 8px;
    overflow-x: auto;
}

.editor-file-tab {
    padding: 8px 16px;
    font-size: 12px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    color: var(--chat-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.editor-file-tab:hover {
    color: var(--chat-text-primary);
}

.editor-file-tab.active {
    color: var(--chat-text-primary);
    border-bottom-color: var(--chat-accent);
}

.editor-content {
    flex: 1;
    background-color: #1e1e1e;
    color: #d4d4d4;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
    padding: 16px;
    overflow: auto;
}

.editor-line-numbers {
    display: inline-block;
    width: 40px;
    text-align: right;
    padding-right: 16px;
    color: #858585;
    user-select: none;
}

/* Preview Panel */
.preview-container {
    height: 100%;
    background-color: white;
}

.preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.preview-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--chat-text-tertiary);
}

.preview-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
}

/* Terminal Area */
.workbench-terminal {
    height: var(--workspace-terminal-height);
    background-color: #1e1e1e;
    border-top: 1px solid var(--chat-border-color);
    display: flex;
    flex-direction: column;
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #252526;
    border-bottom: 1px solid #3c3c3c;
}

.terminal-title {
    font-size: 12px;
    color: #cccccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-title i {
    color: var(--chat-accent);
}

.terminal-actions {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

.terminal-action-btn {
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terminal-action-btn:hover {
    background-color: #3c3c3c;
}

.terminal-content {
    flex: 1;
    padding: 8px 12px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 12px;
    color: #cccccc;
    overflow: auto;
}

.terminal-line {
    margin-bottom: 4px;
}

.terminal-prompt {
    color: var(--chat-accent);
}

.terminal-path {
    color: #569cd6;
}

/* Hide mockup section */
#dashboard-container {
    display: none;
}

/* ============== END ANYON WORKSPACE 2-PANEL LAYOUT ============== */

/* ============== AUTH MODAL STYLES ============== */

.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.auth-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 20px;
    padding: 32px;
    background-color: var(--chat-bg-primary);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    color: var(--chat-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.auth-modal-close:hover {
    background-color: var(--chat-bg-secondary);
    color: var(--chat-text-primary);
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-modal-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
}

.auth-modal-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--chat-text-primary);
    margin-bottom: 8px;
}

.auth-modal-header p {
    font-size: 14px;
    color: var(--chat-text-secondary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-input-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--chat-text-secondary);
}

.auth-input-group input {
    width: 100%;
    padding: 12px 14px;
    background-color: var(--chat-bg-secondary);
    border: 1px solid var(--chat-border-color);
    border-radius: 8px;
    color: var(--chat-text-primary);
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.auth-input-group input::placeholder {
    color: var(--chat-text-tertiary);
}

.auth-input-group input:focus {
    border-color: var(--chat-focus-ring);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-btn-primary {
    background-color: var(--chat-accent);
    color: white;
    border: none;
}

.auth-btn-primary:hover:not(:disabled) {
    background-color: var(--chat-accent-hover);
}

.auth-btn-primary:disabled {
    background-color: var(--chat-text-tertiary);
    cursor: not-allowed;
    opacity: 0.7;
}

.auth-btn-secondary {
    background-color: var(--chat-bg-secondary);
    color: var(--chat-text-primary);
    border: 1px solid var(--chat-border-color);
}

.auth-btn-secondary:hover {
    background-color: var(--chat-focus-ring);
    color: white;
    border-color: var(--chat-focus-ring);
}

.auth-verification {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background-color: var(--chat-bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--chat-border-color);
}

.auth-link {
    background: none;
    border: none;
    color: var(--chat-focus-ring);
    font-size: 13px;
    cursor: pointer;
    text-align: right;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Success message */
.auth-success {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--chat-accent);
    border-radius: 8px;
    color: var(--chat-accent);
    font-size: 13px;
}

.auth-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--chat-error);
    border-radius: 8px;
    color: var(--chat-error);
    font-size: 13px;
}

/* ============== END AUTH MODAL STYLES ============== */