/* Estilos para las tarjetas de mascotas encontradas/perdidas */
.pet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.pet-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.pet-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.pet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.pet-card:hover .pet-image img {
    transform: scale(1.05);
}

.pet-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pet-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #333;
}

.pet-details {
    margin-bottom: 15px;
    flex-grow: 1;
}

.pet-details p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
}

.pet-details i {
    width: 20px;
    margin-right: 8px;
    color: #d97706;
}

.pet-actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.pet-actions .btn {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Estilos para el overlay de estado */
.pet-status-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.pet-status-overlay span {
    background-color: #28a745;
    color: white;
    padding: 5px 15px;
    font-size: 1.2rem;
    font-weight: bold;
    transform: rotate(-15deg);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

/* Estilos para el buscador y filtros */
.search-filter-bar {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-box input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Estilos para el CTA box */
.cta-box {
    background-color: #fff8e1;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    border-left: 5px solid #d97706;
}

.cta-box h3 {
    color: #d97706;
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .pet-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .pet-actions {
        flex-direction: column;
    }
    
    .search-filter-bar .row {
        flex-direction: column;
    }
    
    .search-filter-bar .col-md-5 {
        margin-top: 15px;
        text-align: center;
    }
}
