body {
    font-family: Arial, sans-serif;
    background-color: azure;
    margin: auto;
    padding: 20px;
    text-align: center;
    color: #333;
}
h1 {
    color: brown;
    margin-bottom: 10px;
}
h2 {
    color: firebrick;
    margin: 15px 0 10px;
}
h3 {
    color: darkred;
    margin: 15px 0 10px;
}
form input,
#deleteId {
    padding: 8px 10px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 180px;
    transition: 0.2s;
}
form input:focus,
#deleteId:focus {
    border-color: firebrick;
    outline: none;
}
button {
    padding: 5px 10px;
    cursor: pointer;
    color: white;
    background-color: crimson;
    border: none;
    border-radius: 6px;
    transition: 0.2s;
}
button:hover {
    background-color: darkred;
    transform: scale(1.05);
}
table {
    width: 60%;
    margin: 20px auto;
    background-color: white;
    border-collapse: collapse;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
th, td {
    padding: 8px 12px;
    border: 1px solid #ccc;
    text-align: center;
}
thead {
    background-color: firebrick;
    color: white;
}
tr:nth-child(even) {
    background-color:whitesmoke;
}
tr:hover {
    background-color:lightgray;
}
td button {
    padding: 5px 10px;
    font-size: 13px;
    border-radius: 5px;
    color: white;
}
td button:nth-child(1) { background-color: green; }
td button:nth-child(2) { background-color:red; }
td button:hover {
     opacity: 0.85;
 }
#details {
    width: 60%;
    background-color: white;
    padding: 15px;
    border: 1px solid #ccc;
    margin: 20px auto;
    border-left: 5px solid firebrick;
    border-right:5px solid firebrick;
    border-radius: 6px;
    text-align: left;
}
#details p {
    margin: 6px 0;
    font-size: 14px;
}
.hidden {
    display: none;
}
@media(max-width: 768px){
    form input, #deleteId, table, #details {
        width: 90%;
    }
}
