:root{--primary: #4F46E5;--primary-dark: #4338CA;--primary-light: #EEF2FF;--success: #10B981;--danger: #EF4444;--warning: #F59E0B;--text: #1F2937;--text-light: #6B7280;--bg: #F3F4F6;--white: #FFFFFF;--border: #E5E7EB;--shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);--shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);--radius: 16px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--text);min-height:100vh}.screen{display:none;min-height:100vh}.screen.active{display:block}.logo-icon{width:88px;height:88px;margin:0 auto 20px}.logo-icon svg{width:100%;height:100%}.btn-text{background:none;border:none;color:var(--primary);font-weight:600;font-size:13px;cursor:pointer;display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:8px;transition:background .2s}.btn-text:hover{background:var(--primary-light)}.btn-primary,.btn-secondary,.btn-danger{border:none;padding:10px 18px;border-radius:10px;font-weight:600;font-size:14px;font-family:inherit;cursor:pointer;transition:all .2s}.btn-primary{background:var(--primary);color:#fff;display:flex;align-items:center;gap:6px}.btn-primary:hover{background:var(--primary-dark);transform:translateY(-1px)}.btn-secondary{background:var(--bg);color:var(--text)}.btn-secondary:hover{background:var(--border)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{background:#dc2626}.btn-full{width:100%;justify-content:center}.form-group{margin-bottom:18px}.form-group label{display:block;font-size:13px;font-weight:600;margin-bottom:7px;color:var(--text)}.form-group input,.form-group select,.form-group textarea{width:100%;padding:11px 14px;border:1.5px solid var(--border);border-radius:10px;font-size:14px;font-family:inherit;color:var(--text);transition:border-color .2s;background:var(--white)}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--primary)}#screen-login{background:linear-gradient(135deg,#4f46e5,#7c3aed,#ec4899);display:none;align-items:center;justify-content:center;padding:20px}#screen-login.active{display:flex}.login-container{background:var(--white);border-radius:24px;padding:48px 40px;max-width:420px;width:100%;box-shadow:var(--shadow-lg);text-align:center}.logo-section{margin-bottom:32px}.app-title{font-size:34px;font-weight:800;color:var(--text);letter-spacing:-1px}.app-subtitle{color:var(--text-light);font-size:15px;margin-top:6px}.login-buttons{display:flex;flex-direction:column;gap:14px;margin-bottom:24px}.btn-social{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:13px 20px;border-radius:12px;font-size:15px;font-weight:600;font-family:inherit;cursor:pointer;border:1px solid var(--border);background:var(--white);color:var(--text);transition:all .2s ease}.btn-social:hover{background:var(--bg);transform:translateY(-1px);box-shadow:var(--shadow)}.social-icon{width:20px;height:20px;flex:0 0 20px}.login-footer{font-size:12px;color:var(--text-light);line-height:1.5}.login-back{margin:-18px auto 18px}.login-error,.login-message{font-size:13px;margin:-8px 0 16px}.login-error{color:var(--danger)}.login-message{color:var(--success)}.landing-page{min-height:100vh;background:#fbfaf8;color:#21302b}.landing-header{max-width:1180px;margin:0 auto;padding:22px 32px;display:flex;justify-content:space-between;align-items:center}.landing-brand{display:inline-flex;align-items:center;gap:10px;color:#21302b;text-decoration:none;font-size:20px;font-weight:800}.landing-brand .logo-icon{width:42px;height:42px;margin:0}.landing-login{background:transparent;border:1px solid #d9ded9;border-radius:999px;color:#38534a;padding:10px 18px;font:600 13px inherit;cursor:pointer}.landing-hero{max-width:1180px;margin:0 auto;min-height:620px;padding:58px 32px 72px;display:grid;grid-template-columns:.95fr 1.05fr;gap:60px;align-items:center}.landing-copy{max-width:520px}.landing-kicker{color:#e47b4d;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.landing-copy h1{margin:18px 0;color:#21302b;font-size:clamp(44px,6vw,76px);line-height:.98;letter-spacing:-.055em}.landing-copy h1 em{color:#e47b4d;font-style:normal}.landing-copy>p{max-width:430px;color:#66766f;font-size:18px;line-height:1.6}.landing-actions{display:flex;gap:12px;margin:30px 0 14px;flex-wrap:wrap}.landing-google{background:#fff;color:#21302b;border:1px solid #d9ded9;box-shadow:0 8px 20px #253a3014}.landing-google:hover{background:#fff}.landing-copy small{color:#8a9891;font-size:12px}.landing-visual{position:relative;min-height:480px;overflow:hidden;border-radius:34px;background:linear-gradient(145deg,#d8e9df,#f4d6bd);display:flex;align-items:flex-end;justify-content:center}.landing-sun{position:absolute;width:230px;height:230px;border-radius:50%;background:#f8c88f;opacity:.8;top:42px;right:60px}.pet-scene{position:relative;width:310px;height:410px;margin-bottom:-22px}.pet-head{position:absolute;z-index:3;top:45px;left:50px;width:210px;height:210px;border-radius:48% 48% 44% 44%;background:#a96843;box-shadow:inset -14px -10px #8d5338}.pet-ear{position:absolute;z-index:2;top:25px;width:100px;height:160px;border-radius:70% 25% 65% 30%;background:#784631}.pet-ear-left{left:26px;transform:rotate(-25deg)}.pet-ear-right{right:26px;transform:scaleX(-1) rotate(-25deg)}.pet-eye{position:absolute;top:82px;width:14px;height:18px;border-radius:50%;background:#21302b}.pet-eye-left{left:58px}.pet-eye-right{right:58px}.pet-muzzle{position:absolute;left:68px;bottom:35px;width:74px;height:54px;border-radius:50%;background:#d09267}.pet-muzzle:after{content:"";position:absolute;left:29px;top:13px;width:16px;height:11px;border-radius:50%;background:#38251e}.pet-chest{position:absolute;z-index:1;bottom:0;left:22px;width:265px;height:230px;border-radius:48% 48% 0 0;background:#b8754c}.pet-collar{position:absolute;z-index:4;top:230px;left:47px;width:216px;height:27px;background:#e47b4d;transform:rotate(3deg);box-shadow:0 5px #bd5937}.collar-tag{position:absolute;right:-37px;top:-22px;padding:8px;background:#fff;border-radius:12px;box-shadow:0 12px 24px #26352d33;transform:rotate(7deg)}.landing-caption{position:absolute;left:24px;bottom:22px;padding:10px 14px;border-radius:999px;background:#ffffffd1;color:#38534a;font-size:12px;font-weight:700;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.caption-dot{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#e47b4d}.landing-features{max-width:1180px;margin:0 auto;padding:42px 32px 70px;display:grid;grid-template-columns:repeat(3,1fr);gap:28px;border-top:1px solid #e5e8e4}.landing-features article{padding-right:24px}.feature-number{color:#e47b4d;font-size:12px;font-weight:800}.landing-features h2{margin:14px 0 8px;font-size:20px;letter-spacing:-.02em}.landing-features p{color:#718079;line-height:1.55;font-size:14px}.landing-footer{padding:24px 32px;color:#8a9891;text-align:center;font-size:12px}@media(max-width:760px){.landing-header{padding:18px 20px}.landing-hero{padding:36px 20px 54px;grid-template-columns:1fr;gap:36px}.landing-copy h1{font-size:52px}.landing-visual{min-height:390px}.landing-features{padding:30px 20px 50px;grid-template-columns:1fr;gap:24px}.landing-features article{padding:0}}.dashboard-header{background:var(--white);padding:16px 24px;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow);position:sticky;top:0;z-index:100}.header-left{display:flex;align-items:center;gap:14px}.user-avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,var(--primary),#EC4899);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px}.user-avatar-image{object-fit:cover}.header-info h2{font-size:16px;font-weight:700}.header-badge{display:inline-block;background:var(--primary-light);color:var(--primary-dark);font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;margin-top:2px}.btn-icon{background:none;border:none;padding:10px;border-radius:10px;cursor:pointer;color:var(--text-light);transition:all .2s}.btn-icon:hover{background:var(--bg);color:var(--danger)}.dashboard-content{max-width:900px;margin:0 auto;padding:24px}.section{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px;margin-bottom:24px}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.section-header h3{font-size:18px;font-weight:700}.contact-card{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.contact-row{background:var(--bg);padding:14px 16px;border-radius:12px;display:flex;flex-direction:column;gap:4px}.contact-row>div{display:flex;flex-direction:column;gap:4px}.contact-label{font-size:12px;color:var(--text-light);font-weight:500}.contact-value{font-size:15px;font-weight:600}.pets-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.pet-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:all .25s ease}.pet-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}.pet-photo,.profile-photo{background:linear-gradient(135deg,#e0e7ff,#fce7f3);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.pet-photo{aspect-ratio:4 / 3}.pet-photo img,.profile-photo img{width:100%;height:100%;object-fit:cover}.pet-photo .no-photo{font-size:56px;opacity:.4}.pet-status-badge{position:absolute;top:12px;left:12px;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:700;color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.pet-status-badge.status-ok{background:#10b981e6}.pet-status-badge.status-lost{background:#ef4444e6}.pet-info{padding:16px}.pet-info h4{font-size:17px;font-weight:700;margin-bottom:4px}.pet-type{font-size:13px;color:var(--primary);font-weight:600;text-transform:capitalize;margin-bottom:8px;display:inline-block;background:var(--primary-light);padding:2px 8px;border-radius:6px}.pet-description{font-size:13px;color:var(--text-light);line-height:1.5;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pet-actions{display:flex;gap:8px;padding-top:12px;border-top:1px solid var(--border)}.pet-actions .btn-icon{flex:1;font-size:13px;font-weight:600;color:var(--text);background:var(--bg);border-radius:8px;padding:8px 10px;display:flex;align-items:center;justify-content:center;gap:5px}.pet-actions .btn-icon:hover{background:var(--border);color:var(--text)}.pet-actions .btn-icon.btn-edit:hover{color:var(--primary);background:var(--primary-light)}.pet-actions .btn-icon.btn-delete:hover{color:var(--danger);background:#fee2e2}.empty-state{text-align:center;padding:32px 16px;color:var(--text-light)}.empty-state .empty-icon{font-size:48px;margin-bottom:12px;opacity:.4}.empty-state p{font-size:14px;margin-bottom:16px}.profile-header{background:var(--white);padding:16px 24px;box-shadow:var(--shadow);position:sticky;top:0;z-index:100}.profile-brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);font-size:20px;font-weight:800;text-decoration:none}.profile-brand .logo-icon{width:38px;height:38px;margin:0}.profile-content{max-width:560px;margin:0 auto;padding:24px}.profile-card{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-lg);overflow:hidden}.profile-photo{aspect-ratio:4 / 3}.profile-photo .no-photo{font-size:96px;opacity:.4}.profile-body{padding:24px}.profile-pet-name{font-size:26px;font-weight:800;text-align:center;margin-top:8px}.profile-type{text-align:center;color:var(--primary);font-weight:600;text-transform:capitalize;margin:4px 0 16px}.profile-description{text-align:center;color:var(--text-light);font-size:15px;line-height:1.6;margin-bottom:20px}.profile-status{text-align:center;margin-bottom:24px}.profile-status .status-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 20px;border-radius:999px;font-weight:700;font-size:14px;color:#fff}.status-ok-pill{background:var(--success)}.status-lost-pill{background:var(--danger)}.profile-owner{background:var(--bg);border-radius:12px;padding:18px}.profile-owner h5{font-size:14px;font-weight:700;margin-bottom:12px;color:var(--text);display:flex;align-items:center;gap:8px}.owner-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:14px}.owner-row .label{color:var(--text-light)}.owner-row .value{font-weight:600}.modal-overlay{display:none;position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;align-items:center;justify-content:center;padding:20px;overflow-y:auto}.modal-overlay.active{display:flex}.modal{background:var(--white);border-radius:20px;padding:28px;max-width:480px;width:100%;box-shadow:var(--shadow-lg);max-height:90vh;overflow-y:auto;animation:slide-up .25s ease}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.modal-header h3{font-size:20px;font-weight:700}.btn-close{background:var(--bg);border:none;width:34px;height:34px;border-radius:10px;cursor:pointer;color:var(--text-light);display:flex;align-items:center;justify-content:center;transition:all .2s}.btn-close:hover{background:var(--border);color:var(--text)}.form-group textarea{resize:vertical}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.modal-footer{justify-content:space-between;align-items:center}.modal-actions{display:flex;gap:12px}.status-toggle{display:flex;gap:10px}.status-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;border:1.5px solid var(--border);border-radius:10px;background:var(--white);cursor:pointer;font-family:inherit;font-weight:600;font-size:14px;color:var(--text);transition:all .2s}.status-btn.active{border-color:var(--primary);background:var(--primary-light);color:var(--primary-dark)}.photo-upload-field{position:relative;min-height:150px;border:2px dashed var(--border);border-radius:12px;background:var(--bg);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--text-light);font-size:13px}.photo-upload-field img{width:100%;height:180px;object-fit:cover}.photo-upload-field input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-upload-field:hover{border-color:var(--primary)}.upload-status{color:var(--text-light);font-size:12px;margin-top:6px}.crop-modal{max-width:560px}.crop-area{position:relative;width:100%;height:min(65vw,420px);background:#111827}.crop-zoom{display:flex;align-items:center;gap:12px;margin-top:18px;font-size:13px;font-weight:600}.crop-zoom input{flex:1;accent-color:var(--primary)}.modal-qr{text-align:center}.qr-display{background:var(--white);border:1px solid var(--border);border-radius:16px;padding:20px;margin:0 auto 16px;width:fit-content;max-width:100%}.qr-display svg{display:block;max-width:100%;height:auto}.qr-hint{color:var(--text-light);font-size:13px;line-height:1.5;margin-bottom:12px}.qr-url{color:var(--primary-dark);font-size:12px;line-height:1.4;overflow-wrap:anywhere;margin-bottom:18px}@media print{body{background:#fff}.dashboard-header,.dashboard-content{display:none!important}.modal-overlay.active{position:static;display:block;padding:0;background:#fff}.modal.modal-qr{max-width:none;box-shadow:none;padding:0;overflow:visible}.modal-qr .modal-header .btn-close,.modal-qr .form-actions{display:none}.modal-qr .qr-display{border:none;margin-top:32px}}@keyframes slide-up{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@media(max-width:640px){.login-container{padding:40px 24px;border-radius:20px}.dashboard-header{padding:14px 16px}.dashboard-content{padding:16px}.section{padding:18px}.contact-card{grid-template-columns:1fr}.modal{padding:22px}}
