body {
  margin-right: 20%;
  margin-left: 20%;
  background-color: white;
  font-family: Arial, Helvetica, sans-serif;

  text-align: center;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

.logo {
  width: 30%;
  height: 30%;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2em 0;
    padding: 2em;
    background: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

label {
    margin-bottom: 0.5em;
    font-weight: bold;
    text-align: left;
    width: 100%;
    max-width: 400px;
}

input,
textarea,
select {
    width: 100%;
    max-width: 400px;
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}

button,
input[type="submit"] {
    padding: 0.7em 2em;
    background-color: rgb(110, 110, 110);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover,
input[type="submit"]:hover {
    background-color: #a8a8a8;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

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

th {
    background-color: #f0f0f0;
    font-weight: bold;
}

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

tr:hover {
    background-color: #f5f5f5;
}
/* Style buttons inside tables */
td button,
td input[type="submit"] {
    padding: 0.5em 1.2em;
    background-color: rgb(110, 110, 110);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.95em;
    cursor: pointer;
    transition: background 0.2s;
    margin: 0 0.2em;
}

td button:hover,
td input[type="submit"]:hover {
    background-color: #a8a8a8;
}


footer {
    margin-top: 2em;
    font-size: 0.9em;
    color: #666;
}

@media (max-width: 600px) {
    body {
        margin-right: 5%;
        margin-left: 5%;
        font-size: 1em;
    }

    .logo {
        width: 70%;
        height: auto;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    td button,
    td input[type="submit"] {
        padding: 0.5em 0.8em;
        font-size: 0.9em;
        width: 100%;
        min-width: 80px;
        box-sizing: border-box;
    }
}

