/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 20px;
    padding: 0;
    background: linear-gradient(to right, #9afff3, #c4faec);
    text-align: center;
}

/* Container */
.container {
    width: 95%;
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* Page Title */
h1 {
    background: #333;
    color: green;
    padding: 15px;
    border-radius: 5px;
}

/* Table Wrapper for Mobile Responsiveness */
.table-wrapper {
    overflow-x: auto;
    /* Enables horizontal scroll on small screens */
    margin-top: 20px;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

/* Table Headers */
th {
    background: linear-gradient(to right, #75ffd1, #7effd4);
    color: rgb(147, 35, 222);
    padding: 15px;
    font-size: 16px;
    text-transform: uppercase;
}

/* Table Rows */
td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

/* Alternating Row Colors */
tr:nth-child(even) {
    background-color: #ddffe5;
}

tr:nth-child(odd) {
    background-color: #edffef;
}

/* Hover Effect */
tr:hover {
    background: #c2ffbe;
    color: #6b4270;
    transition: 0.3s;
}

/* Responsive Table: Wrap Table into Scrollable Container */
@media screen and (max-width: 768px) {
    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 10px;
    }
}