/* style.css */
body {
    font-family: Arial, sans-serif;
    margin: 20px auto;
    background-color: #f0f0f0;
    max-width: 1200px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    table-layout: fixed;
    word-wrap: break-word;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}
th, td {
    padding: 15px 12px;
    border: 1px solid #eee;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}
th {
    background-color: #5cb85c;
    color: white;
    padding: 15px 12px;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}
tr:hover {
    background-color: #f5f5f5;
}
form {
    display: inline;
}
input[type='text'] {
    width: 200px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
}
button {
    padding: 12px 20px;
    margin-left: 5px;
    cursor: pointer;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
button:hover {
    background-color: #4cae4c;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.search-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-container input[type='text'] {
    max-width: 300px;
    padding: 10px;
}

.button-group {
    display: flex;
    gap: 10px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    padding: 10px;
}

.pagination a {
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

@media screen and (max-width: 768px) {
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 8px;
    }
}
