* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f0f2f5;
    margin: 10px;
    padding: 0;
}

.container {
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 20px;
    margin-top: 10vh;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

form {
    margin-bottom: 20px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #0056b3;
}

a {
    text-decoration: none;
    color: #007bff;
}

a.logout {
    float: right;
    color: red;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

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

th {
    background-color: #f7f7f7;
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
}

.login-box {
    max-width: 360px;
    margin: 100px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;flex-direction:column;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
}

.modal textarea {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
}

.nav{
    padding:15px;
    display:flex;
    background-color:blue;
    position:fixed;
    left:0px;top:0px;width:100%;
    color:white;justify-content:flex-end;
}
.nav a{color:white;text-decoration:none;}

.search-form {
  display: flex;flex-direction:row;
  gap: 10px;
  align-items:center;
  border:solid 0px;
}

.search-form input[type="text"] {
  flex: 1;
  padding: 8px;
  margin-top:14px;
  min-width: 200px;
}

.search-form button {
  width:80px;height:40px;
}
