/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #0f1624;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

/* Navigation Bar */
nav {
    width: 100%;
    background-color: #2C3E50;  /* Darker shade for modern feel */
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav h1 {
    font-size: 28px;
    font-weight: 500;
}

/* Container to center content */
.container {
    width: 90%;
    max-width: 1200px;
    margin-top: 40px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin-bottom: 30px;
    border-radius: 8px;  /* Rounded corners for table */
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #394151;  /* Soft blue header */
    color: #fff;
    font-weight: 500;
}

/* Row hover effect */
tr:hover {
    background-color: #ecf0f1;  /* Light hover color */
}

/* Alternate row colors */
tbody tr:nth-child(even) {
    background-color: #f9f9f9;  /* Light alternating row colors */
}

/* Action buttons */
button {
    background-color: #2ecc71;  /* Modern green button */
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #27ae60;  /* Darker green on hover */
    transform: translateY(-2px);  /* Slight lift effect */
}

button:focus {
    outline: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav h1 {
        font-size: 22px;
    }

    .container {
        width: 100%;
        padding: 0 15px;
    }

    table {
        font-size: 14px;
    }

    th, td {
        padding: 10px;
    }

    button {
        padding: 8px 16px;
    }
}
