:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;--color-bg: hsl(30, 60%, 94%);--color-surface: hsl(0, 0%, 100%);--color-surface-alt: hsl(30, 45%, 90%);--color-border: hsl(30, 30%, 80%);--color-border-alt: hsla(20, 40%, 30%, .2);--color-primary: hsl(14, 75%, 55%);--color-primary-hover: hsl(14, 75%, 47%);--color-text-primary: hsl(14, 40%, 28%);--color-secondary: hsl(215, 35%, 28%);--color-secondary-hover: hsl(215, 35%, 22%);--color-text-secondary: hsl(215, 25%, 20%);--color-accent: hsl(42, 90%, 60%);--color-text-muted: hsl(30, 15%, 45%);--color-text-inverse: white;--color-success: hsl(142, 83%, 38%);--color-warning: hsl(38, 83%, 48%);--color-error: hsl(0, 83%, 70%)}*{box-sizing:border-box;margin:0;border:0;padding:0}body{background:var(--color-bg);color:var(--color-text-primary)}.btn-primary{margin-top:.5rem;padding:.5rem;border-radius:.6rem;font-weight:600;cursor:pointer;color:var(--color-text-inverse);background:var(--color-primary)}@media(min-width:768px){.btn-primary{padding:.75rem}}.btn-primary:hover{opacity:.95;box-shadow:0 6px 18px hsla(var(--color-primary),.35)}.btn-primary:disabled{cursor:not-allowed;opacity:.55;filter:grayscale(.25);box-shadow:none}.btn-link{appearance:none;margin-top:.5rem;color:var(--color-primary);font-weight:600;cursor:pointer;background-color:transparent}.btn-link:visited,.btn-link.visited{color:var(--color-accent)}.btn-link.inline{margin:0}.btn-action-gradient{margin-top:.5rem;padding:.75rem;border-radius:.6rem;font-weight:600;cursor:pointer;color:var(--color-text-inverse);background:linear-gradient(120deg,var(--color-primary),var(--color-accent));transition:transform .15s var(--transition-timing),box-shadow .15s var(--transition-timing),opacity .15s var(--transition-timing)}.btn-action-gradient:hover{opacity:.95;box-shadow:0 6px 18px hsla(var(--color-primary),.35)}.btn-action-gradient:disabled{cursor:not-allowed;opacity:.55;filter:grayscale(.25);box-shadow:none}form:not(.custom){display:grid;grid-template-columns:1fr;grid-auto-rows:auto;column-gap:1rem}@media(min-width:567px){form:not(.custom){grid-template-columns:1fr 1fr}form:not(.custom) .formfield:not(.canwrap),form:not(.custom):has(button:only-of-type)>button,form:not(.custom) .fullwidth{grid-column:1 / -1}}.formfield{display:grid;gap:.4rem}.formfield label{font-size:1.2rem;font-weight:600}.formfield input,.formfield select,.formfield textarea{padding:.65rem .75rem;border-radius:.5rem;border:1px solid var(--color-border);background:var(--color-surface-alt);color:var(--color-text-primary);min-width:0px;-webkit-text-fill-color:var(--color-text-primary);transition:all .15s var(--transition-timing);font-size:1.2rem}:is(.formfield input,.formfield select,.formfield textarea)::placeholder{color:var(--color-text-muted);-webkit-text-fill-color:var(--color-text-muted)}:is(.formfield input,.formfield select,.formfield textarea):focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px #2463eb26}:is(.formfield input,.formfield select,.formfield textarea)~p{color:var(--color-error);visibility:hidden;font-size:.85rem;font-weight:600}:is(.formfield input,.formfield select,.formfield textarea):not(:has(~p)){margin-bottom:1.5rem}:is(.formfield input,.formfield select,.formfield textarea):user-valid,:is(.formfield input,.formfield select,.formfield textarea):user-valid:focus,:is(.formfield input,.formfield select,.formfield textarea):user-valid:focus-within{border:1px solid var(--color-success)}:is(.formfield input,.formfield select,.formfield textarea):user-invalid,:is(.formfield input,.formfield select,.formfield textarea):user-invalid:focus,:is(.formfield input,.formfield select,.formfield textarea):user-invalid:focus-within{border:1px solid var(--color-error)}:is(.formfield input,.formfield select,.formfield textarea):user-invalid~p{color:var(--color-error);visibility:visible}.formStatus p{padding:.75rem 1rem;border-radius:.875rem;font-size:1.25rem;font-weight:600}.formStatus p.error{border:2px solid var(--color-error);color:var(--color-error);background-color:var(--color-bg)}.formStatus p.warning{border:2px solid var(--color-warning);color:var(--color-warning);background-color:var(--color-bg)}.formStatus p.success{border:2px solid var(--color-success);color:var(--color-success);background-color:var(--color-bg)}.loadingbox{background-color:var(--color-bg);will-change:background-position;background-image:linear-gradient(105deg,#0000 0% 40%,var(--color-text-muted) 50%,#0000 60% 100%);background-size:200% auto;background-position-x:-50%;animation:loadingbox .5s ease-in-out infinite}@keyframes loadingbox{0%{background-position:150%}to{background-position:-50%}}input[type=file]{padding:.4rem;cursor:pointer;color:#fff}input[type=file]::file-selector-button{padding:.5rem .75rem;margin-right:.75rem;border:none;border-radius:.4rem;background:var(--color-primary);color:#fff;font-weight:600;cursor:pointer;transition:background .15s var(--transition-timing)}input[type=file]::file-selector-button:hover{background:var(--color-primary-hover)}input[type=file]::file-selector-button:active{transform:scale(.97)}#navbar{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;max-width:1200px;margin:auto}#nav-toggle{display:none}#nav-toggle:checked~#menu{display:flex}.hamburger{cursor:pointer}#menu{position:absolute;top:56px;left:0;right:0;background:var(--color-surface);border-top:1px solid var(--color-border);display:none;flex-direction:column;padding:1rem;gap:.75rem;list-style:none;font-size:1.2rem;z-index:50}#menu a{display:block;width:100%;transition:background .15s var(--transition-timing),color .15s var(--transition-timing);pointer-events:all;text-decoration:none;color:var(--color-text-primary);font-weight:500;padding:.5rem;border-radius:6px}#menu a:hover{background:var(--color-primary);color:var(--color-text-inverse)}li :is(#menu a).active{background:var(--color-primary);color:var(--color-text-inverse)}li :is(#menu a).active:hover{background:var(--color-primary);cursor:not-allowed;opacity:.55;filter:grayscale(.25)}@media(min-width:768px){#navbar{padding:1rem 1.5rem}.hamburger{display:none}#menu{position:static;display:flex;flex-direction:row;align-items:center;border:none;padding:0;gap:1.5rem;pointer-events:none}}#home-hero{background-image:url(/images/happy.webp);min-height:480px;max-width:1440px;background-repeat:no-repeat;background-size:cover;font-size:1.6rem;margin:0 auto;padding:1rem;display:grid;grid-auto-rows:1fr 1fr;grid-auto-columns:1fr 1fr 1fr;grid-template-areas:". ." ". ." "glass glass";align-content:end}@media(max-width:720px){#home-hero{background-position:calc((560px - 100vw)/712px*-16rem)}}@media(min-width:1080px){#home-hero{grid-template-areas:". ." ". glass" ". ."}#home-hero>div{width:min-content;height:unset}}#home-hero>div{grid-area:glass;display:flex;flex-flow:column nowrap;background:#00000040;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;border:1px solid rgba(255,255,255,.3);box-shadow:0 4px 30px #0000001a;padding:20px;color:#fff;text-align:center;height:min-content;text-shadow:2px 2px 4px #000000}#home-hero h1{grid-area:head;white-space:nowrap;font-size:1.8rem}@media(min-width:560px){#home-hero h1{font-size:3.6rem}}#home-hero a{appearance:button;text-decoration:none;vertical-align:middle;margin:.5rem auto;padding:.5rem}@media(min-width:720px){#home-hero a{width:16rem;height:8rem;font-size:2.2rem;padding-top:2.5rem}}#home-about{display:grid;gap:2rem;padding:3rem 1.5rem;background:var(--color-surface-alt);text-align:center}#home-about img{width:100%;max-width:700px;margin:0 auto;border-radius:1rem;box-shadow:0 10px 30px var(--color-border-alt)}#home-about p{max-width:700px;margin:1rem auto 0;color:var(--color-text-muted);font-size:1.1rem}.login_card{margin:3rem auto;width:100%;max-width:40rem;background:var(--color-surface);border-radius:1rem;border:1px solid var(--color-border);padding:1.5rem;box-shadow:0 10px 30px #09235d14}.login_card[data-islogin=true]{margin-top:8rem;max-width:420px}.login_title{margin-bottom:1.5rem}.login_title h1{font-size:1.5rem;font-weight:700}.login_title p{margin-top:.25rem;color:var(--color-text-muted)}.login_footer{margin-top:1.5rem;display:flex;justify-content:center;gap:.4rem;font-size:1rem;color:var(--color-text-muted)}@media(min-width:768px){.login_card{padding:2rem}.login_title h1{font-size:1.75rem}}#petSelection{display:grid;gap:1.5rem}#petSelection h2{font-size:2eem;text-align:center}#petSelection form{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr))}#petSelectionResults{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))}#petSelectionResults>h3{font-size:larger;text-align:center;color:var(--color-text-muted)}.petCard{border:1px solid var(--color-border);border-radius:.75rem;padding:1rem;display:grid;gap:.5rem;background:var(--color-surface-alt);transition:transform .15s var(--transition-timing),box-shadow .15s var(--transition-timing)}.petCard:hover{transform:translateY(-3px);box-shadow:0 8px 22px hsla(var(--color-primary),.15)}.petCard img,.petCard div.loadingbox{width:100%;height:12rem;object-fit:cover;border-radius:.5rem}.petCard h3{font-size:1.2rem;font-weight:600}.petCard p{color:var(--color-text-muted);font-size:.95rem}#petProfile{display:grid;gap:3rem;padding:2rem;max-width:1200px;margin:0 auto}@media(min-width:768px){#petProfile{grid-template-columns:1fr 1fr;align-items:center}}#petProfile>div:first-child{width:100%;border-radius:24px;overflow:hidden;background:var(--color-surface-alt)}#petProfile img,#petProfile div.loadingbox{width:100%;height:100%;object-fit:cover;display:block}#petProfile div:last-child{display:flex;flex-direction:column;gap:1.5rem}#petProfile div:last-child header{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}#petProfile div:last-child header h1{font-size:clamp(2.5rem,5vw,3.5rem);font-weight:800;margin:0;color:var(--color-text-primary);line-height:1.1}#petProfile div:last-child>*:nth-child(2){font-size:1.25rem;font-weight:600;color:var(--color-text-secondary);margin:0}#petProfile div:last-child>*:nth-child(3){display:flex;gap:2rem;font-size:1rem;color:var(--color-text-muted);text-transform:capitalize;vertical-align:center;height:100%;align-items:center}#petProfile div:last-child>*:nth-child(4){font-size:1.1rem;line-height:1.7;color:var(--color-text-primary);max-width:60ch}#pageLayout{width:100%}#pageLayoutHero{position:relative;width:100%;height:300px;overflow:hidden}#pageLayoutHeroImage{width:100%;height:18rem;object-fit:cover}#pageLayoutHeroTitle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;color:#fff;text-align:center;text-shadow:2px 2px 4px #000000}#pageLayoutContent{max-width:48rem;margin:0 auto;padding:1rem}@media(min-width:1024px){#pageLayoutContent{max-width:60rem}}.confirmation{min-height:80vh;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;max-width:720px;display:flex;flex-direction:column;gap:2rem;margin:0 auto}.confirmation.invalid h1{font-size:2rem;color:var(--color-error)}.confirmation>p:first-child{font-size:.9rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--color-success)}.confirmation>p{font-size:1.2rem;line-height:1.7;color:var(--color-text-primary)}.confirmation>p:last-child{font-size:.95rem;color:var(--color-text-muted)}.confirmation>h1{font-size:clamp(2.5rem,6vw,4rem);font-weight:800;margin:0;color:var(--color-text-primary)}.records-table-wrapper{display:grid;gap:2rem}.controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;max-width:72rem;margin:0 auto}.records-table{width:72rem;margin:0 auto;border-collapse:collapse;background:var(--color-surface-alt);border-radius:.75rem;overflow:hidden;font-size:1.1rem}.records-table th{text-align:left;padding:1rem;background:var(--color-primary);color:var(--color-text-primary);font-weight:600;border-bottom:1px solid var(--color-border)}.records-table td{padding:.9rem 1rem;border-bottom:1px solid var(--color-border);color:var(--color-text-primary)}.records-table tbody tr{transition:background .15s var(--transition-timing)}.records-table tbody tr:hover{background:var(--color-surface)}.badge{padding:.35rem .7rem;border-radius:999px;font-size:.85rem;font-weight:600}.badge.adoption{background:#21c45d26;color:var(--color-success)}.badge.rehome{background:#ef434326;color:var(--color-error)}
