body {
    color: #333;
    font-family: sans-serif;
    margin: 20px;
}

.body {
    margin: 0;
    height: 100vh;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #e6e6e6;
}

.img_character {
  max-width: 20%;
  height: auto;
  float: right;
}

/* login.php */
.form_login {
    margin: 50px auto;
    padding: 20px;
    width: 300px;
    background-color: white;
    border-radius: 15px;
}

.form_login input {
    display: block;
    margin: 10px auto;
    width: 80%;
    padding: 8px;
    border-radius: 5px;
}

.login {
    text-align: center;
}

/* user_edit.php */

.form_user {
    margin: 50px auto;
    padding: 20px;
    width: 300px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px #333;
}

.form_user input {
    display: block;
    margin: 10px auto;
    width: 80%;
    padding: 8px;
    border-radius: 5px;
}

.user_edit {
    text-align: center;
}


.message {
    color: green;
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
}

.header {
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #e6e6e6;
    border-radius: 15px;
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        justify-content: center;
        padding: 15px 10px;
    }

    .header > * {
        margin: 5px 0;
    }
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 1s ease;
    display: inline-block;
    transition: transform 0.3s ease-out;
}

.menu a:hover {
    color: rgb(104, 43, 226);
    transform: translateY(-5px);
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

th, td {
    border: 1px solid #6e6e6e;
    padding: 8px;
    text-align: center;
}
th {
    background: #e6e6e6;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

td button {
    background-color: #f0f0f0;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

td button:hover {
    background-color: #b0b0b0;
}

.user_name {
    text-align: left;
}

.button_list {
    text-align: center;
}

.status-active {
    color: green;
}

.status-cancel {
    color: red;
}
