body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.container {
    width: 52%; /* Increased by 5% */
    max-width: 1200px; 
    margin: 50px auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container2 {
    width: 30%;
    max-width: 1200px; 
    margin: 50px auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.center-title {
    text-align: center;  
    margin-top: 0;       
    margin-bottom: 30px; 
}

label {
    font-weight: bold;
    color: #555555;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
textarea {
    width: 98%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #cccccc;
}


input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.message {
    margin-top: 20px;
    padding: 10px;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    color: #a94442;
}

.menu {
    background-color: #333333;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu a {
    display: block;
    color: #ffffff;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

.menu a:hover {
    background-color: #555555;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .menu {
        padding: 10px;
        flex-wrap: wrap;
    }

    .menu a {
        padding: 10px;
        flex: 1 0 100%;
        text-align: center;
    }

    th, td {
        padding: 8px 10px;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    background-color: #f2f2f2;
    color: #333;
}

td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* Adjusted width for name and surname columns */
th:nth-child(1),
td:nth-child(1) {
    width: 20%; /* Adjust as needed */
}

th:nth-child(2),
td:nth-child(2) {
    width: 20%; /* Adjust as needed */
}

/* Responsive styles for table */
@media (max-width: 768px) {
    th, td {
        padding: 8px 10px;
    }
}

input[type="date"] {
    height: 15px;
    padding: 10px;
}

.btn {
    display: inline-block;
    margin-left: 10px;
    padding: 8px 15px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}
 
