/* Base styles */
body {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Logo styles */
.logo {
    text-decoration: none;
    position: absolute;
    top: 20px;
    left: 20px;
}

.logo img {
    width: 100px; /* Adjust size as needed */
    height: auto;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 80px auto 20px; /* Added margin for the logo */
    padding: 20px;
    background-color: #111; /* Dark gray container background */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

h1, h2 {
    color: #fff;
    text-align: center;
}

/* Form styles */
.form-container {
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    color: #fff;
}

input, select, button {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
    font-size: 16px;
}

button {
    background-color: #4caf50; /* Green button */
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049; /* Darker green on hover */
}

.message {
    text-align: center;
    margin-top: 10px;
    color: #ff4444; /* Red for error messages */
}

/* Table styles */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #444;
}

th {
    background-color: #333;
    color: #fff;
}

tr:hover {
    background-color: #222;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .logo {
        top: 10px;
        left: 10px;
    }

    .logo img {
        width: 80px; /* Smaller logo for mobile */
    }

    .container {
        padding: 10px;
        margin-top: 60px; /* Adjusted margin for mobile */
    }

    input, select, button {
        font-size: 14px;
    }

    th, td {
        padding: 8px;
    }
}