/* ============================================================
   PET DASHBOARD STYLES (my-pets.css)
   ============================================================ */

.m-pet-dashboard-page {
    background: #FFF8F0; /* warm cream */
    min-height: 100vh;
    padding-bottom: 90px; /* Space for bottom nav */
}

/* TOP BAR */
.m-pet-top-bar {
    height: 52px;
    background: transparent;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}
.m-pet-top-bar .back-btn,
.m-pet-top-bar .settings-btn {
    color: #7C2D12;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.m-pet-top-bar .back-btn svg,
.m-pet-top-bar .settings-btn svg {
    width: 22px;
    height: 22px;
}
.m-pet-top-bar .title {
    font-size: 17px;
    font-weight: 700;
    color: #7C2D12;
}

/* BODY */
.m-pet-body {
    padding-top: 60px;
}

/* PET PROFILE CARD */
.m-pet-profile {
    margin: 12px 16px;
    background: #FFF1E6;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.m-pet-profile .pet-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #FDBA74;
    object-fit: cover;
    flex-shrink: 0;
}
.m-pet-profile .pet-info {
    flex: 1;
}
.m-pet-profile .pet-info .name {
    font-size: 20px;
    font-weight: 800;
    color: #7C2D12;
}
.m-pet-profile .pet-info .breed {
    font-size: 13px;
    color: #9A3412;
}
.m-pet-profile .pet-info .paw-icon {
    width: 14px;
    height: 14px;
    color: #C2410C;
    margin-top: 4px;
}
.m-pet-profile .btn-edit {
    border: 1.5px solid #C2410C;
    color: #C2410C;
    background: transparent;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
}

/* TWO COLUMN CARDS */
.m-health-grid {
    margin: 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.grid-card {
    background: white;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
}
.grid-card .heading {
    font-size: 13px;
    font-weight: 800;
    color: #78350F;
    margin-bottom: 10px;
}

/* VACCINATION SPECIFIC */
.alert-banner {
    background: #FEF3C7;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.alert-banner .bell-icon {
    width: 13px;
    height: 13px;
    color: #D97706;
    margin-top: 1px;
    flex-shrink: 0;
}
.alert-banner .alert-title {
    font-size: 11px;
    font-weight: 700;
    color: #92400E;
}
.alert-banner .alert-sub {
    font-size: 10px;
    color: #92400E;
}

.record-row {
    padding: 5px 0;
    border-bottom: 1px solid #FEF3C7;
}
.record-title {
    font-size: 11px;
    font-weight: 600;
    color: #374151;
}
.record-date {
    font-size: 10px;
    color: #6B7280;
}

.btn-card-action {
    width: 100%;
    height: 32px;
    margin-top: 8px;
    background: #FEF3C7;
    color: #92400E;
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

/* MEDICAL HISTORY SPECIFIC */
.history-entry {
    background: #FFF8F0;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 6px;
}
.history-title {
    font-size: 12px;
    font-weight: 700;
    color: #111827;
}
.history-meta {
    font-size: 10px;
    color: #9CA3AF;
}

/* GROWTH TRACKER CARD */
.m-growth-card {
    margin: 10px 16px;
    background: white;
    border-radius: 16px;
    padding: 16px;
}
.m-growth-card .growth-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
}
.m-growth-card .growth-header .title {
    font-size: 15px;
    font-weight: 800;
    color: #78350F;
}
.m-growth-card .growth-header .current-weight {
    font-size: 12px;
    font-weight: 700;
    color: #C2410C;
}
.chart-container {
    width: 100%;
    height: 150px;
    position: relative;
}
.growth-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* RECOMMENDED FOR PET */
.m-pet-recommended {
    margin: 16px 16px 16px;
}
.m-pet-recommended .rec-title {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 2px;
    color: #78350F;
}
.m-pet-recommended .rec-sub {
    font-size: 11px;
    color: #9CA3AF;
    margin-bottom: 10px;
}

.rec-scroll-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    padding-bottom: 10px; /* space for potential shadow */
}
.rec-scroll-row::-webkit-scrollbar {
    display: none;
}
.rec-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: 12px;
    border: 1px solid #F3F4F6;
    padding: 10px;
    width: 160px;
    flex-shrink: 0;
}
.rec-card .rec-img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    background: #F9FAFB;
}
.rec-card .rec-info {
    flex: 1;
}
.rec-card .rec-name {
    font-size: 11px;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rec-card .rec-price {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}
