/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text color */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #1e1e1e; /* Slightly lighter dark background */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    overflow-x: auto; /* Allows horizontal scrolling if needed */
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    text-align: left;
    border: 1px solid #333; /* Darker border for dark mode */
}

th {
    background-color: #333; /* Darker header background */
    color: #e0e0e0; /* Light text color */
}

/* Button Styles */
button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button.confirm {
    background-color: #4caf50; /* Green */
}

button.cancel {
    background-color: #f44336; /* Red */
}

button.confirm:hover {
    background-color: #45a049; /* Darker green on hover */
}

button.cancel:hover {
    background-color: #e53935; /* Darker red on hover */
}

/* Message Styles */
.success {
    color: #4caf50; /* Green */
}

.error {
    color: #f44336; /* Red */
}

/* Form Styles */
form {
    margin: 20px 0;
}

input[type="date"], input[type="time"], input[type="text"], input[type="password"] {
    padding: 8px;
    margin: 8px 0;
    border: 1px solid #333; /* Dark border */
    border-radius: 4px;
    background-color: #222; /* Darker background for inputs */
    color: #e0e0e0; /* Light text color */
    width: calc(100% - 18px); /* Adjust width for padding and border */
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #4caf50;
    border: none;
    color: white;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

.link-button {
    display: inline-block;
    background-color: #2196F3; /* Blue background */
    color: white;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.link-button:hover {
    background-color: #1976D2; /* Darker blue on hover */
}

.styled-button {
    background-color: orange; /* Button color */
    color: white; /* Text color */
    border: none;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.styled-button:hover {
    background-color: darkorange; /* Hover effect */
}

.styled-button:focus {
    outline: none; /* Remove focus outline */
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.5); /* Focus effect */
}


/* Responsive Design */
@media (max-width: 768px) {
    table {
        font-size: 14px;
    }

    th, td {
        padding: 8px;
    }

    button {
        font-size: 14px;
        padding: 6px 12px;
    }
}
