html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background: #f9f9f9;
    color: #333;
}

nav {
    background: #fff;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #3f51b5;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover {
    color: #2c3a99;
}

main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

h1 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #222;
    border-bottom: 2px solid #3f51b5;
    display: inline-block;
    padding-bottom: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

table th,
table td {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

table th {
    background: #f0f0f0;
    font-weight: 600;
}

table tr:hover td {
    background: #fafafa;
}

form {
    margin-top: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-top: 5px;
    font-size: 14px;
}

button,
input[type="submit"] {
    background: #3f51b5;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
    font-size: 14px;
    margin-top: 10px;
}

button:hover,
input[type="submit"]:hover {
    background: #2c3a99;
}

a.button-link {
    display: inline-block;
    background: #3f51b5;
    color: #fff;
    padding: 8px 12px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

a.button-link:hover {
    background: #2c3a99;
}

table td form {
    margin: 0;
    padding: 0;
    display: inline-block;
}

table td form button {
    margin-top: 0;
    padding: 8px 10px;
    font-size: 13px;
}

.notice {
    background: #e7f3fe;
    border-left: 4px solid #3f51b5;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
}

.logout-link {
    margin-left: auto;
}

.btn-update {
    background: #3f51b5;
    color: #fff !important;
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
    margin-left: auto;
}

.btn-update:hover {
    background: #2c3a99;
}


@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    table,
    form {
        font-size: 14px;
    }

    h1 {
        font-size: 24px;
    }
}