﻿.adoption-page {
    min-height: calc(100vh - 80px);
    margin-top: 20px;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--petsolive-light), var(--petsolive-light));
    background-size: 400% 400%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.adoption-title {
    text-align: center;
    margin: 2rem 0 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--petsolive-dark);
}

.adoption-container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    margin-bottom: 2rem;
}

#searchBar {
    border-radius: 30px;
    padding: 0.6rem 1rem;
    border: 1px solid #ccc;
    transition: box-shadow 0.3s, border-color 0.3s;
    outline: none;
    width: 100%;
    font-size: 1rem;
}

    #searchBar:focus {
        border-color: var(--petsolive-primary);
        box-shadow: 0 0 0 0.1rem rgba(30, 136, 229, 0.25);
    }

.adoption-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

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

    .adoption-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .adoption-card .card-body {
        padding: 1rem;
    }

    .adoption-card .card-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        color: var(--petsolive-dark);
    }

    .adoption-card .card-text {
        font-size: 0.95rem;
        color: #555;
    }

    .adoption-card .badge {
        margin-right: 0.3rem;
        padding: 0.3rem 0.6rem;
        border-radius: 4px;
        font-size: 0.8rem;
        color: #ffffff;
    }

    .adoption-card .badge-success {
        background-color: var(--petsolive-success);
    }

    .adoption-card .badge-danger {
        background-color: var(--petsolive-danger);
    }

    .adoption-card .badge-warning {
        background-color: var(--petsolive-warning);
    }

    .adoption-card .badge-info {
        background-color: var(--petsolive-info);
    }

.btn-adoption {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    border: none;
    background-color: var(--petsolive-primary);
    color: #fff;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
}

    .btn-adoption:hover {
        background-color: #1565C0;
        transform: translateY(-1px);
    }

    .btn-adoption:focus {
        outline: none;
        box-shadow: 0 0 0 0.1rem #ffffff, 0 0 0 0.25rem var(--petsolive-primary);
    }

.adoption-form .form-group {
    margin-bottom: 1.2rem;
}

.adoption-form label {
    font-weight: 500;
    color: var(--petsolive-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.adoption-form .form-control {
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: border 0.3s, box-shadow 0.3s;
    outline: none;
    font-size: 1rem;
    width: 100%;
}

    .adoption-form .form-control:focus {
        border-color: var(--petsolive-primary);
        box-shadow: 0 0 0 0.1rem rgba(30, 136, 229, 0.25);
    }

.alert {
    margin: 1rem auto;
    border-radius: 6px;
    font-size: 0.9rem;
    max-width: 600px;
    padding: 1rem;
}

.alert-success {
    background-color: rgba(67, 160, 71, 0.1);
    color: var(--petsolive-success);
    border-left: 4px solid var(--petsolive-success);
}

.alert-danger {
    background-color: rgba(229, 57, 53, 0.1);
    color: var(--petsolive-danger);
    border-left: 4px solid var(--petsolive-danger);
}

@media (max-width: 768px) {
    .adoption-card img {
        height: 180px;
    }

    .adoption-details .card img {
        height: 250px;
    }
}
