@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --glass-bg: rgba(15, 15, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #e8eaed;
    --text-secondary: rgba(232, 234, 237, 0.6);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background: #0a0a0f;
}

/* Animated gradient background - MUCH DARKER */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            #0f0f1e 0%,
            #1a1a2e 25%,
            #16162e 50%,
            #0f1419 75%,
            #0a0e1a 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating decorative shapes - DARKER */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, rgba(67, 56, 202, 0.1) 100%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(124, 58, 237, 0.1) 100%);
    top: 50%;
    right: -100px;
    animation-delay: 7s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, rgba(37, 99, 235, 0.1) 100%);
    bottom: -100px;
    left: 30%;
    animation-delay: 14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Glass morphism effect - DARKER */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(20, 20, 35, 0.7);
}

/* Header */
.glass-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #6366f1;
    border-radius: 50%;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
}

.stat-change.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.stat-change.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.stat-change.neutral {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* VM List */
.vm-items {
    padding: 1rem;
}

.vm-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    cursor: pointer;
}

.vm-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.vm-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.vm-status::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.vm-status.running {
    background: #10b981;
}

.vm-status.running::before {
    background: #10b981;
}

.vm-status.stopped {
    background: #ef4444;
}

.vm-status.stopped::before {
    background: #ef4444;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}

.vm-info {
    flex: 1;
}

.vm-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.vm-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.vm-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.btn-primary span {
    font-size: 1.25rem;
    line-height: 1;
}

/* Activity Panel */
.activity-list {
    padding: 1rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.activity-icon.info {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.activity-icon.warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.activity-icon.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--text-primary);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .glass-header {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    max-width: 400px;
    width: 90%;
    padding: 2.5rem;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: #4f46e5;
    background: rgba(255, 255, 255, 0.08);
}

.login-error {
    color: #ef4444;
    font-size: 0.875rem;
    text-align: center;
    margin: 0;
    min-height: 1.25rem;
}

.btn-logout {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Textarea styling */
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
    transition: var(--transition);
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    border-color: #4f46e5;
    background: rgba(255, 255, 255, 0.08);
}

/* Additional Modal & Form Styles */
.btn-icon {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.vm-form select,
.vm-form input[type="range"] {
    width: 100%;
}

.vm-form select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
}

.vm-form input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg,
            rgba(79, 70, 229, 0.3) 0%,
            rgba(99, 102, 241, 0.3) 100%);
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
}

.vm-form input[type="range"]:hover {
    background: linear-gradient(90deg,
            rgba(79, 70, 229, 0.5) 0%,
            rgba(99, 102, 241, 0.5) 100%);
}

/* Webkit (Chrome, Safari, Edge) */
.vm-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow:
        0 0 0 4px rgba(79, 70, 229, 0.2),
        0 4px 12px rgba(79, 70, 229, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.vm-form input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow:
        0 0 0 6px rgba(79, 70, 229, 0.3),
        0 6px 20px rgba(79, 70, 229, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.vm-form input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.05);
    box-shadow:
        0 0 0 8px rgba(79, 70, 229, 0.4),
        0 2px 8px rgba(79, 70, 229, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Firefox */
.vm-form input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow:
        0 0 0 4px rgba(79, 70, 229, 0.2),
        0 4px 12px rgba(79, 70, 229, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.vm-form input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow:
        0 0 0 6px rgba(79, 70, 229, 0.3),
        0 6px 20px rgba(79, 70, 229, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.vm-form input[type="range"]::-moz-range-thumb:active {
    transform: scale(1.05);
}

.vm-form input[type="range"]::-moz-range-track {
    background: linear-gradient(90deg,
            rgba(79, 70, 229, 0.3) 0%,
            rgba(99, 102, 241, 0.3) 100%);
    border-radius: 10px;
    height: 8px;
}

/* Edge/IE */
.vm-form input[type="range"]::-ms-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow:
        0 0 0 4px rgba(79, 70, 229, 0.2),
        0 4px 12px rgba(79, 70, 229, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.vm-form input[type="range"]::-ms-track {
    background: linear-gradient(90deg,
            rgba(79, 70, 229, 0.3) 0%,
            rgba(99, 102, 241, 0.3) 100%);
    border-radius: 10px;
    height: 8px;
    border: none;
    color: transparent;
}

.vm-form input[type="range"]::-ms-fill-lower {
    background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 10px;
}

.vm-form input[type="range"]::-ms-fill-upper {
    background: rgba(79, 70, 229, 0.3);
    border-radius: 10px;
}

.vm-form small {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.terminal {
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Fira Mono', 'Roboto Mono', 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #e4e4e7;
    height: calc(100% - 60px);
    overflow-y: auto;
    overflow-x: hidden;
    white-space: pre-wrap;
    word-wrap: break-word;
    user-select: text;
    cursor: text;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
    scroll-behavior: smooth;
}

.scroll-to-bottom {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(99, 102, 241, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.5);
    transition: all 0.3s ease;
    z-index: 100;
    animation: pulse 2s infinite;
}

.scroll-to-bottom:hover {
    background: rgba(99, 102, 241, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.7);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.5);
    }

    50% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.8);
    }
}

.terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(99, 102, 241, 0.3) 50%,
            transparent 100%);
}

/* Terminal text colors */
.terminal-output {
    color: #e4e4e7;
}

.terminal-success {
    color: #4ade80;
}

.terminal-error {
    color: #f87171;
}

.terminal-warning {
    color: #fbbf24;
}

.terminal-info {
    color: #60a5fa;
}

.terminal-prompt {
    color: #a78bfa;
    font-weight: 600;
}

.terminal-input {
    color: #06b6d4;
    font-weight: 500;
}

/* Custom scrollbar for terminal */
.terminal::-webkit-scrollbar {
    width: 8px;
}

.terminal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.terminal::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 10px;
}

.terminal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

/* Terminal selection styling */
.terminal::selection {
    background: rgba(99, 102, 241, 0.4);
    color: #ffffff;
}

.terminal::-moz-selection {
    background: rgba(99, 102, 241, 0.4);
    color: #ffffff;
}

.ws-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.ws-status.connected {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.ws-status.disconnected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.vm-details-section {
    margin-bottom: 2rem;
}

.vm-details-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.vm-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.vm-info-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 10px;
}

.vm-info-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.vm-info-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.port-mappings-list,
.ssh-keys-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.port-mapping-item,
.ssh-key-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-small {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 6px;
}

/* Segmented Control */
.segmented-control {
    position: relative;
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    width: 100%;
}

.segmented-control input[type="radio"] {
    display: none;
}

.segmented-control label {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.segmented-control input[type="radio"]:checked+label {
    color: #ffffff;
}

.segmented-highlight {
    position: absolute;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 10px;
    height: calc(100% - 8px);
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.segmented-control input[type="radio"]:nth-of-type(2):checked~.segmented-highlight {
    transform: translateX(100%);
}/* Add to glass-ui.css */

.vm-details-section {
    border-radius: 12px !important;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-right: 0.5rem;
}
