/* 动物认领页面样式 */

/* 动物认领页面现在使用统一的hero-section样式 */

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.feature-box {
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-radius: 10px;
    background: #fff;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1);
}

.animal-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.animal-stats {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.stat-item {
    display: inline-block;
    margin-right: 15px;
    font-size: 0.875rem;
    color: #6c757d;
}

.animal-filter {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-title {
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.btn-rounded {
    border-radius: 50px;
    padding: 10px 30px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
    border-radius: 3px;
}

/* 筛选器样式 */
.animal-filter {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.animal-filter .filter-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.animal-filter .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.animal-filter .form-select:focus {
    border-color: #4ecdc4;
    box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.25);
}

/* 流程步骤样式 */
.process-step {
    padding: 2rem 1rem;
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step .step-icon {
    font-size: 2.5rem;
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.process-step h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* 常见问题样式 */
.accordion-button {
    font-weight: 600;
    color: #2c3e50;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.accordion-body {
    background: #f8f9fa;
    color: #495057;
}

/* 模态框样式 */
.animal-modal .modal-content {
    border-radius: 15px;
    border: none;
}

.animal-modal .modal-header {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

.animal-modal .modal-body {
    padding: 2rem;
}

.animal-modal .animal-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.animal-modal .animal-details {
    margin-bottom: 1.5rem;
}

.animal-modal .detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.animal-modal .detail-label {
    font-weight: 600;
    color: #2c3e50;
}

.animal-modal .detail-value {
    color: #6c757d;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .animal-card {
        margin-bottom: 1.5rem;
    }
    
    .animal-filter {
        margin-bottom: 1.5rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .animal-modal .modal-body {
        padding: 1rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animal-card {
    animation: fadeInUp 0.6s ease forwards;
}

.animal-card:nth-child(1) { animation-delay: 0.1s; }
.animal-card:nth-child(2) { animation-delay: 0.2s; }
.animal-card:nth-child(3) { animation-delay: 0.3s; }
.animal-card:nth-child(4) { animation-delay: 0.4s; }
.animal-card:nth-child(5) { animation-delay: 0.5s; }

/* 加载状态 */
.animal-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.animal-loading .spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4ecdc4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 表单样式 */
.claim-form .form-control,
.claim-form .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.claim-form .form-control:focus,
.claim-form .form-select:focus {
    border-color: #4ecdc4;
    box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.25);
}

.claim-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}