@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-elevated: #22222e;
    --text-primary: #ffffff;
    --text-secondary: #8b8b9e;
    --text-muted: #5c5c6e;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

#app {
    max-width: 100%;
    padding-bottom: env(safe-area-inset-bottom, 20px);
}
.app-header {
    padding: 20px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, transparent 100%);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.brand-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.brand-tagline {
    font-size: 12px;
    color: var(--text-secondary);
}
.nav-tabs {
    display: flex;
    padding: 0 16px;
    gap: 8px;
    margin-bottom: 16px;
}

.nav-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.filter-bar {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.filter-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}
.grid-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px 16px;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #8b5cf6);
    opacity: 0;
    transition: opacity 0.2s;
}

.product-card:active {
    transform: scale(0.98);
}

.product-card:active::before {
    opacity: 1;
}

.product-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.product-badge {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-light);
}

.spec-info {
    display: flex;
    flex-direction: column;
}

.spec-value {
    font-size: 14px;
    font-weight: 600;
}

.spec-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.price-tag {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-tag .amount {
    font-size: 24px;
    font-weight: 700;
    color: #fbbf24;
}

.price-tag .unit {
    font-size: 14px;
    color: var(--text-secondary);
}

.deploy-btn {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px var(--accent-glow);
    transition: all 0.2s;
}

.deploy-btn:active {
    transform: scale(0.95);
}

.deploy-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-sheet.large {
    max-height: 95vh;
}

.modal-overlay.active .modal-sheet {
    transform: translateY(0);
}

.modal-handle {
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto 16px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal-close svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
}
.config-section {
    margin-bottom: 20px;
}

.config-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.config-label svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-light);
}

.product-summary {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-row:not(:last-child) {
    margin-bottom: 8px;
}

.summary-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.summary-value {
    font-weight: 600;
}

.summary-value.stars {
    color: #fbbf24;
}
.os-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.os-option {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.os-option:active {
    transform: scale(0.95);
}

.os-option.selected {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}

.os-option .os-name {
    font-size: 11px;
    font-weight: 500;
    margin-top: 6px;
    color: var(--text-secondary);
}

.os-option.selected .os-name {
    color: var(--accent-light);
}

.os-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.os-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
}
.config-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.config-input:focus {
    border-color: var(--accent);
}

.config-input::placeholder {
    color: var(--text-muted);
}

.input-hint {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}
.config-footer {
    background: var(--bg-card);
    margin: 20px -20px -20px;
    margin-bottom: calc(-20px - env(safe-area-inset-bottom, 0px));
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}

.total-price {
    font-size: 20px;
    color: #fbbf24;
}
.control-panel {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.control-row:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.control-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.control-value {
    font-size: 14px;
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', monospace;
}
.action-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
    font-weight: 600;
}

.action-btn svg {
    width: 24px;
    height: 24px;
}

.action-btn.start {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.action-btn.start svg {
    fill: var(--success);
}

.action-btn.reboot {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.action-btn.reboot svg {
    fill: var(--warning);
}

.action-btn.stop {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.action-btn.stop svg {
    fill: var(--danger);
}

.action-btn:active {
    transform: scale(0.95);
}
.rebuild-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    margin-top: 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.rebuild-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.rebuild-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.rebuild-btn.disabled {
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: not-allowed;
    pointer-events: none;
}
.refresh-status-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.refresh-status-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.refresh-status-btn:active {
    transform: scale(0.98);
}

.refresh-status-btn.spinning svg {
    animation: spin 0.8s linear infinite;
}
.action-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.status-indicator.rebuilding {
    color: var(--warning);
    animation: pulse 1s infinite;
}

.status-indicator.provisioning {
    color: var(--accent-light);
    animation: pulse 1s infinite;
}
.warning-box {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.warning-box svg {
    width: 24px;
    height: 24px;
    fill: var(--danger);
    flex-shrink: 0;
}

.warning-box strong {
    display: block;
    color: var(--danger);
    font-size: 14px;
    margin-bottom: 4px;
}

.warning-box p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.warning-box.danger {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.4);
}
.cancel-service-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    margin-top: 16px;
    background: transparent;
    border: 1px solid var(--danger);
    border-radius: var(--radius-md);
    color: var(--danger);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cancel-service-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.cancel-service-btn:active {
    background: var(--danger);
    color: white;
}
.renew-service-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    margin-top: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.renew-service-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.renew-service-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}
.rdns-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    margin-top: 8px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.rdns-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.rdns-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}
.cancellation-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.cancellation-warning svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    fill: #f59e0b;
    flex-shrink: 0;
}

.cancellation-warning strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 2px;
}

.cancellation-warning p {
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.info-box svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    fill: var(--accent);
    flex-shrink: 0;
}

.info-box p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}
.rdns-records {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.rdns-record {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.rdns-record.selected {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}

.rdns-record:active {
    transform: scale(0.98);
}

.rdns-ip {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'SF Mono', Monaco, monospace;
}

.rdns-ptr {
    font-size: 12px;
    color: var(--text-secondary);
    word-break: break-all;
}

.rdns-loading {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}
.save-rdns-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    margin-top: 16px;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.save-rdns-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.save-rdns-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.save-rdns-btn:active:not(:disabled) {
    transform: scale(0.98);
}
.cancel-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cancel-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.cancel-option:has(input:checked) {
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.05);
}

.cancel-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--danger);
}

.cancel-option-content {
    flex: 1;
}

.cancel-option-content strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cancel-option-content span {
    font-size: 12px;
    color: var(--text-secondary);
}
.cancel-reason {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

.cancel-reason::placeholder {
    color: var(--text-muted);
}

.cancel-reason:focus {
    outline: none;
    border-color: var(--accent);
}
.confirm-cancel-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-cancel-btn:disabled {
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: not-allowed;
}

.confirm-cancel-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.confirm-cancel-btn .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.confirm-rebuild-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-rebuild-btn:disabled {
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: not-allowed;
}

.confirm-rebuild-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.confirm-rebuild-btn .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

.service-card:active {
    transform: scale(0.98);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.service-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.status-badge.online {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.status-badge.offline {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.info-row svg {
    width: 16px;
    height: 16px;
    fill: var(--text-muted);
}

.info-row .label {
    color: var(--text-secondary);
}

.info-row .value {
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'SF Mono', 'Monaco', monospace;
}
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    fill: var(--text-muted);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 280px;
}
.skeleton-card {
    height: 180px;
    background: linear-gradient(90deg,
            var(--bg-card) 25%,
            var(--bg-elevated) 50%,
            var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-lg);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
.hidden {
    display: none !important;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px 12px;
}

.section-header h2 {
    font-size: 18px;
    font-weight: 700;
}

.refresh-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.refresh-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
    transition: transform 0.3s;
}

.refresh-btn:active {
    transform: scale(0.95);
}

.refresh-btn.spinning svg {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
.status-badge.provisioning {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-light);
}

.status-badge.provisioning .status-dot {
    animation: pulse 0.5s infinite;
}
.status-indicator.running {
    color: var(--success);
}

.status-indicator.stopped {
    color: var(--danger);
}
.control-value.copyable {
    cursor: pointer;
    padding: 4px 8px;
    margin: -4px -8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.control-value.copyable:hover {
    background: var(--bg-elevated);
}

.control-value.copyable:active {
    background: var(--accent);
    color: white;
}
@media (min-width: 400px) {
    .specs-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .os-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}