@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Scrollbar Styles for All Command Outputs */
.terminal-output::-webkit-scrollbar,
.command-output::-webkit-scrollbar,
.command-error::-webkit-scrollbar,
.scrollable-output::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.terminal-output::-webkit-scrollbar-track,
.command-output::-webkit-scrollbar-track,
.scrollable-output::-webkit-scrollbar-track {
    background: #1a1a2e;
    border-radius: 5px;
}

.command-error::-webkit-scrollbar-track {
    background: rgba(255, 123, 114, 0.05);
    border-radius: 5px;
}

.terminal-output::-webkit-scrollbar-thumb {
    background: #4ec9b0;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.command-output::-webkit-scrollbar-thumb,
.scrollable-output::-webkit-scrollbar-thumb {
    background: #58a6ff;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.command-error::-webkit-scrollbar-thumb {
    background: #ff7b72;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.terminal-output::-webkit-scrollbar-thumb:hover {
    background: #6eddc7;
}

.command-output::-webkit-scrollbar-thumb:hover,
.scrollable-output::-webkit-scrollbar-thumb:hover {
    background: #79b8ff;
}

.command-error::-webkit-scrollbar-thumb:hover {
    background: #ff9a90;
}

.terminal-output::-webkit-scrollbar-corner,
.command-output::-webkit-scrollbar-corner,
.command-error::-webkit-scrollbar-corner,
.scrollable-output::-webkit-scrollbar-corner {
    background: #1a1a2e;
}

/* All Scrollable Output Containers */
.scrollable-output,
.command-output,
.command-error,
.terminal-output {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Ensure terminal output is always scrollable when content overflows */
.terminal-output {
    display: block;
    overflow-y: scroll !important;
    overflow-x: auto !important;
}

/* Terminal output container should not interfere with inner scrolling */
.terminal-output-scroll-container {
    overflow: visible;
    position: relative;
}

/* Fix for terminal output in chat messages */
.message .terminal-output-wrapper {
    width: 100%;
    max-width: 100%;
}

/* Terminal Output Container Enhancements */
.terminal-output-wrapper,
.command-complete {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-output,
.command-output,
.command-error {
    position: relative;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .terminal-output,
    .command-output,
    .command-error,
    .scrollable-output {
        max-height: 350px !important; /* Smaller on mobile */
        font-size: 12px !important;
    }

    .terminal-output::-webkit-scrollbar,
    .command-output::-webkit-scrollbar,
    .command-error::-webkit-scrollbar,
    .scrollable-output::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
}

/* Add line numbers effect for long outputs */
.terminal-output.with-line-numbers {
    counter-reset: line;
    padding-left: 50px !important;
}

.terminal-output.with-line-numbers::before {
    content: counter(line);
    counter-increment: line;
    position: absolute;
    left: 10px;
    color: #555;
    user-select: none;
}

/* Highlight on hover for better readability */
.terminal-output:hover {
    background: #0f0f11 !important;
}


/* Copy button for terminal output */
.terminal-output-wrapper:hover .copy-terminal-output,
.command-complete:hover .copy-terminal-output {
    opacity: 1;
}

.copy-terminal-output {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(78, 201, 176, 0.2);
    color: #4ec9b0;
    border: 1px solid #4ec9b0;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.copy-terminal-output:hover {
    background: rgba(78, 201, 176, 0.3);
    transform: scale(1.05);
}

body {
    font-family: "Poppins", sans-serif !important;
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

a {
    -o-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
    -webkit-transition: all 300ms ease 0s;
    -moz-transition: all 300ms ease 0s;
}

.text-gradient {
    -webkit-text-fill-color: transparent;
    background-image: -webkit-gradient(linear, left top, right top, from(#6f7dfa), to(#2ae6e9));
    background-image: -o-linear-gradient(left, #6f7dfa, #2ae6e9);
    background-image: linear-gradient(90deg, #6f7dfa, #2ae6e9);
    -webkit-background-clip: text;
    background-clip: text;
}

.btn.mainBtn {
    display: inline-block;
    background: #6f7dfa;
    color: #fff !important;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 24px;
    padding: 20px 60px 18px;
    line-height: 26px;
    cursor: pointer;
    border-bottom: 5px solid rgba(0, 0, 0, 0.2);
}

.btn.mainBtn:hover {
    background: #2d7bef;
    border-bottom: 5px solid rgba(0, 0, 0, 0.2);
}

.btn.mainBtn span {
    font-size: 15px;
    display: block;
    font-weight: normal;
    font-style: italic;
    color: rgba(255, 255, 255, 0.65);
}

.bg-darkblue {
    background-color: #070e23;
}

.bg-navyblue {
    background-color: #0d1735;
}

.ptb80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.max-750 {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.navbar-toggler:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.bookAppointment-content .qxCTlb {
    display: inline-block;
    background: #6f7dfa !important;
    color: #fff !important;
    text-decoration: none;
    font-family: "Poppins", sans-serif !important;
    font-weight: 700;
    font-size: 22px;
    padding: 22px 40px 20px;
    line-height: 26px;
    border-bottom: 5px solid rgba(0, 0, 0, 0.2);
}

.bookAppointment-content .qxCTlb:hover {
    background: #2d7bef !important;
    border-bottom: 5px solid rgba(0, 0, 0, 0.2);
}

/********* Header ********/

.logoImg {
    width: 200px;
}

.main-header .navbar {
    padding-top: 20px;
    padding-bottom: 20px;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}

.main-header.sticky .navbar {
    background-color: #070e23;
}

.main-header .navbar li.nav-item {
    margin-right: 20px;
}

.main-header .navbar .nav-link {
    color: #fff;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
}

.main-header .navbar .nav-link:hover {
    color: #6f7dfa;
}

.callUsHeader {
    border-left: 1px solid #7a7a7a;
    padding-left: 25px;
    line-height: 30px;
}

.callUsHeader .callUsTop {
    color: #fff;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    position: relative;
    padding-left: 50px;
}

.callUsTop::before {
    content: "";
    display: block;
    background: url("../images/phone-icon.2ff62b6b079f.svg") no-repeat;
    width: 35px;
    height: 35px;
    background-size: contain;
    position: absolute;
    left: 0;
    top: -7px;
}

/********* Banner ********/

.homeBanner {
    background: url("../images/home-banner.a3fe8ddf0c36.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
}

.bannerContent {
    max-width: 980px;
    margin: 0 auto;
}

.bannerContent h1 {
    font-size: 70px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.bannerContent h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
}

.bannerContent p {
    font-size: 20px;
}

.downLine,
.downLine2 {
    position: relative;
}

.downLine:after {
    content: "";
    background: url("../images/down-stroke.9c5d11bc1633.svg") no-repeat;
    width: 410px;
    height: 17px;
    background-size: contain;
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

/********* Trusted Logos ********/

.trsustedLogos {
    padding: 40px 0;
}

.trustedTitle h4 {
    font-size: 18px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.75);
}

.trsustedLogos .swiper-wrapper {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.trsustedLogos .swiper-wrapper .swiper-slide {
    text-align: center;
}

/********* Trusted Innovators ********/

.titleWrapper h2 {
    font-size: 45px;
    font-weight: 600;
}

.titleWrapper p {
    font-size: 18px;
    line-height: 1.7;
}

.testimonialsContent {
    padding: 30px 20px 50px;
    border-radius: 20px !important;
    border: double 1px transparent;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#0d1735), to(#0d1735)), radial-gradient(circle at bottom, #6f7dfa, #67f3f4);
    background-image: -o-linear-gradient(#0d1735, #0d1735), -o-radial-gradient(bottom, circle, #6f7dfa, #67f3f4);
    background-image: linear-gradient(#0d1735, #0d1735), radial-gradient(circle at bottom, #6f7dfa, #67f3f4);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
}

.testimonialsContent::after {
    content: "";
    display: block;
    background: url("../images/quotes-icon.a9854a041a6d.svg") no-repeat;
    width: 64px;
    height: 60px;
    background-size: contain;
    position: absolute;
    right: 20px;
    bottom: 20px;
    opacity: 0.5;
    -webkit-transform: rotate(170deg);
    -ms-transform: rotate(170deg);
    transform: rotate(170deg);
}

.testimonialsContent p {
    color: #e7e7e7;
    line-height: 1.7;
    margin-bottom: 30px;
}

.testimonialsContent .trustedName h4 {
    font-size: 20px;
    color: #6ca4f8;
    margin-bottom: 5px;
}

.testimonialsContent .trustedName p {
    font-size: 15px;
}

.trustedName {
    position: relative;
    z-index: 1;
}

.trsustedInnovators .swiper-pagination {
    position: static;
    margin-top: 30px;
}

.trsustedInnovators .swiper-pagination .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.trsustedInnovators .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #6ca4f8;
    border-color: #6ca4f8;
}

/********* Why Choose Us ********/

.chooseContent {
    max-width: 220px;
    margin: 0 auto;
}

.chooseContent h3,
.gpuContent h3 {
    font-size: 20px;
    color: #6ca4f8;
    font-weight: 600;
}

.chooseContent p {
    color: #e7e7e7;
}

/********* Which GPU Choose ********/

.gpuChoose .container {
    max-width: 1140px;
}

.borderImg {
    border-radius: 20px !important;
    border: double 1px transparent;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#0d1735), to(#0d1735)), radial-gradient(circle at bottom, #6f7dfa, #67f3f4);
    background-image: -o-linear-gradient(#0d1735, #0d1735), -o-radial-gradient(bottom, circle, #6f7dfa, #67f3f4);
    background-image: linear-gradient(#0d1735, #0d1735), radial-gradient(circle at bottom, #6f7dfa, #67f3f4);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
    -o-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
    -webkit-transition: all 300ms ease 0s;
    -moz-transition: all 300ms ease 0s;
}

.gpuChoose .col-md-6:hover .borderImg {
    -webkit-box-shadow: 0 0 5px #fff, -5px 0 30px #6f7dfa75, 5px 0 30px #67f3f41a;
    box-shadow: 0 0 5px #fff, -5px 0 30px #6f7dfa75, 5px 0 30px #67f3f41a;
}

.borderImg img {
    border-radius: 20px !important;
    width: 100%;
}

.gpuContent {
    max-width: 350px;
    margin: 0 auto;
}

.gpuContent h3 {
    font-size: 22px;
    color: #6ca4f8;
    font-weight: 600;
}

.iconStyle {
    margin: 0;
    padding: 0;
    list-style: none;
}

.iconStyle li {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

.iconStyle li:last-child {
    margin-bottom: 0;
}

.iconStyle li:before {
    content: "";
    background: url("../images/check-icon.6d1c68904c72.svg") no-repeat;
    background-size: contain;
    width: 23px;
    height: 23px;
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
}

/********* How This Works ********/

.workPoints-details img {
    width: 130px;
}

.worksPoints {
    margin-left: 50px;
    position: relative;
}

.workPoints-details {
    gap: 30px;
    margin-bottom: 50px;
    background: #0d1735;
    position: relative;
}

.worksPoints .workPoints-details:last-child {
    margin-bottom: 0;
}

.workPoints-details .pointsInfo h3 {
    font-size: 20px;
    color: #6ca4f8;
    font-weight: 600;
}

.worksPoints:before {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    border-left: 2px dashed #1271e4;
    position: absolute;
    left: 65px;
}

/********* Get Started ********/

.getStarted {
    background: url("../images/get-started-bg.84aeead0d77c.jpg") no-repeat;
    padding: 150px 0;
    background-size: cover;
    background-position: center;
}

.getStarted-content {
    max-width: 800px;
    margin: 0 auto;
}

.getStarted-content h2 {
    font-size: 60px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
}

.getStarted-content p {
    font-size: 18px;
}

.downLine2:after {
    content: "";
    background: url("../images/down-stroke2.c8dcbd7e1671.svg") no-repeat;
    width: 290px;
    height: 17px;
    background-size: contain;
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

/********* Footer ********/

.site-footer {
    padding: 60px 0;
}

.footerLogo {
    width: 200px;
}

.footerLinks,
.socialLinks,
.termsLinks {
    padding: 0;
}

.footerLinks li {
    display: inline-block;
    margin: 0 20px;
}

.footerLinks li a {
    color: #fff;
    text-decoration: none;
}

.socialLinks li {
    display: inline-block;
    margin: 0 5px;
}

.socialLinks li a {
    display: block;
}

.socialLinks li img {
    width: 50px;
}

.footerLinks li a:hover {
    color: #6f7dfa;
}

.main-footer p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.termsLinks li {
    display: inline-block;
    padding: 0 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.6);
    line-height: 1;
}

.termsLinks li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.termsLinks li a:hover {
    color: #fff;
}

.termsLinks li:last-child {
    border: none;
}

/********* Book Appointment Popup ********/

#bookAppointment .modal-dialog {
    max-width: 750px;
}

#bookAppointment .modal-content {
    background-color: #070e23;
    border-radius: 20px;
    padding: 50px;
    -webkit-box-shadow: 0 0 5px #fff, -5px 0 30px #6f7dfa75, 5px 0 30px #67f3f41a;
    box-shadow: 0 0 5px #fff, -5px 0 30px #6f7dfa75, 5px 0 30px #67f3f41a;
}

#bookAppointment .modal-content .modal-body {
    padding: 0;
}

.bookAppointment-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.bookAppointment-content p {
    font-size: 18px;
    line-height: 1.7;
}

.bookAppointment-content form .form-control {
    background-color: #0b1531;
    border-color: #737ea0;
    border-radius: 10px;
    padding: 15px 25px;
    font-size: 16px;
    color: #566692;
    font-family: "Poppins", sans-serif !important;
}

.form-control:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.bookAppointment-content form .form-control::-webkit-input-placeholder {
    color: #566692;
}

.bookAppointment-content form .form-control::-moz-placeholder {
    color: #566692;
}

.bookAppointment-content form .form-control:-ms-input-placeholder {
    color: #566692;
}

.bookAppointment-content form .form-control::-ms-input-placeholder {
    color: #566692;
}

.bookAppointment-content form .form-control::placeholder {
    color: #566692;
}

#bookAppointment .btn-close {
    background: url("../images/cross-icon.f58859d28cfa.svg") no-repeat;
    position: absolute;
    right: 30px;
    top: 30px;
    opacity: 1;
}

.modal-backdrop {
    background-color: #0c1633 !important;
    opacity: 0.9 !important;
}

/********* Request More Info ********/

.requestQuote-appointment {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.requestQuote-appointment:before {
    content: "";
    display: block;
    width: 50%;
    height: 100%;
    background: #0d1735;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

.requestQuoteForm {
    padding-right: 70px;
}

.bookAppTab {
    padding: 0 40px;
}

/********* Responsive ********/

@media (max-width:1600px) {
    .main-header .navbar {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .bannerContent h1 {
        font-size: 60px;
    }

    .bannerContent h4 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .bannerContent p {
        font-size: 18px;
    }

    .btn.mainBtn {
        font-size: 22px;
        line-height: 24px;
    }

    .btn.mainBtn span {
        font-size: 14px;
    }

    .chooseContent p {
        font-size: 15px;
    }

    .getStarted-content h2 {
        font-size: 55px;
    }
}

@media (max-width:1279px) {
    .main-header .navbar li.nav-item {
        margin-right: 15px;
    }

    .main-header .navbar .nav-link {
        padding: 5px;
    }

    .bannerContent h1 {
        font-size: 55px;
    }

    .pointsInfo p {
        font-size: 15px;
    }

    .getStarted-content h2 {
        font-size: 50px;
    }

    .getStarted {
        padding: 100px 0;
    }

    .site-footer {
        padding: 50px 0;
    }

    .downLine2::after {
        width: 240px;
    }

    .requestQuoteForm {
        padding-right: 30px;
    }
}

@media (max-width:992px) {
    .bannerContent h1 {
        font-size: 50px;
    }

    .bannerContent h4 {
        font-size: 18px;
    }

    .bannerContent p {
        font-size: 16px;
    }

    .homeBanner {
        padding: 130px 0 60px;
    }

    .ptb80 {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .titleWrapper h2 {
        font-size: 40px;
    }

    .titleWrapper p {
        font-size: 17px;
    }

    .getStarted {
        padding: 80px 0;
    }

    .getStarted-content h2 {
        font-size: 45px;
    }

    .site-footer {
        padding: 40px 0;
    }

    .footerLinks li {
        margin: 0 15px;
    }

    .socialLinks li img {
        width: 40px;
    }

    .termsLinks li {
        padding: 0 15px;
    }

    .worksPoints {
        margin-left: 0;
    }

    .downLine::after {
        width: 340px;
    }

    .downLine2::after {
        width: 220px;
        height: 13px;
    }

    .logoImg {
        width: 180px;
    }

    .main-header .navbar .container {
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    button.navbar-toggler {
        background-color: transparent;
        padding: 0;
        border: none;
        border-radius: 0;
    }

    button.navbar-toggler .navbar-toggler-icon {
        background: url("../images/hamburger-icon.ace80f2bcc6b.svg") no-repeat;
        width: 40px;
        height: 30px;
        background-size: contain;
    }

    button.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background: url("../images/hamburger-cross.0670443cc409.svg") no-repeat;
        width: 30px;
        height: 30px;
        background-size: contain;
    }

    .navbar-collapse {
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        top: 70px;
        background-color: #070e23;
    }

    .main-header .navbar li.nav-item {
        margin-right: 0;
    }

    .main-header .navbar .nav-link {
        padding: 0;
    }

    .main-header .navbar li.nav-item a {
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar-collapse .callUsHeader {
        display: none;
    }

    .requestQuote-appointment::before {
        content: none;
    }

    .requestQuoteForm {
        padding-right: 0;
    }

    .bookAppTab {
        padding: 0;
        margin-top: 50px;
    }
}

@media (max-width:767px) {

    .container,
    .main-header .navbar .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-header .navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .main-header .navbar li.nav-item a {
        padding: 15px 20px;
    }

    .logoImg {
        width: 170px;
    }

    .btn.mainBtn {
        padding: 15px 30px 11px;
    }

    .trustedTitle h4 {
        margin-bottom: 25px !important;
        font-size: 16px;
    }

    .titleWrapper h2 {
        font-size: 30px;
    }

    section .titleWrapper {
        margin-bottom: 30px !important;
    }

    .ptb80 {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .titleWrapper p,
    .getStarted-content p {
        font-size: 16px;
    }

    .workPoints-details img {
        width: 70px;
    }

    .workPoints-details {
        gap: 20px;
        margin-bottom: 20px;
    }

    .workPoints-details .pointsInfo h3 {
        font-size: 18px;
    }

    .pointsInfo p {
        font-size: 13px;
    }

    .worksPoints {
        margin-top: 30px;
    }

    .worksPoints::before {
        content: none;
    }

    .worksPoints .workPoints-details {
        -webkit-box-align: start !important;
        -ms-flex-align: start !important;
        align-items: start !important;
    }

    .main-footer p,
    .termsLinks li a,
    .footerLinks li a {
        font-size: 14px;
    }

    .footerLogo {
        width: 170px;
    }

    .footerLinks li {
        margin: 0 10px;
    }

    .bannerContent h1,
    .getStarted-content h2 {
        font-size: 36px;
    }

    .downLine2::after,
    .downLine::after {
        content: none;
    }

    .getStarted-content p {
        margin-bottom: 30px !important;
    }

    #bookAppointment .modal-content {
        padding: 30px 15px;
    }

    .bookAppointment-content h2 {
        font-size: 30px;
    }

    .bookAppointment-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .bookAppointment-content form .form-control {
        padding: 12px 20px;
    }

    #bookAppointment .btn-close {
        right: 15px;
        top: 15px;
    }

    .chooseContent {
        max-width: 300px;
        margin: 0 auto 40px;
    }

    .gpuChoose .borderImg {
        margin-bottom: 20px !important;
    }

    .iconStyle li {
        font-size: 16px;
    }

    .whyChoose .btnWrapper {
        margin-top: 0 !important;
    }

    .bannerContent h4 {
        font-size: 16px;
    }

    .bannerContent p {
        font-size: 14px;
    }

    .homeBanner {
        padding: 110px 0 60px;
    }

    .bookAppointment-content .qxCTlb {
        font-size: 18px;
        padding: 16px 30px;
    }
}

/* ********* Sign UP/Login/Reset/Google-GitHub login - Page Style ********* */
.signUp_formSection {
    padding: 150px 0 80px;
}

@media (max-width: 992px) {
    .signUp_formSection {
        padding: 130px 0 60px;
    }
}

@media (max-width: 767px) {
    .signUp_formSection {
        padding: 110px 0 60px;
    }
}

.accountForms_Wrapper form .form-control {
    background-color: #0b1531;
    border-color: #737ea0;
    border-radius: 10px;
    padding: 15px 25px;
    font-size: 16px;
    color: #566692;
    font-family: "Poppins", sans-serif !important;
}

.accountForms_Wrapper form .form-control::-webkit-input-placeholder {
    color: #566692;
}

.accountForms_Wrapper form .form-control::-moz-placeholder {
    color: #566692;
}

.accountForms_Wrapper form .form-control:-ms-input-placeholder {
    color: #566692;
}

.accountForms_Wrapper form .form-control::-ms-input-placeholder {
    color: #566692;
}

.accountForms_Wrapper form .form-control::placeholder {
    color: #566692;
}

@media (max-width: 767px) {
    .accountForms_Wrapper form .form-control {
        padding: 12px 20px;
    }
}

.formSection_outerBox .lineIn_accountForms {
    position: relative;
    height: 1px;
    width: 100%;
    margin: 45px 0;
    background-color: #566692;
}

.formSection_outerBox .lineIn_accountForms::before {
    content: 'OR Login with:';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #0d1735;
    color: #8b8b8b;
    padding: 0 10px;
}

.formSection_outerBox .thirdParty_Btns img {
    width: 30px;
}

.loginPaswordHint ul li {
    font-size: 14px !important;
}

.loginPaswordHint ul li::before {
    content: "*";
    color: red;
    margin-right: 5px;
}

.signUp_formSection a.link.signup-link:hover {
    text-decoration: none !important;
}

.form-check label,
.form-check-input {
    cursor: pointer;
}

/* ********* Pricing - Page Style ********* */

.pricingForAllSection {
    padding: 150px 0 80px;
}

@media (max-width: 992px) {
    .pricingForAllSection {
        padding: 130px 0 60px;
    }
}

@media (max-width: 767px) {
    .pricingForAllSection {
        padding: 110px 0 60px;
    }
}

.max-1200 {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing_table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0;
    text-align: center;
    -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #121519;
    color: #f9fafb;
}

.pricing_table th {
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1.2;
    font-weight: bold;
    padding: 20px 10px;
    background-color: #1d2e4a;
    border: 1px solid #566692;
    color: #6ca4f8;
}

.pricing_table td {
    border: 1px solid #566692;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: normal;
    padding: 20px 10px;
}

.pricing_table tr:nth-child(even) {
    background-color: #111926;
}

.pricing_table tr:hover {
    background-color: #17253b;
}

.tech_speciContent {
    padding: 30px;
    border-radius: 20px !important;
    border: double 1px transparent;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#0d1735), to(#0d1735)), radial-gradient(circle at bottom, #6f7dfa, #67f3f4);
    background-image: -o-linear-gradient(#0d1735, #0d1735), -o-radial-gradient(bottom, circle, #6f7dfa, #67f3f4);
    background-image: linear-gradient(#0d1735, #0d1735), radial-gradient(circle at bottom, #6f7dfa, #67f3f4);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.tech_speciContent:hover {
    box-shadow: 0 0 5px #fff, -5px 0 30px #6f7dfa75, 5px 0 30px #67f3f41a;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.tech_speciContent img {
    width: 100%;
    height: 90px;
}

.pricing_table img.check-mark {
    width: 27px;
    height: auto;
}

@media (max-width: 1199px) {
    .pricing_table th {
        font-size: 18px;
    }

    .pricing_table td {
        font-size: 16px;
    }

    .pricing_table img.check-mark {
        width: 20px;
    }
}

@media (max-width: 767px) {
    .pricing_table th {
        font-size: 14px;
        padding: 10px 5px;
    }

    .pricing_table td {
        font-size: 13px;
        padding: 10px 5px;
    }

    .pricing_table img.check-mark {
        width: 18px;
    }
}

/* Forum Styling Improvements */
.forum-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.forum-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 2rem;
    margin-bottom: 2rem;
}

.forum-header h1 {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.forum-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.forum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5);
}

.forum-card .card-header {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
    padding: 1.5rem;
}

.forum-card .card-header h5,
.forum-card .card-header h6 {
    color: white;
    margin: 0;
    font-weight: 600;
}

.forum-card .card-body {
    padding: 1.5rem;
}

/* Forum Post Styling */
.forum-post-item {
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.forum-post-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.forum-post-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forum-post-title:hover {
    color: #667eea;
    text-decoration: none;
}

.forum-post-meta {
    font-size: 0.875rem;
    color: #718096;
    margin-top: 0.5rem;
}

.forum-post-meta .separator {
    margin: 0 0.5rem;
    opacity: 0.6;
}

/* Forum Categories Sidebar */
.forum-category-list {
    list-style: none;
    padding: 0;
}

.forum-category-item {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forum-category-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.forum-category-link {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    flex-grow: 1;
}

.forum-category-link:hover {
    color: #667eea;
    text-decoration: none;
}

.forum-category-count {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Forum Tags */
.forum-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin: 0.125rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.forum-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

/* Forum Buttons */
.forum-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.forum-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.forum-btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.forum-btn-outline:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

/* Forum Form Styling */
.forum-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 2rem;
}

.forum-form-control {
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.forum-form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: white;
}

/* Forum Comments */
.forum-comment {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.forum-comment:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.forum-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.forum-avatar.avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
}

.forum-avatar.avatar-md {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
}

/* Forum Statistics */
.forum-stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.forum-stat-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.forum-stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.forum-stat-label {
    font-size: 0.875rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Forum Breadcrumb */
.forum-breadcrumb {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
}

.forum-breadcrumb .breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}

.forum-breadcrumb .breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.forum-breadcrumb .breadcrumb-item a:hover {
    color: #764ba2;
}

.forum-breadcrumb .breadcrumb-item.active {
    color: #2d3748;
    font-weight: 600;
}

/* Forum Search */
.forum-search-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Forum Pagination */
.forum-pagination {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 2rem;
}

.forum-pagination .page-link {
    border: none;
    background: transparent;
    color: #667eea;
    font-weight: 500;
    border-radius: 8px;
    margin: 0 0.25rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.forum-pagination .page-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #764ba2;
}

.forum-pagination .page-item.active .page-link {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .forum-container {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .forum-header {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .forum-card .card-header,
    .forum-card .card-body {
        padding: 1rem;
    }

    .forum-post-item {
        padding: 1rem;
    }

    .forum-form-container {
        padding: 1.5rem;
    }
}

/* Animation Enhancements */
.forum-fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.forum-slide-in {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Forum Empty State */
.forum-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    margin: 2rem 0;
}

.forum-empty-state i {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.forum-empty-state h5 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.forum-empty-state p {
    color: #718096;
    margin-bottom: 1.5rem;
}

/* Additional CSS classes to replace inline styles */
.forum-post-title-white {
    color: white !important;
}

.forum-post-content-styled {
    font-size: 1.1rem;
    line-height: 1.6;
}

.forum-gradient-title {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.forum-related-post-item {
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.forum-related-post-item:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Command Execution Styles for Chat Panel - Enhanced Modern Terminal Design */
.command-approval {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.command-approval::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4ec9b0, #3b82f6, #8b5cf6);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.command-approval .approval-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #f0f0f0;
}

.command-approval .risk-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.command-approval .risk-badge.low {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.command-approval .risk-badge.medium {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #1a1a2e;
}

.command-approval .risk-badge.high {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.command-approval .command-info {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 14px;
    border: 1px solid rgba(78, 201, 176, 0.3);
}

.command-approval .command-info code {
    color: #4ec9b0;
    background: rgba(78, 201, 176, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.command-approval .approval-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
}

/* Modern button styles for approval actions */
.approval-btn {
    --approval-btn-bg: #1a2030;
    --approval-btn-border: #2d3548;
    --approval-btn-text: #ffffff;
    --approval-btn-hover-bg: #252b3a;
    border: 1px solid var(--approval-btn-border);
    padding: clamp(8px, 1.2vw, 10px) clamp(12px, 1.8vw, 16px);
    border-radius: clamp(8px, 1.2vw, 10px);
    font-weight: 500;
    font-size: clamp(9px, 1.2vw, 10px);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px, 1.2vw, 10px);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.2px;
    width: 100%;
    height: clamp(28px, 3.5vw, 30px);
    background: var(--approval-btn-bg);
    color: var(--approval-btn-text);
}

.dark .approval-btn {
    --approval-btn-bg: #1a2030;
    --approval-btn-border: #2d3548;
    --approval-btn-text: #ffffff;
    --approval-btn-hover-bg: #252b3a;
}

.approval-btn:hover:not(:disabled) {
    background: var(--approval-btn-hover-bg);
    transform: translateY(-1px);
}

.approval-btn:active:not(:disabled) {
    transform: translateY(0);
}

.approval-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.approval-btn:disabled {
    --approval-btn-bg: #9ca3af;
    --approval-btn-border: #d1d5db;
    --approval-btn-text: #ffffff;
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    pointer-events: none;
    background: var(--approval-btn-bg) !important;
    border-color: var(--approval-btn-border) !important;
}

.dark .approval-btn:disabled {
    --approval-btn-bg: #4b5563;
    --approval-btn-border: #6b7280;
}

/* Primary approval button (Approve & Execute) */
.approval-btn-primary {
    --approval-btn-bg: #3b82f6;
    --approval-btn-border: #3b82f6;
    --approval-btn-text: #ffffff;
    --approval-btn-hover-bg: #2563eb;
    background: var(--approval-btn-bg);
    border-color: var(--approval-btn-border);
    color: var(--approval-btn-text);
}

.dark .approval-btn-primary {
    --approval-btn-bg: #1a2030;
    --approval-btn-border: #2d3548;
    --approval-btn-hover-bg: #252b3a;
}

.approval-btn-primary:hover:not(:disabled) {
    background: var(--approval-btn-hover-bg);
    border-color: var(--approval-btn-hover-bg);
}

/* Secondary approval button (Always Approve) */
.approval-btn-secondary {
    --approval-btn-bg: #64748b;
    --approval-btn-border: #64748b;
    --approval-btn-text: #ffffff;
    --approval-btn-hover-bg: #475569;
    background: var(--approval-btn-bg);
    border-color: var(--approval-btn-border);
    color: var(--approval-btn-text);
}

.dark .approval-btn-secondary {
    --approval-btn-bg: #1a2030;
    --approval-btn-border: #2d3548;
    --approval-btn-hover-bg: #252b3a;
}

.approval-btn-secondary:hover:not(:disabled) {
    background: var(--approval-btn-hover-bg);
    border-color: var(--approval-btn-hover-bg);
}

/* Cancel button */
.approval-btn-cancel {
    --approval-btn-bg: #ef4444;
    --approval-btn-border: #ef4444;
    --approval-btn-text: #ffffff;
    --approval-btn-hover-bg: #dc2626;
    background: var(--approval-btn-bg);
    border-color: var(--approval-btn-border);
    color: var(--approval-btn-text);
}

.dark .approval-btn-cancel {
    --approval-btn-bg: #1a2030;
    --approval-btn-border: #2d3548;
    --approval-btn-hover-bg: #252b3a;
}

.approval-btn-cancel:hover:not(:disabled) {
    background: var(--approval-btn-hover-bg);
    border-color: var(--approval-btn-hover-bg);
}

/* Legacy success button (for compatibility) */
.approval-btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    min-width: 160px;
    justify-content: center;
}

.approval-btn-success:hover:not(:disabled) {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.dark .approval-btn-success {
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.dark .approval-btn-success:hover:not(:disabled) {
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.5);
}

/* Disabled state for approval buttons after clicking */
.approval-btn-disabled {
    background: #9ca3af !important;
    border-color: #d1d5db !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    pointer-events: none;
}

.dark .approval-btn-disabled {
    background: #4b5563 !important;
    border-color: #6b7280 !important;
}

/* Button content wrapper */
.approval-btn-content {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.9vw, 8px);
}

.approval-btn-icon {
    width: clamp(12px, 1.5vw, 14px);
    height: clamp(12px, 1.5vw, 14px);
    flex-shrink: 0;
}

.approval-btn-key {
    font-weight: 600;
    font-size: clamp(9px, 1.1vw, 10px);
    color: var(--approval-container-text-muted);
}

.dark .approval-btn-key {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .approval-btn {
        width: 100%;
        justify-content: center;
    }

    .command-approval .approval-actions {
        flex-direction: column;
    }
}

/* Figma Design - Approval Actions */
.command-approval-figma {
    display: flex;
    justify-content: center;
    margin: clamp(16px, 2vw, 20px) 0;
}

.approval-container-figma {
    --approval-container-bg: #ffffff;
    --approval-container-border: #e2e8f0;
    --approval-container-text: #1e293b;
    --approval-container-text-muted: #64748b;
    --approval-container-text-subtle: #94a3b8;
    --approval-divider: #e2e8f0;
    --approval-command-bg: #f8fafc;
    --approval-command-border: #cbd5e1;
    --approval-command-text: #0f766e;
    --approval-badge-bg: #f1f5f9;
    --approval-badge-border: #cbd5e1;
    --approval-badge-text: #475569;
    width: 335px;
    max-width: 100%;
    background: var(--approval-container-bg);
    border: 1px solid var(--approval-container-border);
    border-radius: 10px;
    padding: clamp(10px, 1.5vw, 12px);
    box-sizing: border-box;
}

.dark .approval-container-figma {
    --approval-container-bg: #171d30;
    --approval-container-border: #2d3548;
    --approval-container-text: rgba(255, 255, 255, 0.9);
    --approval-container-text-muted: rgba(255, 255, 255, 0.5);
    --approval-container-text-subtle: rgba(255, 255, 255, 0.3);
    --approval-divider: #495164;
    --approval-command-bg: rgba(0, 0, 0, 0.4);
    --approval-command-border: rgba(78, 201, 176, 0.3);
    --approval-command-text: #4ec9b0;
    --approval-badge-bg: #182037;
    --approval-badge-border: #495164;
    --approval-badge-text: #eaedfc;
    background: var(--approval-container-bg);
    border-color: var(--approval-container-border);
}

.approval-title-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(12px, 1.8vw, 15px);
    padding-bottom: clamp(8px, 1.2vw, 10px);
    border-bottom: 1px solid var(--approval-divider);
}

.approval-title-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(11px, 1.3vw, 12px);
    color: var(--approval-container-text);
    line-height: 21.068px;
}

.approval-chevron {
    color: var(--approval-container-text-muted);
    flex-shrink: 0;
}

.command-request-section {
    margin-bottom: clamp(10px, 1.5vw, 12px);
}

.command-request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(6px, 0.9vw, 8px);
}

.command-request-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(9px, 1.2vw, 10px);
    color: var(--approval-container-text-muted);
    line-height: 21.068px;
}

.command-request-timestamp {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(9px, 1.2vw, 10px);
    color: var(--approval-container-text-muted);
    line-height: 21.068px;
}

.command-request-box {
    background: var(--approval-command-bg);
    border: 1px solid var(--approval-command-border);
    border-radius: 8px;
    padding: clamp(10px, 1.5vw, 12px);
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    font-size: clamp(12px, 1.3vw, 13px);
    line-height: 1.5;
}

.command-text {
    color: var(--approval-command-text);
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: block;
    word-break: break-all;
    white-space: pre-wrap;
}

.action-required-section {
    margin-top: clamp(10px, 1.5vw, 12px);
}

.approval-header-figma {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(8px, 1.2vw, 10px);
}

.action-required-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(9px, 1.2vw, 10px);
    color: var(--approval-container-text-muted);
    line-height: 21.068px;
}

.pending-badge {
    --pending-badge-bg: #f1f5f9;
    --pending-badge-border: #cbd5e1;
    --pending-badge-text: #475569;
    background: var(--pending-badge-bg, var(--approval-badge-bg));
    border: 1px solid var(--pending-badge-border, var(--approval-badge-border));
    border-radius: 10px;
    padding: 2px clamp(8px, 1.2vw, 10px);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(9px, 1.2vw, 10px);
    color: var(--pending-badge-text, var(--approval-badge-text));
    line-height: 21.068px;
}

.dark .pending-badge {
    --pending-badge-bg: #182037;
    --pending-badge-border: #495164;
    --pending-badge-text: #eaedfc;
}

.approval-actions-figma {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.2vw, 10px);
    margin-top: clamp(8px, 1.2vw, 10px);
}

.approval-footer-figma {
    margin-top: clamp(8px, 1.2vw, 10px);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: var(--approval-divider);
    margin-bottom: clamp(6px, 0.9vw, 8px);
}

.terminal-ready {
    display: flex;
    align-items: center;
    gap: clamp(5px, 0.8vw, 6px);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(9px, 1.2vw, 10px);
    color: var(--approval-container-text-subtle);
    line-height: 21.068px;
}

.terminal-ready svg {
    flex-shrink: 0;
    fill: var(--approval-container-text-subtle);
}

/* Responsive adjustments for Figma design */
@media (max-width: 640px) {
    .approval-container-figma {
        width: 100%;
        max-width: 335px;
    }
}

.command-execution {
    background: linear-gradient(to right, rgba(78, 201, 176, 0.1), transparent);
    border-left: 3px solid #4ec9b0;
    padding: 15px 20px;
    margin: 15px 0;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    border-radius: 0 8px 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.command-execution:hover {
    background: linear-gradient(to right, rgba(78, 201, 176, 0.2), transparent);
    transform: translateX(2px);
}

.command-execution::before {
    content: '$';
    position: absolute;
    left: 20px;
    color: #4ec9b0;
    font-weight: bold;
}

.command-execution code {
    color: #4ec9b0;
    margin-left: 15px;
    font-size: 14px;
}

.command-status {
    background: rgba(45, 45, 45, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.command-status:hover {
    background: rgba(45, 45, 45, 0.8);
    transform: scale(1.01);
}

.command-status .status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.command-status.pending .status-badge {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.command-status.running .status-badge {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    animation: pulse 1s ease-in-out infinite;
}

.command-status.completed .status-badge {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.command-status.failed .status-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.command-status.queued .status-badge {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

.command-output {
    background: #0d1117;
    color: #58a6ff;
    padding: 12px;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid rgba(88, 166, 255, 0.3);
    position: relative;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 400px;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    width: 100%;
    box-sizing: border-box;
}

.command-output-header {
    background: linear-gradient(to right, #161b22, #0d1117);
    padding: 10px 15px;
    border-bottom: 1px solid rgba(88, 166, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.command-output-title {
    color: #58a6ff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.command-output-actions {
    display: flex;
    gap: 10px;
}

.command-output-action {
    background: transparent;
    border: none;
    color: #58a6ff;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 12px;
}

.command-output-action:hover {
    background: rgba(88, 166, 255, 0.2);
}

.command-output-body {
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    width: 100%;
    box-sizing: border-box;
}

.command-output-body.collapsed {
    max-height: 100px;
    overflow: hidden;
}

.command-output-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.command-output-body::-webkit-scrollbar-track {
    background: #0d1117;
}

.command-output-body::-webkit-scrollbar-thumb {
    background: rgba(88, 166, 255, 0.3);
    border-radius: 4px;
}

.command-output-body::-webkit-scrollbar-thumb:hover {
    background: rgba(88, 166, 255, 0.5);
}

.command-output .output-line {
    margin: 2px 0;
    line-height: 1.5;
    position: relative;
    padding-left: 25px;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.command-output .output-line::before {
    content: attr(data-line-number);
    position: absolute;
    left: 0;
    color: #4b5563;
    font-size: 10px;
    width: 20px;
    text-align: right;
}

.command-output .output-line.stdout {
    color: #c9d1d9;
}

.command-output .output-line.stderr {
    color: #ff7b72;
    background: rgba(255, 123, 114, 0.1);
    padding: 2px 4px 2px 25px;
    border-radius: 3px;
}

.command-complete {
    --command-complete-bg: #f8fafc;
    --command-complete-border: #e2e8f0;
    --command-complete-shadow: rgba(0, 0, 0, 0.08);
    --command-complete-text: #1e293b;
    background: var(--command-complete-bg);
    border-radius: 12px;
    padding: clamp(16px, 2vw, 20px);
    margin: clamp(12px, 1.8vw, 15px) 0;
    position: relative;
    overflow: visible;
    box-shadow: 0 2px 8px var(--command-complete-shadow);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--command-complete-border);
}

.dark .command-complete {
    --command-complete-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --command-complete-border: rgba(255, 255, 255, 0.1);
    --command-complete-shadow: rgba(0, 0, 0, 0.3);
    --command-complete-text: #f0f0f0;
    background: var(--command-complete-bg);
    border-color: var(--command-complete-border);
    box-shadow: 0 4px 12px var(--command-complete-shadow);
}

.command-complete .completion-header {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 15px);
    margin-bottom: clamp(15px, 2vw, 20px);
    font-weight: 600;
    color: var(--command-complete-text);
}

.command-complete .status-icon {
    flex-shrink: 0;
}

.command-complete .status-icon-success {
    color: #22c55e;
}

.dark .command-complete .status-icon-success {
    color: #4ade80;
}

.command-complete .status-icon-error {
    color: #ef4444;
}

.dark .command-complete .status-icon-error {
    color: #f87171;
}

.command-complete .status-badge {
    font-size: clamp(12px, 1.3vw, 14px);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.command-complete .exit-code {
    font-size: clamp(12px, 1.3vw, 14px);
    font-weight: 500;
}

.command-complete.completed {
    --status-color: #22c55e;
    border-left: 4px solid var(--status-color);
}

.command-complete.completed .exit-code {
    color: var(--status-color);
}

.dark .command-complete.completed .exit-code {
    color: #4ade80;
}

.command-complete.completed::before {
    content: '✓';
    position: absolute;
    top: clamp(16px, 2vw, 20px);
    right: clamp(16px, 2vw, 20px);
    color: var(--status-color);
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: bold;
}

.dark .command-complete.completed::before {
    color: #4ade80;
}

.command-complete.failed {
    --status-color: #ef4444;
    border-left: 4px solid var(--status-color);
}

.command-complete.failed .exit-code {
    color: var(--status-color);
}

.dark .command-complete.failed .exit-code {
    color: #f87171;
}

.command-complete.failed::before {
    content: '✕';
    position: absolute;
    top: clamp(16px, 2vw, 20px);
    right: clamp(16px, 2vw, 20px);
    color: var(--status-color);
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: bold;
}

.dark .command-complete.failed::before {
    color: #f87171;
}

.command-complete .output-section {
    margin-top: clamp(12px, 1.8vw, 15px);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.command-complete .output-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(8px, 1.2vw, 10px);
}

.command-complete .output-section-header strong {
    font-size: clamp(13px, 1.4vw, 14px);
    font-weight: 600;
}

.command-complete .output-section-header strong.output-label {
    color: #3b82f6;
}

.dark .command-complete .output-section-header strong.output-label {
    color: #60a5fa;
}

.command-complete .output-section-header strong.error-label {
    color: #ef4444;
}

.dark .command-complete .output-section-header strong.error-label {
    color: #f87171;
}

.command-complete .command-output-action {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: clamp(4px, 0.6vw, 6px) clamp(8px, 1.2vw, 10px);
    border-radius: 4px;
    font-size: clamp(11px, 1.2vw, 12px);
    font-weight: 500;
    transition: background-color 0.15s ease;
}

.command-complete .command-output-action.output-action {
    color: #3b82f6;
}

.command-complete .command-output-action.output-action:hover {
    background: rgba(59, 130, 246, 0.1);
}

.dark .command-complete .command-output-action.output-action {
    color: #60a5fa;
}

.dark .command-complete .command-output-action.output-action:hover {
    background: rgba(96, 165, 250, 0.15);
}

.command-complete .command-output-action.error-action {
    color: #ef4444;
}

.command-complete .command-output-action.error-action:hover {
    background: rgba(239, 68, 68, 0.1);
}

.dark .command-complete .command-output-action.error-action {
    color: #f87171;
}

.dark .command-complete .command-output-action.error-action:hover {
    background: rgba(248, 113, 113, 0.15);
}

.command-complete pre {
    --pre-bg: #f1f5f9;
    --pre-text: #1e293b;
    --pre-border: #cbd5e1;
    --pre-scrollbar: #94a3b8;
    background: var(--pre-bg);
    color: var(--pre-text);
    padding: clamp(12px, 1.8vw, 15px);
    border-radius: 8px;
    font-size: clamp(12px, 1.3vw, 13px);
    line-height: 1.5;
    max-height: clamp(300px, 40vh, 500px);
    overflow-y: auto;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    border: 1px solid var(--pre-border);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    scrollbar-width: thin;
    scrollbar-color: var(--pre-scrollbar) var(--pre-bg);
}

.dark .command-complete pre {
    --pre-bg: #0d1117;
    --pre-text: #c9d1d9;
    --pre-border: rgba(88, 166, 255, 0.2);
    --pre-scrollbar: #58a6ff;
    background: var(--pre-bg);
    color: var(--pre-text);
    border-color: var(--pre-border);
    scrollbar-color: var(--pre-scrollbar) var(--pre-bg);
}

.command-complete .command-error {
    --error-text: #dc2626;
    --error-bg: rgba(239, 68, 68, 0.1);
    --error-border: rgba(239, 68, 68, 0.2);
    --error-scrollbar: #ef4444;
    color: var(--error-text);
    background: var(--error-bg);
    padding: clamp(12px, 1.8vw, 15px);
    border-radius: 8px;
    margin-top: clamp(8px, 1.2vw, 10px);
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-height: clamp(300px, 40vh, 500px);
    overflow-y: auto;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    font-size: clamp(12px, 1.3vw, 13px);
    line-height: 1.5;
    border: 1px solid var(--error-border);
    scrollbar-width: thin;
    scrollbar-color: var(--error-scrollbar) var(--error-bg);
}

.dark .command-complete .command-error {
    --error-text: #f87171;
    --error-bg: rgba(255, 123, 114, 0.1);
    --error-border: rgba(255, 123, 114, 0.2);
    --error-scrollbar: #ff7b72;
    color: var(--error-text);
    background: var(--error-bg);
    border-color: var(--error-border);
    scrollbar-color: var(--error-scrollbar) var(--error-bg);
}

.command-cancelled {
    background: linear-gradient(to right, rgba(251, 191, 36, 0.1), transparent);
    border-left: 3px solid #fbbf24;
    padding: 12px 18px;
    margin: 12px 0;
    color: #fbbf24;
    border-radius: 0 8px 8px 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Chat message layout improvements */
.message {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.message-content {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.message-bubble {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.6;
}

.message-bubble br {
    line-height: 1.6;
}

.message-bubble br + br {
    margin-top: 0.5em;
}

/* Ensure all system messages fit properly */
.message.system {
    width: 100%;
}

.message.system .message-content {
    width: 100%;
}

/* Chat messages container */
#chatMessages {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 0 10px;
}

/* Ensure all chat content respects container width */
#chatMessages > * {
    max-width: 100%;
    box-sizing: border-box;
}

/* ================================
   Theme-Aware Utility Classes
   For dark/light mode support
   ================================ */

/* Button States */
.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-enabled {
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
}

/* Status Indicators */
.status-connected {
    color: #10b981; /* emerald-500 */
}

.dark .status-connected {
    color: #34d399; /* emerald-400 */
}

.status-disconnected {
    color: #6b7280; /* gray-500 */
}

.dark .status-disconnected {
    color: #9ca3af; /* gray-400 */
}

.status-error {
    color: #ef4444; /* red-500 */
}

.dark .status-error {
    color: #f87171; /* red-400 */
}

.status-success {
    color: #10b981; /* emerald-500 */
}

.dark .status-success {
    color: #34d399; /* emerald-400 */
}

.status-warning {
    color: #f59e0b; /* amber-500 */
}

.dark .status-warning {
    color: #fbbf24; /* amber-400 */
}

.status-info {
    color: #3b82f6; /* blue-500 */
}

.dark .status-info {
    color: #60a5fa; /* blue-400 */
}

/* Terminal Output Styles */
.terminal-stdout-text {
    color: #1f2937; /* gray-800 */
}

.dark .terminal-stdout-text {
    color: #e5e7eb; /* gray-200 */
}

.terminal-stderr-text {
    color: #ef4444; /* red-500 */
    background-color: rgba(239, 68, 68, 0.1);
}

.dark .terminal-stderr-text {
    color: #f87171; /* red-400 */
    background-color: rgba(248, 113, 113, 0.1);
}

/* Copy Button Feedback */
.copy-feedback-success {
    color: #10b981; /* emerald-500 */
    background-color: rgba(16, 185, 129, 0.4);
}

.dark .copy-feedback-success {
    color: #34d399; /* emerald-400 */
    background-color: rgba(52, 211, 153, 0.4);
}

/* Modal/Overlay Styles */
.modal-overlay-bg {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

.dark .modal-overlay-bg {
    background-color: rgba(0, 0, 0, 0.9);
}

/* Cursor States */
.cursor-grabbing {
    cursor: grabbing;
}

.cursor-grab {
    cursor: grab;
}

/* Hover States */
.hover-highlight:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dark .hover-highlight:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Monitor Metric Colors */
.metric-download {
    color: #059669; /* emerald-600 */
}

.dark .metric-download {
    color: #34d399; /* emerald-400 */
}

.metric-upload {
    color: #2563eb; /* blue-600 */
}

.dark .metric-upload {
    color: #60a5fa; /* blue-400 */
}

.metric-sent {
    color: #9333ea; /* purple-600 */
}

.dark .metric-sent {
    color: #a855f7; /* purple-400 */
}

.metric-received {
    color: #0891b2; /* cyan-600 */
}

.dark .metric-received {
    color: #22d3ee; /* cyan-400 */
}

.metric-latency {
    color: #10b981; /* emerald-500 */
}

.dark .metric-latency {
    color: #34d399; /* emerald-400 */
}

.metric-link-speed {
    color: #3b82f6; /* blue-500 */
}

.dark .metric-link-speed {
    color: #60a5fa; /* blue-400 */
}

.metric-packet-loss {
    color: #f59e0b; /* amber-500 */
}

.dark .metric-packet-loss {
    color: #fbbf24; /* amber-400 */
}

.metric-network-status {
    color: #10b981; /* emerald-500 */
}

.dark .metric-network-status {
    color: #34d399; /* emerald-400 */
}

.metric-active-interfaces {
    color: #8b5cf6; /* violet-500 */
}

.dark .metric-active-interfaces {
    color: #a78bfa; /* violet-400 */
}

.metric-connections {
    color: #3b82f6; /* blue-500 */
}

.dark .metric-connections {
    color: #60a5fa; /* blue-400 */
}

.metric-monitor-mode {
    color: #06b6d4; /* cyan-500 */
}

.dark .metric-monitor-mode {
    color: #22d3ee; /* cyan-400 */
}

.metric-dropped-packets {
    color: #10b981; /* emerald-500 */
}

.dark .metric-dropped-packets {
    color: #34d399; /* emerald-400 */
}

/* Dropdown Theme Styles */
.dropdown-option-themed {
    background-color: #ffffff;
    color: #0f172a;
}

.dark .dropdown-option-themed {
    background-color: #131d32;
    color: #cbd5e1;
}

/* Server Warning Colors */
.server-warning-text {
    color: #d97706; /* amber-600 */
}

.dark .server-warning-text {
    color: #fbbf24; /* amber-400 */
}

/* Terminal Label Colors */
.terminal-label-teal {
    color: #4ec9b0;
}

.dark .terminal-label-teal {
    color: #5ed4bb;
}

.terminal-label-muted {
    color: #6b7280; /* gray-500 */
}

.dark .terminal-label-muted {
    color: #9ca3af; /* gray-400 */
}

/* Connection State Colors */
.connection-error {
    color: #f56565;
}

.dark .connection-error {
    color: #fc8181;
}

.connection-active {
    color: #667eea;
}

.dark .connection-active {
    color: #818cf8;
}

/* Error Dialog Styles */
.error-text {
    color: #f56565;
}

.dark .error-text {
    color: #fc8181;
}

.error-bg {
    background-color: rgba(245, 101, 101, 0.1);
}

.dark .error-bg {
    background-color: rgba(252, 129, 129, 0.1);
}

/* Modal Background Styles */
.modal-content-bg {
    background-color: #1a202c;
}

.dark .modal-content-bg {
    background-color: #0f172a;
}

.modal-input-bg {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark .modal-input-bg {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Text Color Utilities */
.text-muted-light {
    color: #a0aec0;
}

.dark .text-muted-light {
    color: #94a3b8;
}

.text-accent {
    color: #667eea;
}

.dark .text-accent {
    color: #818cf8;
}

/* Approval UI Colors */
.approval-bg {
    background-color: #182037;
}

.dark .approval-bg {
    background-color: #0f172a;
}

.approval-border {
    border-color: #495164;
}

.dark .approval-border {
    border-color: #334155;
}

.approval-text {
    color: #eaedfc;
}

.dark .approval-text {
    color: #f1f5f9;
}

/* Output Highlight Colors */
.highlight-blue {
    color: #58a6ff;
}

.dark .highlight-blue {
    color: #7dd3fc;
}

.highlight-red {
    color: #ff7b72;
}

.dark .highlight-red {
    color: #fca5a5;
}

/* Output Container Backgrounds */
.output-container-bg {
    background-color: #0d1117;
}

.dark .output-container-bg {
    background-color: #020617;
}

.output-header-bg {
    background-color: #22272e;
}

.dark .output-header-bg {
    background-color: #1e293b;
}

/* Chat Input Theme Styles */
.chat-input-themed {
    background-color: #f8fafc; /* slate-50 */
    color: #0f172a; /* slate-900 */
    border-color: #cbd5e1; /* slate-300 */
}

.chat-input-themed::placeholder {
    color: #94a3b8; /* slate-400 */
    opacity: 0.7;
}

.dark .chat-input-themed {
    background-color: #131c2e;
    color: #ffffff;
    border-color: #1e293b; /* slate-800 */
}

.dark .chat-input-themed::placeholder {
    color: #64748b; /* slate-500 */
    opacity: 0.5;
}

/* Chat Send Button Theme Styles */
.chat-send-btn-themed {
    background-color: #3463b7;
    color: #ffffff;
}

.chat-send-btn-themed:hover:not(:disabled) {
    background-color: #2952a3;
}

.dark .chat-send-btn-themed {
    background-color: #3463b7;
    color: #ffffff;
}

.dark .chat-send-btn-themed:hover:not(:disabled) {
    background-color: #2952a3;
}

/* Input enabled/disabled states (different from button states) */
.input-enabled {
    opacity: 1;
    cursor: text;
    pointer-events: auto;
}

.input-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* =============================================================================
   TERMINAL OUTPUT CONTAINER - Professional Terminal Style
   Inspired by VS Code, iTerm2, and macOS Terminal
   ============================================================================= */

/* Main Container - Authentic Terminal Window Appearance */
.terminal-output-container-themed {
    /* Light mode defaults */
    --terminal-container-bg: #f8fafc;
    --terminal-container-border-outer: rgba(59, 130, 246, 0.3);
    --terminal-container-border-inner: rgba(148, 163, 184, 0.2);
    --terminal-container-shadow: rgba(0, 0, 0, 0.1);
    position: relative;
    background: var(--terminal-container-bg);
    border: clamp(1px, 0.15vw, 2px) solid var(--terminal-container-border-outer);
    border-radius: clamp(8px, 1.2vw, 12px);
    margin: clamp(12px, 2vw, 20px) 0;
    padding: clamp(1px, 0.2vw, 2px);
    box-shadow:
        0 0 0 clamp(0.5px, 0.08vw, 1px) var(--terminal-container-border-inner),
        0 clamp(4px, 0.8vw, 8px) clamp(16px, 3vw, 32px) var(--terminal-container-shadow),
        inset 0 0 clamp(20px, 4vw, 40px) rgba(0, 0, 0, 0.05);
    overflow: hidden;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
}

.terminal-output-container-themed::before {
    content: '';
    position: absolute;
    inset: clamp(1px, 0.15vw, 2px);
    border: clamp(0.5px, 0.08vw, 1px) solid rgba(0, 0, 0, 0.08);
    border-radius: clamp(7px, 1vw, 11px);
    pointer-events: none;
    z-index: 1;
}

.terminal-output-container-themed::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.05), transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(0, 0, 0, 0.01) 1px,
            rgba(0, 0, 0, 0.01) 2px
        );
    pointer-events: none;
    opacity: 0.3;
    z-index: 0;
}

.terminal-output-container-themed > * {
    position: relative;
    z-index: 2;
}

.dark .terminal-output-container-themed {
    --terminal-container-bg: #000000;
    --terminal-container-border-outer: rgba(99, 179, 237, 0.3);
    --terminal-container-border-inner: rgba(240, 246, 252, 0.15);
    --terminal-container-shadow: rgba(0, 0, 0, 0.8);
}

.dark .terminal-output-container-themed::before {
    border-color: rgba(255, 255, 255, 0.05);
}

.dark .terminal-output-container-themed::after {
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 179, 237, 0.08), transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.01) 1px,
            rgba(255, 255, 255, 0.01) 2px
        );
    opacity: 0.4;
}

/* Terminal Header Bar - responsive terminal chrome */
.terminal-header {
    /* Light mode defaults */
    --terminal-header-bg-start: #ffffff;
    --terminal-header-bg-end: #f1f5f9;
    --terminal-header-accent: rgba(59, 130, 246, 0.08);
    --terminal-header-border: rgba(148, 163, 184, 0.25);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(12px, 2vw, 20px);
    padding: clamp(10px, 1.5vw, 14px) clamp(16px, 2.2vw, 24px);
    background: 
        linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--terminal-header-bg-start) 0%, var(--terminal-header-bg-end) 100%);
    border-bottom: 1px solid var(--terminal-header-border);
    min-height: 44px;
    position: relative;
    color: #1e293b;
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.terminal-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 30%, rgba(59, 130, 246, 0.12), transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(139, 92, 246, 0.06), transparent 50%);
    pointer-events: none;
    opacity: 1;
    z-index: 0;
}

.terminal-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.terminal-header > * {
    position: relative;
    z-index: 1;
}

.dark .terminal-header {
    --terminal-header-bg-start: rgba(15, 23, 42, 0.95);
    --terminal-header-bg-end: rgba(1, 4, 9, 0.98);
    --terminal-header-accent: rgba(99, 179, 237, 0.15);
    --terminal-header-border: rgba(240, 246, 252, 0.15);
    color: #e2e8f0;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dark .terminal-header::before {
    background: 
        radial-gradient(circle at 15% 30%, rgba(99, 179, 237, 0.2), transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(139, 92, 246, 0.1), transparent 50%);
    opacity: 1;
}

.dark .terminal-header::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0.4;
}

/* Terminal Window Controls (traffic light buttons) */
.terminal-window-controls {
    display: flex;
    gap: clamp(6px, 0.8vw, 8px);
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
    flex-shrink: 0;
    padding-right: clamp(4px, 0.5vw, 8px);
}

.terminal-window-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: default;
    position: relative;
}

.terminal-btn-close {
    background: linear-gradient(180deg, #ff6058 0%, #e14942 100%);
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.terminal-btn-minimize {
    background: linear-gradient(180deg, #ffbd2e 0%, #dea123 100%);
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.terminal-btn-maximize {
    background: linear-gradient(180deg, #28c940 0%, #1eaf32 100%);
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Terminal Title/Hostname in Header */
.terminal-title {
    text-align: center;
    font-size: clamp(12px, 1.2vw, 13px);
    color: #0f172a;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    padding: 0 clamp(8px, 1vw, 12px);
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.dark .terminal-title {
    color: #f1f5f9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Terminal Header Right Section */
.terminal-header-right {
    min-width: clamp(40px, 5vw, 52px);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(6px, 0.8vw, 10px);
    z-index: 1;
    font-size: 12px;
    color: rgba(100, 116, 139, 0.8);
    flex-shrink: 0;
    padding-left: clamp(4px, 0.5vw, 8px);
}

.dark .terminal-header-right {
    color: rgba(226, 232, 240, 0.85);
}

@media (max-width: 640px) {
    .terminal-header {
        grid-template-columns: 1fr;
        gap: clamp(8px, 1.5vw, 12px);
        padding: clamp(10px, 1.5vw, 14px) clamp(12px, 2vw, 18px);
    }

    .terminal-window-controls {
        order: 1;
        padding-right: 0;
    }

    .terminal-title {
        order: 2;
        text-align: left;
        justify-content: flex-start;
        padding: 0;
        margin-top: 2px;
        font-size: 13px;
    }

    .terminal-header-right {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        padding-left: 0;
        margin-top: 2px;
    }
}

/* Terminal Body */
.terminal-body {
    /* Light mode defaults */
    --terminal-body-bg-start: #ffffff;
    --terminal-body-bg-end: #f1f5f9;
    --terminal-body-border: rgba(148, 163, 184, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.6vw, 20px);
    padding: clamp(16px, 2.2vw, 24px) clamp(18px, 2.4vw, 28px);
    background:
        radial-gradient(circle at 18% 18%, rgba(59, 130, 246, 0.05), transparent 45%),
        linear-gradient(180deg, var(--terminal-body-bg-start) 0%, var(--terminal-body-bg-end) 100%);
    border-top: 1px solid var(--terminal-body-border);
    color: #1e293b;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    backdrop-filter: blur(14px);
    box-shadow:
        inset 0 1px 12px rgba(0, 0, 0, 0.05),
        0 -1px 0 rgba(0, 0, 0, 0.05);
}

.terminal-body::before,
.terminal-body::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.terminal-body::before {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.01) 1px, transparent 1px);
    background-size: 100% 26px, 26px 100%;
    opacity: 0.3;
}

.terminal-body::after {
    background: radial-gradient(circle at 50% 120%, rgba(59, 130, 246, 0.08), transparent 55%);
}

.terminal-body > * {
    position: relative;
    z-index: 1;
}

.dark .terminal-body {
    --terminal-body-bg-start: #010409;
    --terminal-body-bg-end: #000104;
    --terminal-body-border: rgba(240, 246, 252, 0.16);
    color: #f0f6fc;
}

.dark .terminal-body::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    opacity: 0.45;
}

.dark .terminal-body::after {
    background: radial-gradient(circle at 50% 120%, rgba(56, 139, 253, 0.16), transparent 55%);
}

.dark .terminal-body {
    box-shadow:
        inset 0 1px 12px rgba(0, 0, 0, 0.55),
        0 -1px 0 rgba(255, 255, 255, 0.04);
}

/* Terminal Command Section */
.terminal-command-label {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 12px);
    flex-wrap: wrap;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    font-size: clamp(12px, 1.2vw, 13px);
    color: inherit;
    padding: clamp(12px, 1.5vw, 16px) clamp(14px, 1.8vw, 20px);
    margin: 0;
    border-radius: clamp(8px, 1vw, 10px);
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(241, 245, 249, 0.8);
    backdrop-filter: blur(6px);
    line-height: 1.5;
    min-height: clamp(36px, 4.5vw, 44px);
}

.dark .terminal-command-label {
    border-color: rgba(240, 246, 252, 0.16);
    background: rgba(1, 4, 9, 0.65);
}

/* Terminal Command Icon */
.terminal-command-icon {
    fill: #0969da;
    flex-shrink: 0;
}

.dark .terminal-command-icon {
    fill: #58a6ff;
}

/* Terminal Prompt Symbol - Classic green terminal prompt */
.terminal-prompt {
    color: #22c55e;
    font-weight: 700;
    font-size: clamp(13px, 1.4vw, 15px);
    text-shadow: 0 0 4px rgba(34, 197, 94, 0.3);
}

.dark .terminal-prompt {
    color: #56d364;
    text-shadow: 0 0 8px rgba(86, 211, 100, 0.5);
}

/* Terminal Output Content Area - The main output display */
.terminal-output-content-themed {
    /* Light mode defaults */
    --terminal-output-bg: #f8fafc;
    --terminal-output-border: rgba(59, 130, 246, 0.25);
    --terminal-output-shadow: rgba(0, 0, 0, 0.05);
    background: var(--terminal-output-bg);
    padding: clamp(16px, 2.2vw, 24px) clamp(18px, 2.4vw, 28px);
    border: clamp(1px, 0.15vw, 2px) solid var(--terminal-output-border);
    border-radius: clamp(8px, 1vw, 10px);
    min-height: clamp(140px, 32vh, 360px);
    max-height: clamp(220px, 50vh, 520px);
    overflow-y: auto;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.4) transparent;
    position: relative;
    box-shadow: 
        inset 0 0 clamp(20px, 4vw, 40px) var(--terminal-output-shadow),
        inset 0 0 clamp(1px, 0.15vw, 2px) rgba(0, 0, 0, 0.03);
    width: 100%;
    box-sizing: border-box;
}

.dark .terminal-output-content-themed {
    --terminal-output-bg: #000000;
    --terminal-output-border: rgba(99, 179, 237, 0.25);
    --terminal-output-shadow: rgba(0, 0, 0, 0.6);
    background: var(--terminal-output-bg);
    border-color: var(--terminal-output-border);
    scrollbar-color: rgba(148, 163, 184, 0.7) transparent;
    box-shadow: 
        inset 0 0 clamp(20px, 4vw, 40px) var(--terminal-output-shadow),
        inset 0 0 clamp(1px, 0.15vw, 2px) rgba(255, 255, 255, 0.03);
}

/* Subtle scanline effect for authentic terminal appearance */
.terminal-output-content-themed::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent calc(clamp(26px, 3.5vw, 28px) - 1px),
            rgba(0, 0, 0, 0.015) calc(clamp(26px, 3.5vw, 28px) - 1px),
            rgba(0, 0, 0, 0.015) clamp(26px, 3.5vw, 28px)
        );
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.dark .terminal-output-content-themed::before {
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent calc(clamp(26px, 3.5vw, 28px) - 1px),
            rgba(255, 255, 255, 0.03) calc(clamp(26px, 3.5vw, 28px) - 1px),
            rgba(255, 255, 255, 0.03) clamp(26px, 3.5vw, 28px)
        );
    opacity: 0.5;
}

.terminal-output-content-themed > * {
    position: relative;
    z-index: 2;
}

/* Custom scrollbar for webkit browsers */
.terminal-output-content-themed::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.terminal-output-content-themed::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 5px;
    margin: 4px;
}

.terminal-output-content-themed::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.5);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.dark .terminal-output-content-themed::-webkit-scrollbar-thumb {
    background: #484f58;
    border: 2px solid transparent;
    background-clip: content-box;
}

.terminal-output-content-themed::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.7);
    border: 2px solid transparent;
    background-clip: content-box;
}

.dark .terminal-output-content-themed::-webkit-scrollbar-thumb:hover {
    background: #6e7681;
    border: 2px solid transparent;
    background-clip: content-box;
}

/* Terminal Pre Element - The actual text output with terminal colors */
.terminal-pre-themed {
    /* Light mode defaults */
    --terminal-text-default: #1e293b;
    --terminal-text-dim: #64748b;
    --terminal-text-bright: #0f172a;
    margin: 0;
    padding: 0;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    font-size: clamp(12px, 1.35vw, 14px);
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: var(--terminal-text-default);
    letter-spacing: 0;
    text-shadow: none;
}

.dark .terminal-pre-themed {
    --terminal-text-default: #e6edf3;
    --terminal-text-dim: #8b949e;
    --terminal-text-bright: #f0f6fc;
    color: var(--terminal-text-default);
    text-shadow: 0 0 6px rgba(88, 166, 255, 0.2);
}

/* Terminal color classes for ANSI-style output */
.terminal-pre-themed .terminal-green,
.terminal-pre-themed [data-color="green"],
.terminal-pre-themed span[style*="green"] {
    color: #3fb950 !important;
}

.terminal-pre-themed .terminal-cyan,
.terminal-pre-themed [data-color="cyan"],
.terminal-pre-themed span[style*="cyan"] {
    color: #56d4dd !important;
}

.terminal-pre-themed .terminal-blue,
.terminal-pre-themed [data-color="blue"],
.terminal-pre-themed span[style*="blue"] {
    color: #79c0ff !important;
}

.terminal-pre-themed .terminal-red,
.terminal-pre-themed [data-color="red"],
.terminal-pre-themed span[style*="red"] {
    color: #ff7b72 !important;
}

.terminal-pre-themed .terminal-yellow,
.terminal-pre-themed [data-color="yellow"],
.terminal-pre-themed span[style*="yellow"] {
    color: #ffa657 !important;
}

.terminal-pre-themed .terminal-magenta,
.terminal-pre-themed [data-color="magenta"],
.terminal-pre-themed span[style*="magenta"] {
    color: #d2a8ff !important;
}

.terminal-pre-themed .terminal-white,
.terminal-pre-themed [data-color="white"],
.terminal-pre-themed span[style*="white"] {
    color: var(--terminal-text-bright) !important;
}

.terminal-pre-themed .terminal-dim,
.terminal-pre-themed [data-color="dim"],
.terminal-pre-themed span[style*="dim"] {
    color: var(--terminal-text-dim) !important;
    opacity: 0.7;
}

@media (max-width: 640px) {
    .terminal-output-container-themed {
        margin: 12px 0;
        border-width: 1px;
        border-radius: 8px;
        padding: 1px;
    }

    .terminal-output-container-themed::before {
        border-width: 0.5px;
        border-radius: 7px;
    }

    .terminal-body {
        padding: clamp(12px, 1.8vw, 16px) clamp(14px, 2vw, 18px);
        gap: clamp(10px, 1.4vw, 16px);
        border-radius: 0;
    }

    .terminal-output-content-themed {
        min-height: 180px;
        max-height: none;
        padding: clamp(12px, 1.8vw, 16px) clamp(14px, 2vw, 18px);
        border-width: 1px;
        border-radius: 6px;
    }

    .terminal-command-label {
        justify-content: flex-start;
        padding: clamp(10px, 1.4vw, 14px) clamp(12px, 1.6vw, 16px);
        gap: clamp(6px, 0.8vw, 10px);
        font-size: 12px;
        min-height: auto;
    }

    .terminal-pre-themed {
        font-size: 12px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .terminal-output-container-themed {
        margin: 10px 0;
        border-radius: 6px;
    }

    .terminal-output-content-themed {
        min-height: 150px;
        padding: clamp(10px, 1.5vw, 14px) clamp(12px, 1.8vw, 16px);
    }

    .terminal-body {
        padding: clamp(10px, 1.5vw, 14px) clamp(12px, 1.8vw, 16px);
        gap: clamp(8px, 1.2vw, 12px);
    }

    .terminal-command-label {
        padding: clamp(8px, 1.2vw, 12px) clamp(10px, 1.4vw, 14px);
        gap: clamp(6px, 0.8vw, 8px);
    }
}

/* Terminal Footer */
.terminal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    font-size: 12px;
    color: #475569;
}

.dark .terminal-footer {
    background: linear-gradient(180deg, #161b22 0%, #0d1117 100%);
    border-top-color: #30363d;
    color: #8b949e;
}

/* Terminal Timestamp */
.terminal-timestamp-themed {
    font-size: 12px;
    color: #64748b;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
}

.dark .terminal-timestamp-themed {
    color: #8b949e;
}

/* Terminal Status Indicator */
.terminal-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #1a7f37;
}

.dark .terminal-status {
    color: #3fb950;
}

.terminal-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a7f37;
    box-shadow: 0 0 6px rgba(26, 127, 55, 0.4);
}

.dark .terminal-status-dot {
    background: #3fb950;
    box-shadow: 0 0 6px rgba(63, 185, 80, 0.4);
}

.terminal-status-dot.success {
    background: #1a7f37;
    box-shadow: 0 0 6px rgba(26, 127, 55, 0.4);
}

.dark .terminal-status-dot.success {
    background: #3fb950;
    box-shadow: 0 0 6px rgba(63, 185, 80, 0.4);
}

.terminal-status-dot.error {
    background: #cf222e;
    box-shadow: 0 0 6px rgba(207, 34, 46, 0.4);
}

.dark .terminal-status-dot.error {
    background: #f85149;
    box-shadow: 0 0 6px rgba(248, 81, 73, 0.4);
}

/* =============================================================================
   CHAT MESSAGE ANNOTATIONS - Styled formatting for assistant messages
   ============================================================================= */

/* Markdown Headers - # Header, ## Header, etc. */
.chat-header-h1 {
    font-weight: 600;
    font-size: clamp(18px, 2vw, 22px);
    color: #1f2937;
    margin-top: clamp(20px, 2.5vw, 28px);
    margin-bottom: clamp(8px, 1vw, 12px);
    letter-spacing: -0.2px;
    line-height: 1.4;
}

.dark .chat-header-h1 {
    color: #f3f4f6;
}

.chat-header-h2 {
    font-weight: 600;
    font-size: clamp(16px, 1.8vw, 20px);
    color: #374151;
    margin-top: clamp(18px, 2.2vw, 24px);
    margin-bottom: clamp(6px, 0.8vw, 10px);
    letter-spacing: -0.1px;
    line-height: 1.5;
}

.dark .chat-header-h2 {
    color: #e5e7eb;
}

.chat-header-h3 {
    font-weight: 600;
    font-size: clamp(15px, 1.6vw, 18px);
    color: #4b5563;
    margin-top: clamp(16px, 2vw, 22px);
    margin-bottom: clamp(6px, 0.8vw, 10px);
    line-height: 1.5;
}

.dark .chat-header-h3 {
    color: #d1d5db;
}

.chat-header-h4 {
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 16px);
    color: #6b7280;
    margin-top: clamp(14px, 1.8vw, 20px);
    margin-bottom: clamp(6px, 0.8vw, 10px);
    line-height: 1.5;
}

.dark .chat-header-h4 {
    color: #9ca3af;
}

/* Section Headers - Lines ending with ":" */
.chat-section-header {
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 16px);
    color: #4b5563;
    margin-top: clamp(16px, 2vw, 22px);
    margin-bottom: clamp(8px, 1vw, 12px);
    letter-spacing: 0.1px;
}

.dark .chat-section-header {
    color: #d1d5db;
}

/* List Container */
.chat-list-container {
    margin: clamp(8px, 1vw, 12px) 0;
    padding-left: clamp(18px, 2.2vw, 24px);
    list-style: none;
}

/* List Items */
.chat-list-item {
    position: relative;
    margin: clamp(4px, 0.6vw, 8px) 0;
    padding-left: clamp(12px, 1.5vw, 18px);
    line-height: 1.6;
    color: inherit;
}

.chat-list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6b7280;
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.6;
}

.dark .chat-list-item::before {
    color: #9ca3af;
}

/* Inline Code - File names, code snippets, etc. */
.chat-code-inline {
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    background: rgba(0, 0, 0, 0.05);
    color: #374151;
    padding: clamp(2px, 0.25vw, 3px) clamp(5px, 0.7vw, 7px);
    border-radius: clamp(3px, 0.4vw, 4px);
    font-weight: 400;
    letter-spacing: 0.2px;
}

.dark .chat-code-inline {
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
}

/* Ensure proper spacing in message bubbles */
.message-bubble .chat-header-h1:first-child,
.message-bubble .chat-header-h2:first-child,
.message-bubble .chat-header-h3:first-child,
.message-bubble .chat-header-h4:first-child,
.message-bubble .chat-section-header:first-child,
.assistant-message-normal .chat-header-h1:first-child,
.assistant-message-normal .chat-header-h2:first-child,
.assistant-message-normal .chat-header-h3:first-child,
.assistant-message-normal .chat-header-h4:first-child,
.assistant-message-normal .chat-section-header:first-child {
    margin-top: 0;
}

.message-bubble .chat-list-container:last-child,
.assistant-message-normal .chat-list-container:last-child {
    margin-bottom: 0;
}

/* Reduce excessive spacing in message bubbles */
.message-bubble br {
    display: block;
    content: "";
    margin: 0;
    line-height: 1.4;
}

.message-bubble br + br {
    margin-top: 0.25em;
}

/* =============================================================================
   CHAT SERVER SELECTION BUTTONS - Server connection actions in chat messages
   ============================================================================= */

/* Server Actions Container */
.chat-server-actions {
    margin-top: clamp(14px, 2vw, 20px);
    padding: 0;
}

/* Server Actions Buttons Container */
.chat-server-actions-buttons {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.2vw, 12px);
    align-items: stretch;
}

/* Base Server Button */
.chat-server-btn {
    width: 100%;
    padding: clamp(9px, 1.3vw, 11px) clamp(14px, 2vw, 18px);
    border-radius: clamp(6px, 0.8vw, 8px);
    font-weight: 500;
    font-size: clamp(13px, 1.4vw, 14px);
    transition: background-color 0.15s ease, border-color 0.15s ease;
    border: 1px solid;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 0.8vw, 8px);
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0.1px;
}

.chat-server-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.chat-server-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-server-btn:disabled:hover {
    background-color: inherit;
    border-color: inherit;
}

/* Primary Server Button */
.chat-server-btn-primary {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.chat-server-btn-primary:hover:not(:disabled) {
    background: #2563eb;
    border-color: #2563eb;
}

.chat-server-btn-primary:active:not(:disabled) {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.dark .chat-server-btn-primary {
    background: #3b82f6;
    border-color: #3b82f6;
}

.dark .chat-server-btn-primary:hover:not(:disabled) {
    background: #2563eb;
    border-color: #2563eb;
}

/* Secondary Server Button */
.chat-server-btn-secondary {
    background: transparent;
    color: #4b5563;
    border-color: #d1d5db;
}

.chat-server-btn-secondary:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

.chat-server-btn-secondary:active:not(:disabled) {
    background: #f3f4f6;
    border-color: #6b7280;
}

.dark .chat-server-btn-secondary {
    background: transparent;
    color: #9ca3af;
    border-color: #4b5563;
}

.dark .chat-server-btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.05);
    border-color: #6b7280;
    color: #d1d5db;
}

/* Disabled State */
.chat-server-btn:disabled {
    background: #e5e7eb !important;
    color: #9ca3af !important;
    border-color: #e5e7eb !important;
}

.dark .chat-server-btn:disabled {
    background: #374151 !important;
    color: #6b7280 !important;
    border-color: #4b5563 !important;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .chat-server-actions-buttons {
        gap: clamp(8px, 1.2vw, 10px);
    }
}

/* ===========================================
   Server Action Buttons - Pill Style
   Used for: Install Jupyter, Open Jupyter, Data Sources
   =========================================== */

/* Base button style */
.server-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid;
    white-space: nowrap;
}

.server-action-btn svg {
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
}

/* Gray variant (Install Jupyter - not installed state) */
.server-action-btn-gray {
    background-color: #f3f4f6;
    border-color: #e5e7eb;
    color: #111827;
}

.server-action-btn-gray:hover {
    background-color: #ffedd5;
    border-color: #fed7aa;
    color: #7c2d12;
}

.dark .server-action-btn-gray {
    background-color: rgba(107, 114, 128, 0.1);
    border-color: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.dark .server-action-btn-gray:hover {
    background-color: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.4);
    color: #fb923c;
}

/* Orange variant (Open Jupyter - installed state) */
.server-action-btn-orange {
    background-color: #ffedd5;
    border-color: #fed7aa;
    color: #7c2d12;
}

.server-action-btn-orange:hover {
    background-color: #fed7aa;
    border-color: #fdba74;
    color: #7c2d12;
}

.dark .server-action-btn-orange {
    background-color: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.3);
    color: #fb923c;
}

.dark .server-action-btn-orange:hover {
    background-color: rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.5);
    color: #fdba74;
}

/* Purple variant (Data Sources) */
.server-action-btn-purple {
    background-color: #f3e8ff;
    border-color: #e9d5ff;
    color: #581c87;
}

.server-action-btn-purple:hover {
    background-color: #e9d5ff;
    border-color: #d8b4fe;
    color: #581c87;
}

.dark .server-action-btn-purple {
    background-color: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

.dark .server-action-btn-purple:hover {
    background-color: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    color: #d8b4fe;
}

/* Remove extra spacing around structured elements */
.message-bubble .chat-header-h1 + br,
.message-bubble .chat-header-h2 + br,
.message-bubble .chat-header-h3 + br,
.message-bubble .chat-header-h4 + br,
.message-bubble .chat-section-header + br,
.message-bubble br + .chat-header-h1,
.message-bubble br + .chat-header-h2,
.message-bubble br + .chat-header-h3,
.message-bubble br + .chat-header-h4,
.message-bubble br + .chat-section-header,
.message-bubble .chat-list-container + br,
.message-bubble br + .chat-list-container {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .chat-section-header {
        font-size: 14px;
        margin-top: 12px;
        margin-bottom: 8px;
    }

    .chat-list-container {
        padding-left: 20px;
        margin: 10px 0;
    }

    .chat-list-item {
        padding-left: 16px;
        margin: 8px 0;
        font-size: 14px;
    }

    .chat-code-inline {
        font-size: 13px;
        padding: 2px 6px;
    }
}

/* ===========================================
   Shepherd.js Tour Styles
   Onboarding walkthrough tooltip styling
   =========================================== */

.shepherd-element {
    background: none !important;
    max-width: 400px !important;
    z-index: 2147483647 !important;
    font-family: inherit !important;
    filter: drop-shadow(0 20px 20px rgba(0,0,0,0.4));
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.shepherd-element:focus,
.shepherd-element:focus-visible,
.shepherd-element *:focus,
.shepherd-element *:focus-visible {
    outline: none !important;
    border-color: inherit !important;
}

/* Main card */
.shepherd-content {
    background-color: #ffffff !important; /* Light mode bg */
    color: #1e293b !important; /* Light mode text */
    border-radius: 12px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

.dark .shepherd-content {
    background-color: #1e293b !important; /* Dark slate background */
    color: #fff !important;
    border-color: rgba(255,255,255,0.1) !important;
    box-shadow: none !important;
}

.shepherd-text {
    padding: 0 !important;
}

/* Custom Template Styles */
.tour-header-layout {
    padding: 20px 20px 0 20px;
    margin-bottom: 12px;
}

.tour-progress-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tour-step-counter {
    font-size: 12px;
    font-weight: 600;
    color: #64748b; /* Light mode slate-500 */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dark .tour-step-counter {
    color: #94a3b8; /* Dark mode slate-400 */
}

.tour-progress-segments {
    display: flex;
    gap: 4px;
    width: 100%;
}

.tour-progress-segment {
    height: 4px;
    flex: 1;
    background-color: #e2e8f0; /* Light mode slate-200 */
    border-radius: 2px;
}

.dark .tour-progress-segment {
    background-color: #334155; /* Dark mode slate-700 */
}

.tour-progress-segment.active {
    background-color: #3b82f6; /* blue-500 */
}

.tour-title {
    padding: 0 20px;
    margin: 0 0 8px 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e293b !important; /* Light mode text */
    line-height: 1.4 !important;
}

.dark .tour-title {
    color: #fff !important; /* Dark mode text */
}

.tour-content-wrapper {
    padding: 0 20px;
    margin-bottom: 20px;
}

.tour-description {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #475569 !important; /* Light mode slate-600 */
    margin: 0 !important;
}

.dark .tour-description {
    color: #cbd5e1 !important; /* Dark mode slate-300 */
}

.tour-click-hint {
    margin-top: 12px !important;
    text-align: center;
    font-size: 12px;
    color: #94a3b8; /* Light mode slate-400 */
    font-style: italic;
}

.dark .tour-click-hint {
    color: #64748b; /* Dark mode slate-500 */
}

.tour-footer-actions {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8fafc; /* Light mode footer bg */
    border-top: 1px solid #e2e8f0;
}

.dark .tour-footer-actions {
    background-color: rgba(0,0,0,0.2); /* Dark mode footer bg */
    border-top-color: rgba(255,255,255,0.05);
}

.tour-opt-out-wrapper {
    display: flex;
    align-items: center;
}

.tour-opt-out-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b; /* Light mode slate-500 */
    cursor: pointer;
    user-select: none;
}

.dark .tour-opt-out-label {
    color: #94a3b8; /* Dark mode slate-400 */
}

.tour-opt-out-label:hover {
    color: #1e293b; /* Light mode hover */
}

.dark .tour-opt-out-label:hover {
    color: #fff; /* Dark mode hover */
}

.tour-opt-out-checkbox {
    accent-color: #3b82f6;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.tour-next-button {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tour-next-button:hover {
    background-color: #2563eb;
}

/* Arrow styling */
.shepherd-arrow {
    width: 24px !important;
    height: 24px !important;
    z-index: 9999 !important;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); /* Add stronger depth */
}

.shepherd-arrow::before {
    width: 100% !important;
    height: 100% !important;
    background-color: #3b82f6 !important;
    border: none !important;
    content: '' !important;
    display: block !important;
    position: absolute;
}

/* Dart / Chevron shape using clip-path */
/* Placement TOP -> Arrow points DOWN */
.shepherd-element[data-popper-placement^='top'] > .shepherd-arrow::before {
    clip-path: polygon(0 0, 100% 0, 50% 100%, 50% 100%); /* Standard Triangle for Top/Bottom usually preferred, or Dart: 0 0, 100% 0, 50% 100%, 50% 30% */
    /* Let's stick to a slightly elongated triangle for Top/Bottom to match the side aesthetic, or consistent Dart */
    clip-path: polygon(0 0, 100% 0, 50% 100%, 50% 100%); /* Keep simple triangle for vertical to avoid weirdness, or use Dart: polygon(100% 0, 50% 100%, 0 0, 50% 25%) */
    clip-path: polygon(100% 0, 50% 100%, 0 0, 50% 25%);
    transform: none !important;
    left: 0 !important;
}

/* Placement BOTTOM -> Arrow points UP */
.shepherd-element[data-popper-placement^='bottom'] > .shepherd-arrow::before {
    clip-path: polygon(50% 0, 100% 100%, 50% 75%, 0 100%);
    transform: none !important;
    left: 0 !important;
}

/* Placement LEFT -> Arrow points RIGHT */
.shepherd-element[data-popper-placement^='left'] > .shepherd-arrow::before {
    clip-path: polygon(100% 50%, 0 100%, 25% 50%, 0 0);
    transform: none !important;
    top: 0 !important;
}

/* Placement RIGHT -> Arrow points LEFT */
.shepherd-element[data-popper-placement^='right'] > .shepherd-arrow::before {
    clip-path: polygon(0 50%, 100% 0, 75% 50%, 100% 100%);
    transform: none !important;
    top: 0 !important;
}

/* Detached Arrow Spacing & Positioning */
/* Add margin to content to create space for the detached arrow */
.shepherd-element[data-popper-placement^='top'] .shepherd-content { margin-bottom: 68px !important; }
.shepherd-element[data-popper-placement^='bottom'] .shepherd-content { margin-top: 68px !important; }
.shepherd-element[data-popper-placement^='left'] .shepherd-content { margin-right: 68px !important; }
.shepherd-element[data-popper-placement^='right'] .shepherd-content { margin-left: 68px !important; }

/* Position arrow in the gap */
.shepherd-element[data-popper-placement^='top'] > .shepherd-arrow { bottom: 24px !important; }
.shepherd-element[data-popper-placement^='bottom'] > .shepherd-arrow { top: 24px !important; }
.shepherd-element[data-popper-placement^='left'] > .shepherd-arrow { right: 24px !important; }
.shepherd-element[data-popper-placement^='right'] > .shepherd-arrow { left: 24px !important; }

/* Ensure no background color interferes with triangle hack */
.dark .shepherd-arrow::before {
    background-color: #3b82f6 !important;
}

/* Hide default header/footer if they appear */
.shepherd-header { display: none !important; }
.shepherd-footer { display: none !important; }

/* Modal Overlay */
.shepherd-modal-overlay-container {
    opacity: 0.7 !important;
}

.shepherd-modal-overlay-container.shepherd-modal-is-visible path {
    /* Red border around the spotlight cutout */
    stroke: #3b82f6 !important; /* Blue to match theme, was red */
    stroke-width: 3px !important;
}

/* Tour Simulated Host Styling - kept for demo */
.tour-simulated-element {
    position: relative;
}

.tour-simulated-element::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px dashed rgba(59, 130, 246, 0.3);
    pointer-events: none;
}

.dark .tour-simulated-element::before {
    border-color: rgba(59, 130, 246, 0.4);
}

/* Pulse animation for demo badge */
.tour-simulated-element .bg-blue-500\/20 {
    animation: tour-demo-pulse 2s ease-in-out infinite;
}

@keyframes tour-demo-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Hide tour on small screens */
@media (max-width: 1024px) {
    .shepherd-element {
        display: none !important;
    }
}

/* ===========================================
   Tour Completion Popup
   =========================================== */
.tour-completion-card {
    background-color: #ffffff !important; /* Light mode bg */
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    color: #1e293b !important; /* Light mode text */
}

.dark .tour-completion-card {
    background-color: #1e293b !important; /* Dark mode bg */
    border-color: rgba(255,255,255,0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
    color: #fff !important; /* Dark mode text */
}

.tour-completion-icon {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 2px solid rgba(34, 197, 94, 0.3) !important;
}

.tour-completion-title {
    color: #1e293b !important; /* Light mode text */
}

.dark .tour-completion-title {
    color: #fff !important; /* Dark mode text */
}

.tour-completion-text {
    color: #475569 !important; /* Light mode slate-600 */
}

.dark .tour-completion-text {
    color: #cbd5e1 !important; /* Dark mode slate-300 */
}

.tour-completion-label {
    color: #64748b !important; /* Light mode slate-500 */
}

.dark .tour-completion-label {
    color: #94a3b8 !important; /* Dark mode slate-400 */
}

.tour-completion-label:hover {
    color: #1e293b !important; /* Light mode hover */
}

.dark .tour-completion-label:hover {
    color: #fff !important; /* Dark mode hover */
}

.tour-completion-checkbox {
    border: 1px solid #cbd5e1 !important; /* Light mode border */
    background: #ffffff !important;
    accent-color: #3b82f6 !important;
    cursor: pointer !important;
}

.dark .tour-completion-checkbox {
    border-color: #475569 !important; /* Dark mode border */
    background: #0f172a !important;
}

/* Get Started button */
.tour-completion-btn {
    background-color: #3b82f6 !important;
    border: 1px solid #3b82f6 !important;
    color: #ffffff !important;
}

.tour-completion-btn:hover {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
}

/* ===========================================
   Tour Form Simulation Animations
   =========================================== */

/* Fields are read-only during simulation */
.tour-field-readonly {
    cursor: not-allowed !important;
    opacity: 0.9;
    pointer-events: none;
}

/* Field currently being typed into */
.tour-field-typing {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
    transition: all 0.2s ease;
}

/* Field currently active (selects, checkboxes) */
.tour-field-active {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

/* Field completed - brief success flash */
.tour-field-complete {
    animation: tour-field-success 0.4s ease-out;
}

@keyframes tour-field-success {
    0% {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    }
    50% {
        border-color: #22c55e;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3);
    }
    100% {
        border-color: inherit;
        box-shadow: none;
    }
}

/* Save button highlight/pulse */
.tour-button-highlight {
    animation: tour-button-pulse 1s ease-in-out infinite;
}

@keyframes tour-button-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
    }
}

/* Button press effect */
.tour-button-pressing {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease;
}

/* Hide footer during simulation, show with animation when done */
.tour-footer-hidden {
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.tour-footer-actions:not(.tour-footer-hidden) {
    opacity: 1;
    max-height: 100px;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

/* Tour simulation step indicator with spinner */
.tour-simulation-hint {
    margin-top: 12px !important;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 6px;
    font-size: 13px;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-simulation-hint::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #3b82f6;
    border-top-color: transparent;
    border-radius: 50%;
    animation: tour-spinner 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes tour-spinner {
    to {
        transform: rotate(360deg);
    }
}

.dark .tour-simulation-hint {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.dark .tour-simulation-hint::before {
    border-color: #60a5fa;
    border-top-color: transparent;
}

/* Ensure modal is visible during tour simulation */
.shepherd-tour-active #serverDetailsModal {
    z-index: 2147483640 !important;
}

.shepherd-tour-active #serverDetailsModal .bg-background {
    position: relative;
    z-index: 2147483641 !important;
}

