body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    color: white;
    margin: 0;
    padding: 0;
}

.logo {
    width: 100px;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px;
    background-color: #000000;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
}

h1 {
    text-align: center;
    color: white;
    margin-bottom: 15px;
    font-size: 24px;
}

.animal-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.animal-actions a,
.animal-actions form button {
    width: 100%;
    max-width: 200px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    margin: 5px 0;
}

.animal-actions form input[type="file"] {
    width: 100%;
    max-width: 200px;
    margin: 5px 0;
}

.animal-actions a:hover,
.animal-actions form button:hover {
    background-color: #0056b3;
}

.animal-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.animal-item {
    background-color: #000000;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
}

.animal-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.animal-info strong {
    font-size: 18px;
}

.animal-info span {
    display: block;
    font-size: 14px;
    color: white;
}

.animal-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    margin-left: 20px;
}

.animal-actions .action-button {
    padding: 8px 12px;
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
}

.animal-actions .edit-button {
    background-color: #007bff;
}

.animal-actions .edit-button:hover {
    background-color: #0056b3;
}

.animal-actions .action-button:hover {
    background-color: #218838;
}

@media (max-width: 600px) {
    h1 {
        font-size: 20px;
    }

    .animal-info strong {
        font-size: 16px;
    }

    .animal-info span {
        font-size: 12px;
    }

    .animal-actions .action-button {
        padding: 6px 10px;
        font-size: 12px;
    }

    .animals-actions {
        flex-direction: column;
        align-items: center;
    }

    .animals-actions a,
    .animals-actions form button {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .animals-actions form input[type="file"] {
        max-width: 100%;
    }
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 20px;
    background-color: #007bff;
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
}

.export-btn {
    background-color: #28a745;
    margin-bottom: 20px;
}

.export-btn:hover {
    background-color: #218838;
}

.actions-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(255, 255, 255, 0.5);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-item {
    color: black;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    border-radius: 5px;
    background-color: #4CAF50;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    width: 100%;
}

.actions-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-item:hover {
    background-color: #ddd;
}

.search-box {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.search-box input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px;
}

.search-box input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.no-results {
    text-align: center;
    font-size: 18px;
    color: #666;
}

.flash-message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center;
}

.flash-message.success {
    background-color: #d4edda;
    color: #155724;
}

.flash-message.error {
    background-color: #f8d7da;
    color: #721c24;
}
.filter-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter-dropdown {
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #fff;
}
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}