/* Định dạng bảng và các nút */
.input-group {
    color: black;
    }

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

th {
    background-color: #4CAF50;
    color: white;
}

.resetButton {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}
.changepassButton {
    background-color: #3d00ff;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

/* Style The Dropdown Button */
.dropbtn {
  background-color: #000000;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

/* Thêm định dạng cho toàn bộ thân trang web */
body {
    font-family: Arial, sans-serif;
    background-color: #000; /* Màu đen */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white; /* Đổi màu chữ thành trắng để dễ đọc trên nền đen */
}

/* Định dạng form đăng nhập */
form {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Định dạng các thẻ div chứa input và label */
form div {
    margin-bottom: 15px;
}

/* Định dạng cho label */
label {
    display: block;
    margin-bottom: 5px;
}

/* Định dạng cho input */
input[type="text"],
input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Định dạng cho nút submit */
input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* Định dạng cho thông báo lỗi */
p {
    color: red;
    text-align: center;
}

/* Thêm định dạng cho container logo */
.logo-container {
    text-align: center; /* Căn giữa hình ảnh */
    margin-bottom: 20px; /* Khoảng cách 20px giữa hình ảnh và form */
    margin-left: 20px;
    margin-right: 20px;
}

.logo-container img {
    width: 100%; /* Chiều rộng hình ảnh bằng 100% container */
    max-width: 300px; /* Đặt chiều rộng tối đa cho hình ảnh nếu cần */
}
