/* Global styles */ body { font-family: Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; } .hang_ngang { display: flex; /* Sử dụng Flexbox để nhóm các phần tử con thành một hàng ngang */ align-items: center; /* Căn giữa các phần tử theo chiều dọc */ gap: 10px; /* Tạo khoảng cách 10px giữa các phần tử */ } input[type="radio"] { width: 17px; /* Điều chỉnh chiều rộng */ height: 17px; /* Điều chỉnh chiều cao */ /* Hoặc bạn có thể sử dụng scale để thay đổi tỉ lệ kích thước */ transform: scale(1.5); /* Thay đổi kích thước gấp 1.5 lần */ } .container { max-width: 100%; overflow-x: auto; } /* Tab styles */ .tab { overflow: hidden; background-color: #f1f1f1; } .tab button { background-color: #ddd; float: left; border: none; outline: none; padding: 14px 16px; cursor: pointer; width: 33%; text-align: center; transition: 0.3s; } .tab button:hover, .tab button.active { background-color: #CC9900; } /* Tab content */ .tab-content { display: none; border-top: none; } .tab-content.active { display: block; } /* Table styles */ .table-container { display: flex; justify-content: flex-start; /* Căn bảng sang trái */ align-items: flex-start; /* Căn trên cùng */ gap: 30px; /* Khoảng cách giữa bảng */ } .table-container table { width: 100%; max-width: 45%; /* Đảm bảo hai bảng không quá lớn */ border-collapse: collapse; background: #fff; } table { width: 100%; border-collapse: collapse; background: #fff; } th, td { border: 1px solid #ddd; padding: 8px; text-align: left; font-size: 14px; } th { color: white; background-color: #333; } tr:nth-child(even) { background: #f9f9f9; } .highlight { background-color: #ff9900 !important; } /* Action buttons */ .action-buttons { display: flex; gap: 8px; } button { background-color: #ff9900; color: white; border: none; font-weight: bold; padding: 5 10px; font-size: 16px; cursor: pointer; border-radius: 5px; transition: background-color 0.3s ease, transform 0.2s ease; } button:hover { background-color: #e68a00; transform: scale(1.05); } button:active { background-color: #cc7a00; transform: scale(0.95); } button.delete-id { background-color: #dc3545; color: white; border: none; padding: 0 5px; cursor: pointer; font-size: 14px; border-radius: 4px; transition: background 0.3s; } button.delete-id:hover { background-color: #c82333; } button.delete-username { background-color: #007bff; color: white; border: none; padding: 0 5px; cursor: pointer; font-size: 14px; border-radius: 4px; transition: background 0.3s; } button.delete-username:hover { background-color: #0056b3; } .alert { display: none; background-color: darkred; color: white; font-size: 18px; } .ip-address { font-size: 15px; font-weight: bold; color: white; } /* Responsive */ @media (max-width: 600px) { th, td { padding: 10px; font-size: 13px; } }