body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
}

.container {
    justify-content: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.header {
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-align: center;
}

.nav {
    background-color: #333;
    overflow: hidden;
}

.nav a {
    float: left;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    margin-right: 10px;
}

.nav a:hover {
    background-color: #ddd;
    color: black;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    max-width: 600px;
    width: 100%;
    padding: 20px;
    margin: 20px auto;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: block;
    position: relative;
    width: 350px;
    margin: 5px auto;
}

.form-group>* {
    display: block;
    margin-bottom: 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    max-width: 150px;
}

.form-group input[type="submit"]:hover {
    background-color: #0056b3;
}

.admin-container {
    min-height: 70vh;
    /* Đảm bảo container chiếm ít nhất 70% chiều cao viewport */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #007bff;
    color: white;
}


/* Trang danh sách thẻ xe */

.the-xe-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.the-xe-table th,
.the-xe-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.the-xe-table th {
    background-color: #007bff;
    color: white;
}

.error {
    color: red;
    font-size: 14px;
    text-align: center;
}


/* Trang profile */

.profile-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
}

.profile-item {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    margin-right: 10px;
}

.edit-btn {
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.edit-btn:hover {
    background-color: #45a049;
}