body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f8fc;
    margin: 0;
    padding: 20px;
    color: #333;
}

h2, h3 {
    text-align: center;
    color: #222;
}

form {
    max-width: 400px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
}

button:hover {
    background-color: #0056b3;
}

p {
    text-align: center;
}

table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #fafafa;
}

tr:hover {
    background-color: #f1f7ff;
}

tr.top1 {
    background-color: #fffbe6 !important;
    font-weight: bold;
}

tr.top2 {
    background-color: #e8f8ff !important;
}

tr.top3 {
    background-color: #f5eaff !important;
}

@media (max-width: 600px) {
    table, th, td {
        font-size: 14px;
    }

    form {
        width: 95%;
    }

    button {
        font-size: 14px;
    }
}
