* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c 0%, #2a5298 100%);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.connection-status {
    display: flex;
    gap: 50px;
    margin-bottom: 16px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.status-value {
    font-size: 0.9rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
}

.bash-value {
    font-size: 0.9rem;
    font-weight: bold;
    padding: 12px;
    border-radius: 4px;
}
.status-connected {
    background: rgba(76, 175, 80, 0.2);
    color: #fff;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-disconnected {
    background: rgba(244, 67, 54, 0.2);
    color: #fff;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.status-connecting {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.status-error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.control-group {
    margin-bottom: 25px;
}

.control-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

select, input, button, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1rem;
    margin-bottom: 10px;
}

select option {
    background: #2a5298;
    color: white;
}

textarea {
    height: 120px;
    resize: vertical;
    font-family: monospace;
}

button {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

button.stop {
    background: linear-gradient(45deg, #f44336, #d32f2f);
}

button:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
}

.status-indicator {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.2);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.status-disconnected {
    background: #f44336;
}

.status-connecting {
    background: #ff9800;
    box-shadow: 0 0 10px #ff9800;
}

.status-connected {
    background: #4CAF50;
    box-shadow: 0 0 10px #4CAF50;
}

.terminal-container {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    background: #333;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    font-weight: bold;
}

.terminal-buttons {
    display: flex;
    gap: 5px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.close {
    background: #ff5f56;
}

.minimize {
    background: #ffbd2e;
}

.maximize {
    background: #27c93f;
}

#terminal {
    padding: 15px;
    /* height: 80vh; */
}

.pods-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.pod-item {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.3s;
}

.pod-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pod-name {
    font-weight: bold;
}

.pod-status {
    font-size: 0.8rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.pod-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-running {
    background: #4CAF50;
}

.status-pending {
    background: #ff9800;
}

.status-failed, .status-unknown {
    background: #f44336;
}

.quick-commands {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.quick-command {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 0.9rem;
}

.quick-command:hover {
    background: rgba(255, 255, 255, 0.2);
}

.loading {
    text-align: center;
    padding: 20px;
    opacity: 0.7;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
    max-width: 400px;
}

.notification.success {
    background: #4CAF50;
    opacity: 1;
}

.notification.error {
    background: #f44336;
    opacity: 1;
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .connection-status {
        flex-direction: column;
        gap: 10px;
    }
}