/* Admin-specific styles */ .admin-button { background-color: #dc3545; /* Reddish for danger actions */ color: white; border: none; padding: 5px 10px; margin: 5px; border-radius: 4px; cursor: pointer; } .admin-button:hover { background-color: #c82333; } .user-item { padding: 10px; border-bottom: 1px solid #eee; cursor: pointer; display: flex; justify-content: space-between; align-items: center; } .admin-section { margin-bottom: 20px; border: 1px solid #ddd; border-radius: 5px; overflow: hidden; background: #fff; } .section-title { background-color: #f8f9fa; padding: 10px 15px; margin: 0; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; } .section-title:hover { background-color: #e9ecef; } .section-content { padding: 15px; display: block; /* Default open */ } .section-content.collapsed { display: none; } /* Stats Dashboard */ .stats-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin-bottom: 20px; } .stat-card { background: #fff; border: 1px solid #ddd; border-radius: 5px; padding: 20px; text-align: center; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .stat-card h3 { margin: 0; font-size: 2rem; color: #007bff; } .stat-card p { margin: 5px 0 0; color: #666; text-transform: uppercase; font-size: 0.8rem; font-weight: bold; } /* Fix for layout clipping when content is tall */ body.page-body { align-items: flex-start; } .content-container { margin-top: 50px; margin-bottom: 50px; } /* Scrollable lists to prevent page from expanding too much */ .section-content { max-height: 60vh; overflow-y: auto; }