body { padding: 20px; }
.container { max-width: 900px; margin: 0 auto; }
.top-bar { margin-bottom: 20px; }
.top-bar h1 { color: #333; margin-bottom: 0; }
.add-btn { display: inline-block; background: #4CAF50; color: #fff; border: none; padding: 10px 24px; border-radius: 6px; font-size: 15px; cursor: pointer; text-decoration: none; margin-bottom: 25px; }
.add-btn:hover { background: #45a049; }
.group-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.group-card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: transform 0.2s; }
.group-card:hover { transform: translateY(-3px); }
.group-card h3 { color: #333; margin-bottom: 8px; }
.group-card p { color: #888; font-size: 13px; margin-bottom: 6px; }
.group-card .actions { margin-top: 12px; }
.group-card .actions a { display: inline-block; background: #3498db; color: #fff; padding: 6px 16px; border-radius: 4px; text-decoration: none; font-size: 13px; }
.group-card .actions a:hover { background: #2980b9; }
.group-card .actions form { display: inline; margin-left: 8px; }
.group-card .actions button { background: #e74c3c; color: #fff; border: none; padding: 6px 16px; border-radius: 4px; cursor: pointer; font-size: 13px; }
.group-card .actions button:hover { background: #c0392b; }
.empty { text-align: center; color: #999; padding: 40px; }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 1000; justify-content: center; align-items: center; }
.modal-overlay.show { display: flex; }
.modal-box { background: #fff; border-radius: 12px; padding: 30px 35px; box-shadow: 0 8px 30px rgba(0,0,0,0.2); text-align: center; animation: modalIn 0.25s ease; }
@keyframes modalIn { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-box p { font-size: 16px; color: #333; margin-bottom: 24px; }
.modal-box .modal-actions { display: flex; gap: 12px; justify-content: center; }
.modal-box .btn-cancel { background: #e0e0e0; color: #555; border: none; padding: 9px 28px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.modal-box .btn-cancel:hover { background: #d0d0d0; }
.modal-box .btn-confirm { background: #e74c3c; color: #fff; border: none; padding: 9px 28px; border-radius: 6px; font-size: 14px; cursor: pointer; text-decoration: none; display: inline-block; }
.modal-box .btn-confirm:hover { background: #c0392b; }
.confirm-icon { font-size: 40px; margin-bottom: 10px; }
