﻿.lostpet-page {
    margin: 20px 0;
    background: linear-gradient(to right, var(--petsolive-light), var(--petsolive-light));
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lostpetBgAnim 12s ease infinite;
}

@keyframes lostpetBgAnim {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

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

.lostpet-page .lostpet-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: 700px;
    margin-bottom: 2rem;
}

    .lostpet-page .lostpet-container h2 {
        margin-bottom: 1rem;
        text-align: center;
        color: var(--petsolive-dark);
    }

    .lostpet-page .lostpet-container .form-group {
        margin-bottom: 1.2rem;
    }

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

    .lostpet-page .lostpet-container .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%;
    }

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

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

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

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

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

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

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

.lostpet-page .alert-warning {
    background-color: rgba(251, 140, 0, 0.1);
    color: var(--petsolive-warning);
    border-left: 4px solid var(--petsolive-warning);
}

.lostpet-page .alert-info {
    background-color: rgba(142, 35, 170, 0.1);
    color: var(--petsolive-info);
    border-left: 4px solid var(--petsolive-info);
}

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

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

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

    .lostpet-page .lostpet-card .card-body {
        padding: 1rem;
    }

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

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

    .lostpet-page .lostpet-card .btn-primary {
        margin-top: 0.5rem;
        background-color: var(--petsolive-primary);
        border-color: var(--petsolive-primary);
        color: #fff;
    }

        .lostpet-page .lostpet-card .btn-primary:hover {
            background-color: #1565C0;
            border-color: #0D47A1;
        }

.lostpet-page .lostpet-details .card {
    max-width: 700px;
    margin: 2rem auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .lostpet-page .lostpet-details .card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
    }

    .lostpet-page .lostpet-details .card img {
        height: 300px;
        object-fit: cover;
        border-radius: 8px 8px 0 0;
    }

.lostpet-page .lostpet-details .card-header {
    background-color: var(--petsolive-info);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem;
    text-align: center;
}

.lostpet-page .lostpet-details .card-body {
    padding: 1rem;
    text-align: center;
}

.lostpet-page .lostpet-details .card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--petsolive-dark);
}

.lostpet-page .lostpet-details .card-body .btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.lostpet-page .lostpet-details .card-body .btn-secondary {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .lostpet-page .lostpet-container {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .lostpet-page .lostpet-title {
        font-size: 1.5rem;
    }

    .lostpet-page .lostpet-card img {
        height: 180px;
    }

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

.lostpet-page .lostpet-details .card-body p,
.lostpet-page .lostpet-details .card-body h5 {
    text-align: left;
}

.lostpet-page .lostpet-details .card-body .btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.lostpet-page .lostpet-details .card-body .btn-secondary {
    display: inline-block;
}

.lostpet-page .lostpet-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lostpet-page .lostpet-container .form-group {
    width: 100%;
}

    .lostpet-page .lostpet-container .form-group label {
        margin-bottom: 0.5rem;
    }

.lostpet-page .lostpet-container .form-control {
    width: 100%;
}

.lostpet-page .lostpet-container .btn-lostpet {
    width: 100%;
    max-width: 300px;
    align-self: center;
}