.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-height: 650px;
    overflow-y: auto;
}

.card-title {
    font-size: 18px;
    color: #667eea;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    font-weight: 600;
}

.nav-category {
    margin-bottom: 20px;
}

.nav-category h3 {
    color: #333;
    font-size: 14px;
    margin-bottom: 12px;
    padding-left: 8px;
    border-left: 3px solid #667eea;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.nav-item:hover {
    background: #e9ecef;
    transform: translateX(3px);
}

.nav-icon {
    font-size: 20px;
    margin-right: 12px;
}

.nav-info {
    flex: 1;
}

.nav-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 15px;
}

.nav-url {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.nav-actions {
    display: flex;
    gap: 8px;
}

.btn-small {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

.btn-copy {
    background: #28a745;
    color: white;
}

.btn-copy:hover {
    background: #218838;
}

.btn-visit {
    background: #007bff;
    color: white;
}

.btn-visit:hover {
    background: #0056b3;
}

.system-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 15px;
}

.info-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.info-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-value {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    margin-top: 8px;
    overflow: hidden;
    border: 2px solid #d0d0d0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.5s;
}

.progress-disk {
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
}

.progress-memory {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.data-text {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.data-text strong {
    color: #333;
}

.available-list {
    margin-top: 8px;
}

.available-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #e0e0e0;
}

.available-row:last-child {
    border-bottom: none;
}

.available-label {
    font-size: 12px;
    color: #666;
}

.available-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.domain-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    margin-top: 12px;
}

.domain-badge .label {
    font-size: 11px;
    opacity: 0.9;
    margin-bottom: 3px;
}

.domain-badge .value {
    font-size: 16px;
    font-weight: 600;
}

#ts { position: relative; width: 50px; height: 26px; background: #e0e0e0; border-radius: 13px; cursor: pointer; transition: background 0.3s; }
#ts.active { background: #667eea; }
#ts div { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.2); transition: transform 0.3s; }
#ts.active div { transform: translateX(24px); }

.refresh-btn {
    margin-top: 15px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.refresh-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.refresh-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.refresh-status {
    font-size: 11px;
    color: #666;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .system-info {
        grid-template-columns: 1fr;
    }
}