/* styles.css */

/* General body styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Styling for h1 headers */
h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

/* Container for content */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Button styles */
a.button {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 20px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
}

a.button:hover {
    background-color: #2980b9;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    border: 1px solid #ddd;
    text-align: left;
    padding: 10px;
}

table th {
    background-color: #3498db;
    color: #fff;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

/* Status styles */
.status-active {
    color: green;
    font-weight: bold;
}

.status-inactive {
    color: red;
    font-weight: bold;
}

/* Actions links in table */
.actions a {
    text-decoration: none;
    color: #3498db;
    margin-right: 10px;
}

.actions a:hover {
    text-decoration: underline;
}

/* Message boxes */
.message {
    padding: 10px;
    background-color: #e7f5ff;
    color: #1c7ed6;
    border: 1px solid #91d5ff;
    margin-bottom: 20px;
    border-radius: 4px;
}

.error-message {
    background-color: #ffe3e3;
    color: #c92a2a;
    border: 1px solid #ff8787;
}

/* Media queries for smaller screens */
@media (max-width: 768px) {
    table th, table td {
        font-size: 14px;
    }

    .actions a {
        font-size: 14px;
    }
}
