
/* Application Window Styles */
.app-window {
    max-width: 1200px;
    height: 700px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.title-bar {
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
}

.window-control i {
    pointer-events: none;
}

.app-content {
    display: flex;
    flex-direction: column;
}

/* Global styles */
body {
    transition: background-color 0.3s ease;
    background: #e5e7eb;
    padding: 0;
    margin: 0;
}

.dark body {
    background: #111827;
}

.dark .app-window {
    border-color: rgba(255, 255, 255, 0.1);
}
/* Desktop Layout Styles */
.flex-1 {
    flex: 1 1 0%;
}

.h-\[calc\(100vh-180px\)\] {
    height: calc(100vh - 180px);
}

/* Terminal styles */
.terminal-container {
    scrollbar-width: thin;
    scrollbar-color: #4b5563 #1f2937;
    display: flex;
    flex-direction: column;
}

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

.terminal-container::-webkit-scrollbar-track {
    background: #1f2937;
}

.terminal-container::-webkit-scrollbar-thumb {
    background-color: #4b5563;
    border-radius: 4px;
}
/* Collapsible Menu Styles */
.menu-section {
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.menu-header {
    transition: all 0.2s ease;
}

.menu-header.active {
    background-color: rgba(99, 102, 241, 0.1);
}

.dark .menu-header.active {
    background-color: rgba(99, 102, 241, 0.2);
}

.menu-header.active i[data-feather="chevron-down"] {
    transform: rotate(180deg);
}

.menu-content {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.menu-content.active {
    max-height: 500px;
    display: block;
}

/* Connection Tabs */
.connection-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.connection-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.connection-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.connection-tab.active {
    border-bottom-color: #6366f1;
    color: #6366f1;
}

.dark .connection-tab.active {
    border-bottom-color: #818cf8;
    color: #818cf8;
}

/* Sidebar styles */
.w-64 {
    width: 16rem;
}

.w-80 {
    width: 20rem;
}
/* File transfer area */
.border-dashed:hover {
    border-color: #6366f1;
    background-color: rgba(99, 102, 241, 0.05);
}

.dark .border-dashed:hover {
    border-color: #818cf8;
    background-color: rgba(129, 140, 248, 0.05);
}
.terminal-line {
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
}

.caret {
    background-color: currentColor;
    height: 1em;
    width: 0.5em;
    display: inline-block;
}

/* Dark mode toggle transition */
.dark-toggle {
    transition: all 0.3s ease;
}

/* Smooth transitions for interactive elements */
button, a {
    transition: all 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .terminal-container {
        height: 200px;
    }
}