.adocao-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.alert-important {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffeaa7;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
    position: relative;
    overflow: hidden;
}

.alert-important::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.alert-important h5 {
    color: #d68910;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3em;
}

.alert-important p {
    color: #935600;
    margin: 0;
    font-size: 1.05em;
    line-height: 1.6;
}

.page-section {
    background: var(--container-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px var(--container-shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-add-pet {
    background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-2));
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3);
}

.btn-add-pet:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.4);
}

.filters-section {
    background: var(--container-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px var(--container-shadow);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95em;
}

.filter-select {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1em;
    background: var(--input-bg);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.1);
}

.search-input {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: var(--input-bg);
    color: var(--text-color);
    width: 100%;
}

.search-input:focus {
    outline: none;
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.1);
}

/* Horizontal Carousel */
.pet-carousel-wrapper {
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}
.pet-carousel-wrapper::-webkit-scrollbar {
    height: 8px;
}
.pet-carousel-wrapper::-webkit-scrollbar-track {
    background: var(--alternate-bg);
    border-radius: 4px;
}
.pet-carousel-wrapper::-webkit-scrollbar-thumb {
    background: var(--brand-teal);
    border-radius: 4px;
}
.pet-carousel {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem;
}
.pet-carousel-item {
    flex: 0 0 auto;
    width: 280px;
    background: var(--container-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--container-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pet-carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--container-shadow);
}
.carousel-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--alternate-bg);
}
.carousel-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.pet-carousel-item:hover .carousel-img-wrap img {
    transform: scale(1.08);
}
.carousel-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    backdrop-filter: blur(6px);
}
.carousel-info {
    padding: 1rem 1.25rem;
}
.carousel-name {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}
.carousel-detail {
    font-size: 0.88em;
    color: var(--text-color);
    margin-bottom: 0.3rem;
    line-height: 1.4;
}
.carousel-detail span {
    color: var(--text-muted);
    font-weight: 500;
}
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--container-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin: 20px 0;
}
.empty-icon {
    font-size: 4em;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.empty-title {
    font-size: 1.5em;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 700;
}
.empty-description {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1em;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    .pet-carousel-item {
        width: 240px;
    }
    .carousel-img-wrap {
        height: 180px;
    }
}
/* Termo de Responsabilidade */
.termo-section {
    max-width: 720px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--container-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--container-shadow);
}
.termo-section h2 {
    text-align: center;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}
.termo-section h2 i {
    margin-right: 0.5rem;
}
.termo-section .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.termo-section .block-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-teal);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-teal);
}
.termo-section .form-group {
    margin-bottom: 1.25rem;
}
.termo-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) {
    .termo-section .form-row {
        grid-template-columns: 1fr;
    }
}
.termo-section label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}
.termo-section input[type="text"],
.termo-section input[type="tel"],
.termo-section input[type="number"],
.termo-section input[type="email"],
.termo-section input[type="file"],
.termo-section select,
.termo-section textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--input-border);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    background: var(--bg-color);
    color: var(--text-color);
    box-sizing: border-box;
}
.termo-section input:focus,
.termo-section select:focus,
.termo-section textarea:focus {
    outline: none;
    border-color: var(--brand-teal);
}
.termo-section .input-group {
    display: flex;
    gap: 0.5rem;
}
.termo-section .input-group input {
    flex: 1;
}
.termo-section .input-group .btn-buscar {
    padding: 0.7rem 1.2rem;
    background: var(--brand-teal);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}
.termo-section .input-group .btn-buscar:hover {
    opacity: 0.9;
}
.termo-section .btn-submit {
    width: 100%;
    padding: 0.9rem;
    background: var(--brand-teal);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}
.termo-section .btn-submit:hover {
    background: var(--brand-teal-dark, #0d9488);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13,148,136,0.4);
}
.termo-section .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.termo-section .termo-important {
    background: var(--alternate-bg);
    padding: 1.25rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
    border-left: 4px solid var(--brand-teal);
}
.termo-section .termo-important p {
    margin-bottom: 0.75rem;
}
.termo-section .termo-important p:last-child {
    margin-bottom: 0;
}
.termo-section .foto-preview {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    background: #000;
    border-radius: 10px;
    display: none;
    margin-top: 0.5rem;
}
.termo-section .camera-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}
.termo-section .msg-box {
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
    display: none;
}
.termo-section .msg-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    display: block;
}
.termo-section .msg-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: block;
}
.termo-question {
    margin-bottom: 1rem;
}
.termo-question label {
    font-weight: 500;
    margin-bottom: 0.3rem;
}
.termo-question input,
.termo-question textarea {
    width: 100%;
}
