/* =========================================
   PETS PAGE
========================================= */

.pets-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fill,minmax(380px,1fr));

    gap: 32px;
}

.pet-card {

    display: flex;

    flex-direction: column;

    overflow: hidden;
}

.pet-photo-wrapper {

    width: 100%;

    height: 240px;

    background: #091224;

    overflow: hidden;
}

.pet-photo {

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

    background: #091224;
}

.pet-card-content {

    display: flex;

    flex-direction: column;

    gap: 18px;

    padding: 28px;

    flex: 1;
}

.pet-main-info h2 {

    margin: 0;

    font-size: 48px;
}

.pet-breed {

    color: #94a3b8;

    font-size: 22px;
}

.pet-action-group {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: auto;
}

.pet-action-btn {

    padding: 14px 20px;

    border-radius: 18px;

    background:
        rgba(255,255,255,0.06);

    color: white;

    font-weight: 700;
}

/* =========================================
   PET GRID
========================================= */

.pets-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(420px,1fr));

    gap: 30px;

    align-items: start;
}

/* =========================================
   PET CARD
========================================= */

.pet-protection-card {

    background:
        rgba(8,20,43,0.84);

    border:
        1px solid rgba(255,255,255,0.05);

    border-radius: 32px;

    overflow: hidden;

    box-shadow:
        0 20px 40px rgba(0,0,0,0.22);

    position: relative;
}

/* =========================================
   STATUS
========================================= */

.pet-status {

    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 10;

    display: inline-flex;

    align-items: center;

    padding: 10px 16px;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.08em;
}

.safe-status {

    background:
        rgba(34,197,94,0.16);

    color: #4ade80;
}

.lost-status {

    background:
        rgba(239,68,68,0.18);

    color: #f87171;
}

/* =========================================
   PHOTO
========================================= */

.pet-photo-wrapper {

    width: 100%;

    height: 280px;

    background: #091224;

    overflow: hidden;
}

.pet-photo {

    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center;

    display: block;

    background: #091224;
}

/* =========================================
   CONTENT
========================================= */

.pet-card-content {

    padding: 30px;

    display: flex;

    flex-direction: column;

    gap: 22px;
}

.pet-main-info h2 {

    margin: 0 0 8px;

    font-size: 52px;

    line-height: 1;

    font-weight: 800;
}

.pet-breed {

    color: #9fb0d9;

    font-size: 22px;
}

/* =========================================
   TAG
========================================= */

.pet-tag-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    padding: 10px 16px;

    border-radius: 999px;

    background:
        rgba(255,255,255,0.06);

    color: #dbe4ff;

    font-size: 14px;

    font-weight: 700;
}

/* =========================================
   LAST ACTIVITY
========================================= */

.pet-last-activity {

    color: #9fb0d9;

    line-height: 1.7;
}

/* =========================================
   ACTIONS
========================================= */

.pet-action-group {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}

.pet-action-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 20px;

    border-radius: 18px;

    background:
        rgba(255,255,255,0.06);

    color: white;

    border: none;

    font-weight: 700;

    cursor: pointer;

    transition: 0.25s;
}

.pet-action-btn:hover {

    transform: translateY(-2px);

    background:
        rgba(255,255,255,0.1);
}

.tracking-btn {

    background:
        rgba(59,130,246,0.16);

    color: #60a5fa;
}

.success-btn {

    background:
        rgba(34,197,94,0.16);

    color: #4ade80;
}

.danger-btn,
.delete-btn {

    background:
        rgba(239,68,68,0.14);

    color: #f87171;
}

.locked-btn {

    background:
        rgba(245,158,11,0.14);

    color: #fbbf24;
}

/* =========================================
   LOST MODAL
========================================= */

.lost-modal-overlay {

    position: fixed;

    inset: 0;

    background:
        rgba(2,6,23,0.82);

    backdrop-filter: blur(8px);

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 9999;

    padding: 24px;
}

.lost-modal-card {

    width: 100%;

    max-width: 620px;

    background:
        rgba(8,20,43,0.96);

    border:
        1px solid rgba(255,255,255,0.06);

    border-radius: 32px;

    padding: 34px;

    box-shadow:
        0 30px 60px rgba(0,0,0,0.4);
}

.lost-modal-card h2 {

    margin: 0 0 14px;

    font-size: 34px;

    font-weight: 800;
}

.lost-modal-card p {

    color: #9fb0d9;

    line-height: 1.7;

    margin-bottom: 24px;
}

/* =========================================
   TEXTAREA
========================================= */

.lost-textarea {

    width: 100%;

    min-height: 160px;

    border-radius: 24px;

    border:
        1px solid rgba(255,255,255,0.06);

    background:
        rgba(255,255,255,0.03);

    color: white;

    padding: 22px;

    font-size: 16px;

    resize: vertical;

    margin-bottom: 22px;

    outline: none;
}

.lost-textarea:focus {

    border-color:
        rgba(59,130,246,0.5);

    box-shadow:
        0 0 0 4px rgba(59,130,246,0.12);
}

/* =========================================
   FULL BUTTONS
========================================= */

.full-btn {

    width: 100%;

    margin-top: 12px;
}
/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .pets-grid {

        grid-template-columns: 1fr;
    }

    .pet-main-info h2 {

        font-size: 40px;
    }

    .pet-breed {

        font-size: 18px;
    }

    .pet-action-group {

        flex-direction: column;
    }

    .pet-action-btn {

        width: 100%;
    }
}