.pets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.pets-title h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pets-title p {
    color: #666;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--tertiary-color);
    border-radius: 8px;
}

.quick-filters {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pet-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    background: white;
}

.pet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pet-image-container {
    position: relative;
}

.pet-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pet-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
}

.pet-status.available {
    background: var(--primary-color);
}

.pet-status.pending {
    background: #ffa726;
}

.pet-info {
    padding: 1rem;
}

.pet-info h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.pet-details {
    list-style: none;
    margin-bottom: 1rem;
}

.pet-details li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.pet-details .material-icons {
    font-size: 1rem;
    color: var(--primary-color);
}

.pet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: var(--tertiary-color);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.pet-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.favorite-btn {
    padding: 0.5rem;
    aspect-ratio: 1;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.btn-page {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-page.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-page:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}




a {
    text-decoration: none;
    color: var(--secondary-color);
}

a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

a i {
    margin-right: 5px;
    /* 圖示和文字之間的距離 */
    vertical-align: middle;
    /* 垂直對齊 */
}