CSS
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fb;
    margin: 20px;
}


h1 {
    color: #2c3e50;
}

p {
    margin-bottom: 15px;
}

.button, button {
    background-color: #4f8cff;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    margin-right: 10px;
    font-weight: bold;
}

.pet-container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.pet-card {
    background: white;
    padding: 14px;
    border-radius: 12px;
    width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar {
    background: white;
    padding: 18px 28px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
}

.hero h1 {
    margin-top: 0;
}

.hero .button {
    display: inline-block;
}

.pet-image {
    font-size: 42px;
    background: #eef4ff;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pet-photo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.pet-icon {
    display: block;
    margin: 0 auto 15px auto;
}

.profile-button {
    display: block;
    width: 80%;
    margin: 15px auto 0 auto;
    padding: 10px 0;
    border-radius: 999px;
    font-weight: bold;
}

.delete-button {
    background-color: #dc3545;
    color: white;
    border: none;
    margin-left: 15px;
    border-radius: 6px;
    padding: 4px 10px;
}

/* Login page */

.login-page {
    min-height: 100vh;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding-left: 40px;
}

.hero-section {
    position: relative;
    padding-bottom: 100px;
    margin-left: 150px;
    max-width: 650px;
}

.tagline {
    font-size: 20px;
    line-height: 1.6;
}

.pricing-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-left: -20px;
}

.pricing-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
}

.pricing-subtitle {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 12px;
}

.featured {
    border: 3px solid #4f8cff;
}

.badge {
    display: inline-block;
    background: #eef4ff;
    color: #185fa5;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.login-card {
    background: white;
    padding: 35px;
    border-radius: 18px;
    width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    margin-left: 670px;
    align-self: flex-start;
    margin-top: -400px;
}

.login-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-top: -8px;
}

.login-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.login-card button {
    width: 100%;
}

.pet-illustration {
    position: relative;
    width: 230px;
    height: 160px;
    margin-top: 335px;
    margin-left: -50px;
}

.pet-illustration::before {
    content: "";
    position: absolute;
    bottom: 0px;
    right: -10px;
    width: 220px;
    height: 180px;
    border-radius: 50%;
    background: #eaf3fc;
    z-index: 0;
}

.pet-illustration::after {
    content: "";
    position: absolute;
    bottom: 30px;
    right: 130px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff1ed;
    z-index: 0;
}

.pet-illustration svg {
    position: relative;
    z-index: 1;
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

.form-row input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.signup-page .login-card {
    margin-left: 550px;
    margin-top: 250px;
    align-self: auto;
}

.forgot-page .login-card {
    margin-left: 0;
    margin-top: 0;
    align-self: auto;
}

.forgot-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive override for tablet & mobile — resets the desktop pixel offsets above instead of hiding the page */
@media (max-width: 900px) {
    .login-page {
        flex-wrap: wrap;
        justify-content: center;
        padding: 40px 20px;
    }

    .hero-section {
        margin-left: 0;
        padding-bottom: 40px;
    }

    .pricing-container {
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .login-card {
        margin-left: 0 !important;
        margin-top: 20px !important;
        align-self: center;
    }

    .pet-illustration {
        margin-top: 20px;
        margin-left: 0;
    }

    .signup-page .login-card {
        margin-left: 0;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 320px;
    }
}

.species-cat {
    background-color: #fff1ed;
}

.species-dog {
    background-color: #eef4ff;
}

.species-fish {
    background-color: #e9f9f7;
}

.species-bird {
    background-color: #f1ecfb;
}

.species-default {
    background-color: #f4f7fb;
}

.species-cat-button {
    background-color: #ff6f59;
}

.species-dog-button {
    background-color: #4f8cff;
}

.species-fish-button {
    background-color: #2ec4b6;
}

.species-bird-button {
    background-color: #b388eb;
}

.species-default-button {
    background-color: #6b7280;
}

.dashboard-section {
    position: relative;
    padding: 20px;
    overflow: hidden;
    background-color: #eef4ff;
    border-radius: 18px;
}

.report-text-button {
    background-color: #6b7280;
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.report-pdf-button {
    background-color: #ff6f59;
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.report-excel-button {
    background-color: #2ec4b6;
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.print-report-button {
    background-color: #ff6f59;
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

@media print {
    .no-print {
        display: none;
    }
}

.profile-card {
    max-width: 700px;
    margin: 20px auto;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.profile-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

ul li form {
    margin-left: 10px;
}

ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.badge-vet {
    display: inline-block;
    background: #fff8e8;
    color: #9c7a0e;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    text-align: center;
}

.badge-weight-up {
    display: inline-block;
    background: #fdedee;
    color: #c0392b;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.badge-weight-down {
    display: inline-block;
    background: #e9f9f7;
    color: #1e8e80;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.hero {
    background: white;
    padding: 35px;
    border-radius: 18px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    min-height: 120px;
}

.stats-panel {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
    flex-shrink: 0;
    position: absolute;
    top: 10px;
    right: 35px;
}

.stats-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.stats-number {
    font-size: 18px;
    font-weight: bold;
    color: #2F8FE8;
}

.stats-label {
    font-size: 12px;
    color: #6B7280;
}

.badge-lost {
    display: inline-block;
    background: #fdedee;
    color: #c0392b;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.badge-found {
    display: inline-block;
    background: #e9f9f7;
    color: #1e8e80;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.badge-sighting {
    display: inline-block;
    background: #fff8e8;
    color: #9c7a0e;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.badge-resolved {
    display: inline-block;
    background: #eef4ff;
    color: #185fa5;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    margin-left: 6px;
}

.form-row select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 14px;
}

.badge-birthday {
    display: inline-block;
    background: #f1ecfb;
    color: #7b3fbf;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    margin-top: -8px;
}

a.button {
    display: inline-block;
    margin-bottom: 16px;
}

.profile-buttons a.button,
.profile-buttons button {
    height: 40px;
    line-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
    display: inline-flex;
    align-items: center;
}

.shopping-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* iPad landscape — desktop-style side-by-side, scaled to fit */
@media (min-width: 901px) and (max-width: 1300px) {
    .login-page {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding-left: 20px;
        gap: 40px;
    }

    .hero-section {
        margin-left: 0;
        padding-bottom: 0;
        max-width: 400px;
    }

    .pricing-container {
        margin-left: 0;
        flex-direction: row;
        gap: 16px;
    }

    .pricing-card {
        width: 200px;
        max-width: 200px;
    }

    .login-card {
        margin-left: 0;
        margin-top: 0;
        align-self: center;
        width: 300px;
        max-width: 300px;
    }

    .pet-illustration {
        display: none;
    }
}

/* Mobile & tablet — stack everything on the left, no centering, no fixed pixel offsets */
@media (max-width: 1300px) {
    .login-page {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 24px 20px;
        gap: 20px;
    }

    .hero-section {
        margin-left: 0;
        padding-bottom: 0;
        max-width: 100%;
    }

    .pricing-container {
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .pricing-card {
    width: 100%;
    max-width: clamp(320px, 60vw, 600px);
    box-sizing: border-box;
}

    .login-card {
        margin-left: 0 !important;
        margin-top: 0 !important;
        align-self: center;
        width: 100%;
        max-width: clamp(320px, 60vw, 600px);
        box-sizing: border-box;
    }

    .pet-illustration {
        display: none;
    }

    .signup-page {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 24px 20px;
        box-sizing: border-box;
    }

    .signup-page .login-card {
        margin-left: 0;
        margin-top: 0;
        max-width: 420px;
    }
}