/* Layout */
body { 
    margin: 0; 
    padding: 0; 
    height: 100vh; 
    display: flex; 
    font-family: CiscoSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}

.sidebar { 
    width: 250px; 
    background: #f5f5f5; 
    border-right: 1px solid #ddd; 
    padding: 20px; 
    overflow-y: auto; 
}

.main { 
    flex: 1; 
    padding: 30px; 
    overflow-y: auto; 
}

/* Sections */
.section { 
    margin-bottom: 30px; 
}

.section h3 { 
    margin-bottom: 15px; 
    color: #049fd9; 
}

/* Filters */
.filter-group { 
    margin-bottom: 20px; 
}

.filter-item { 
    padding: 8px 12px; 
    margin: 5px 0; 
    border-radius: 4px; 
    background: white; 
    border: 1px solid #ddd; 
    display: flex; 
    align-items: center; 
}

.filter-item:hover { 
    background: #e3f2fd; 
}

.filter-item.active { 
    background: #049fd9; 
    color: white; 
}

.clickable { 
    cursor: pointer; 
}

.clickable:hover { 
    background: #e3f2fd; 
}

/* Platform Filters */
.platform-group { 
    margin-bottom: 15px; 
}

.platform-header { 
    font-weight: bold; 
    padding: 8px; 
    background: #049fd9; 
    color: white; 
    border-radius: 4px; 
    margin-bottom: 5px; 
    cursor: pointer; 
}

.role-item { 
    padding: 8px 12px; 
    margin: 3px 0 3px 15px; 
    border-left: 3px solid #049fd9; 
    background: white; 
    border-radius: 4px; 
    font-size: 14px; 
}

/* PDF/File Items */
.pdf-item { 
    padding: 5px 0; 
}

.pdf-item input[type="checkbox"] { 
    margin-right: 8px; 
}

.pdf-item label { 
    cursor: pointer; 
    font-size: 14px; 
}

/* Config Containers */
.config-container { 
    margin-bottom: 20px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    padding: 15px; 
    background: white; 
    position: relative; 
}

.config-code { 
    margin: 0; 
    padding: 15px; 
    background: #f9f9f9; 
    color: #333; 
    border-radius: 4px; 
    overflow-x: auto; 
    min-height: 150px; 
    max-height: 600px; 
    overflow-y: auto; 
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace; 
    font-size: 12px; 
    line-height: 1.6; 
    white-space: pre; 
}

.yaml-content { 
    background: #f9f9f9; 
    padding: 15px; 
    border-radius: 4px; 
    margin-top: 10px; 
    max-height: 400px; 
    overflow-y: auto; 
    font-family: monospace; 
    font-size: 12px; 
    white-space: pre-wrap; 
    position: relative; 
}

/* Action Buttons */
.copy-btn { 
    position: absolute; 
    top: 8px; 
    right: 8px; 
    padding: 6px 10px; 
    background: rgba(255,255,255,0.9); 
    border: 1px solid #ddd; 
    border-radius: 4px; 
    cursor: pointer; 
    z-index: 10; 
    opacity: 0.7; 
    transition: all 0.2s; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 12px; 
    font-weight: 500; 
    color: #666; 
}

.copy-btn img { 
    width: 14px; 
    height: 14px; 
    display: block; 
}

.copy-btn:hover { 
    opacity: 1; 
    background: #fff; 
    border-color: #049fd9; 
    color: #049fd9; 
}

.download-btn { 
    position: absolute; 
    top: 8px; 
    right: 90px; 
    padding: 6px 10px; 
    background: rgba(255,255,255,0.9); 
    border: 1px solid #ddd; 
    border-radius: 4px; 
    cursor: pointer; 
    z-index: 10; 
    opacity: 0.7; 
    transition: all 0.2s; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 12px; 
    font-weight: 500; 
    color: #666; 
}

.download-btn img { 
    width: 14px; 
    height: 14px; 
    display: block; 
}

.download-btn:hover { 
    opacity: 1; 
    background: #fff; 
    border-color: #049fd9; 
    color: #049fd9; 
}

/* Stats */
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    margin-top: 20px; 
}

.stat-card { 
    background: white; 
    padding: 20px; 
    border-radius: 8px; 
    border: 1px solid #ddd; 
}

.stat-card h4 { 
    margin: 0 0 10px 0; 
    color: #666; 
    font-size: 14px; 
}

.stat-card .value { 
    font-size: 32px; 
    font-weight: bold; 
    color: #049fd9; 
}

/* List Items */
.list-item { 
    background: white; 
    padding: 15px; 
    margin: 10px 0; 
    border-radius: 4px; 
    border: 1px solid #ddd; 
}

.list-item h4 { 
    margin: 0 0 5px 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.list-item p { 
    margin: 5px 0; 
    color: #666; 
    font-size: 14px; 
}

/* Format Toggle */
.format-toggle { 
    display: inline-flex; 
    gap: 5px; 
}

.format-btn { 
    padding: 4px 12px; 
    border: 1px solid #049fd9; 
    background: white; 
    color: #049fd9; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 12px; 
    font-weight: 500; 
}

.format-btn.active { 
    background: #049fd9; 
    color: white; 
}

.format-btn:hover:not(.active) { 
    background: #e3f2fd; 
}

/* Tabs */
.tabs-container { 
    border-bottom: 2px solid #ddd; 
    margin-bottom: 20px; 
}

.tabs-nav { 
    display: flex; 
    gap: 0; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}

.tab-btn { 
    padding: 12px 24px; 
    background: none; 
    border: none; 
    border-bottom: 3px solid transparent; 
    cursor: pointer; 
    font-size: 16px; 
    font-weight: 500; 
    color: #666; 
    transition: all 0.2s; 
}

.tab-btn:hover { 
    color: #049fd9; 
    background: #f5f5f5; 
}

.tab-btn.active { 
    color: #049fd9; 
    border-bottom-color: #049fd9; 
    font-weight: 600; 
}

.tab-content { 
    display: none; 
}

.tab-content.active { 
    display: block; 
}
