.animal-detail-container{background:#f8f9fa;min-height:100vh}.animal-detail-container.with-secondary-menu .detail-layout{display:flex;min-height:100vh}.animal-detail-container.with-secondary-menu .animal-secondary-menu{flex-shrink:0;height:100vh;position:sticky;top:0;z-index:1030}@media(max-width:1400px){.animal-detail-container.with-secondary-menu .animal-secondary-menu{height:100vh;left:0;position:fixed;top:0;transition:transform .3s ease;z-index:1040}.animal-detail-container.with-secondary-menu .animal-secondary-menu.collapsed{transform:translateX(-100%)}.animal-detail-container.with-secondary-menu .animal-secondary-menu.expanded{transform:translateX(0)}}.animal-detail-container.with-secondary-menu .detail-main-content{flex:1;min-width:0;overflow-y:auto}.loading-state{color:#6b7280;gap:1rem;min-height:60vh}.loading-state .animate-spin{animation:spin 1s linear infinite;color:#16a34a}.secondary-menu-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:rgba(0,0,0,.5);inset:0;opacity:0;position:fixed;transition:all .3s ease;visibility:hidden;z-index:1020}.secondary-menu-backdrop.show{opacity:1;visibility:visible}.content-container{margin:0 auto;max-width:1140px;padding:1.5rem;position:relative}@media(min-width:1400px){.content-container{max-width:1200px}}@media(min-width:1600px){.content-container{max-width:1280px}}@media(max-width:1200px){.content-container{padding:1rem}}@media(max-width:768px){.content-container{padding:1rem}}.menu-toggle-btn{align-items:center;background:linear-gradient(135deg,#16a34a,#15803d);border:none;border-radius:1rem;box-shadow:0 4px 6px rgba(0,0,0,.07);color:#fff;cursor:pointer;display:flex;height:48px;justify-content:center;left:1rem;position:fixed;top:80px;transition:all .3s ease;width:48px;z-index:1030}.menu-toggle-btn:hover{box-shadow:0 10px 15px rgba(0,0,0,.1);transform:scale(1.05)}@media(min-width:1400px){.menu-toggle-btn{display:none}}.animal-hero-card{background:#fff;border:1px solid #e5e7eb;border-radius:1.5rem;box-shadow:0 1px 3px rgba(0,0,0,.05);margin-bottom:1.5rem;padding:28px}@media(max-width:768px){.animal-hero-card{padding:1rem}}.animal-hero-card .hero-content{align-items:flex-start;display:flex;gap:1.5rem;margin-bottom:1.5rem}@media(max-width:768px){.animal-hero-card .hero-content{align-items:center;flex-direction:column;text-align:center}}.animal-hero-card .animal-avatar-large{align-items:center;background:linear-gradient(135deg,rgba(22,163,74,.1),rgba(22,163,74,.05));border:3px solid rgba(22,163,74,.2);border-radius:1.5rem;box-shadow:0 4px 16px rgba(22,163,74,.15);display:flex;flex-shrink:0;height:88px;justify-content:center;position:relative;width:88px}.animal-hero-card .animal-avatar-large .avatar-emoji{font-size:44px}.animal-hero-card .animal-avatar-large .avatar-status{border:3px solid #fff;border-radius:50%;bottom:-4px;box-shadow:0 1px 3px rgba(0,0,0,.05);height:20px;position:absolute;right:-4px;width:20px}@media(max-width:768px){.animal-hero-card .animal-avatar-large{height:72px;width:72px}.animal-hero-card .animal-avatar-large .avatar-emoji{font-size:36px}}.animal-hero-card .hero-info{flex:1;min-width:0}.animal-hero-card .hero-info .hero-title-row{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:.75rem}@media(max-width:768px){.animal-hero-card .hero-info .hero-title-row{justify-content:center}}.animal-hero-card .hero-info .hero-title-row h1{color:#15803d;font-size:1.5rem;font-weight:700;margin:0}@media(max-width:768px){.animal-hero-card .hero-info .hero-title-row h1{font-size:1.25rem}}.animal-hero-card .hero-info .hero-badges{display:flex;flex-wrap:wrap;gap:.5rem}.animal-hero-card .hero-info .hero-badges .hero-badge{border-radius:20px;font-size:.75rem;font-weight:600;letter-spacing:.03em;padding:5px 12px;text-transform:uppercase}.animal-hero-card .hero-info .hero-badges .hero-badge.type{background:#16a34a;color:#fff}.animal-hero-card .hero-info .hero-badges .hero-badge.gender{background:#dbeafe;color:#0369a1}.animal-hero-card .hero-info .hero-meta{display:flex;flex-wrap:wrap;gap:1rem}@media(max-width:768px){.animal-hero-card .hero-info .hero-meta{gap:.75rem;justify-content:center}}.animal-hero-card .hero-info .hero-meta .meta-item{align-items:center;background:#f8f9fa;border:1px solid #f3f4f6;border-radius:1rem;color:#6b7280;display:flex;font-size:.875rem;font-weight:500;gap:6px;padding:6px 12px}.animal-hero-card .hero-info .hero-meta .meta-item svg{color:#16a34a}.animal-hero-card .hero-stats{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin-bottom:1.5rem}@media(max-width:600px){.animal-hero-card .hero-stats{grid-template-columns:repeat(2,1fr)}}.animal-hero-card .hero-stats .stat-card{align-items:center;background:#f8f9fa;border:1px solid #f3f4f6;border-radius:1rem;display:flex;gap:.75rem;padding:1rem 1.5rem;transition:all .3s ease}.animal-hero-card .hero-stats .stat-card:hover{box-shadow:0 1px 3px rgba(0,0,0,.05);transform:translateY(-2px)}.animal-hero-card .hero-stats .stat-card svg{color:#16a34a;flex-shrink:0}.animal-hero-card .hero-stats .stat-card .stat-info{display:flex;flex-direction:column;min-width:0}.animal-hero-card .hero-stats .stat-card .stat-info .stat-value{color:#1f2937;font-size:1.125rem;font-weight:700;line-height:1.25}.animal-hero-card .hero-stats .stat-card .stat-info .stat-label{color:#6b7280;font-size:.7rem;font-weight:600;letter-spacing:.05em;margin-top:2px;text-transform:uppercase}.animal-hero-card .bcs-progress .progress-header{align-items:center;color:#1f2937;display:flex;font-size:.875rem;font-weight:600;justify-content:space-between;margin-bottom:.5rem}.animal-hero-card .bcs-progress .progress-header .progress-value{color:#16a34a;font-weight:700}.animal-hero-card .bcs-progress .bcs-bar{background:#f3f4f6;border-radius:5px;height:10px}.animal-hero-card .bcs-progress .bcs-bar .progress-bar{background:linear-gradient(90deg,#16a34a,#15803d);border-radius:5px}.tab-navigation-enhanced{background:#fff;border:1px solid #e5e7eb;border-radius:1rem;box-shadow:0 1px 3px rgba(0,0,0,.05);display:flex;gap:0;margin-bottom:1.5rem;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.tab-navigation-enhanced::-webkit-scrollbar{display:none}.tab-navigation-enhanced .tab-btn{align-items:center;background:transparent;border:none;border-bottom:3px solid transparent;color:#6b7280;cursor:pointer;display:flex;flex:1;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center;padding:1rem 1.5rem;transition:all .3s ease;white-space:nowrap}@media(max-width:768px){.tab-navigation-enhanced .tab-btn{padding:.75rem 1rem}.tab-navigation-enhanced .tab-btn span{display:none}}.tab-navigation-enhanced .tab-btn:hover{background:#f8f9fa;color:#1f2937}.tab-navigation-enhanced .tab-btn.active{background:rgba(22,163,74,.05);border-bottom-color:#16a34a;color:#16a34a;font-weight:600}.detail-section{background:#fff;border:1px solid #e5e7eb;border-radius:1rem;box-shadow:0 1px 3px rgba(0,0,0,.05);margin-bottom:1.5rem;overflow:hidden;transition:all .3s ease}.detail-section:hover{box-shadow:0 4px 6px rgba(0,0,0,.07)}.detail-section .section-header-enhanced{align-items:center;background:#fff;border-bottom:1px solid #f3f4f6;cursor:pointer;display:flex;justify-content:space-between;padding:1.5rem 2rem;transition:all .3s ease}@media(max-width:768px){.detail-section .section-header-enhanced{padding:1rem}}.detail-section .section-header-enhanced:hover{background:rgba(22,163,74,.02)}.detail-section .section-header-enhanced .section-title-group{align-items:center;display:flex;gap:.75rem}.detail-section .section-header-enhanced .section-title-group .section-icon{color:#16a34a}.detail-section .section-header-enhanced .section-title-group h3{color:#1f2937;font-size:1.125rem;font-weight:600;margin:0}.detail-section .section-header-enhanced svg:last-child{color:#16a34a}.detail-section.collapsed .section-header-enhanced{border-bottom:none}.detail-section .section-content-enhanced{padding:1.5rem 2rem}@media(max-width:768px){.detail-section .section-content-enhanced{padding:1rem}}.detail-grid{display:grid;gap:0 3rem;grid-template-columns:repeat(2,1fr)}@media(max-width:768px){.detail-grid{grid-template-columns:1fr}}.detail-row-enhanced{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;min-height:56px;padding:1rem 0}.detail-row-enhanced:last-child{border-bottom:none}@media(max-width:768px){.detail-row-enhanced{align-items:flex-start;flex-direction:column;gap:.5rem;padding:.75rem 0}}.detail-row-enhanced .detail-label-enhanced{color:#6b7280;font-size:.8rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase}.detail-row-enhanced .detail-value-enhanced{color:#1f2937;font-size:.875rem;font-weight:500;text-align:right}@media(max-width:768px){.detail-row-enhanced .detail-value-enhanced{text-align:left}}.detail-row-enhanced .detail-value-enhanced .value-badge{align-items:center;border-radius:20px;display:inline-flex;font-size:.8rem;font-weight:600;padding:6px 14px}.notes-section{background:#fff;border:1px solid #e5e7eb;border-radius:1rem;box-shadow:0 1px 3px rgba(0,0,0,.05);margin-bottom:1.5rem;padding:1rem 1.5rem}.notes-section .notes-header{align-items:center;color:#1f2937;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;margin-bottom:.75rem}.notes-section .notes-header svg{color:#16a34a}.notes-section .notes-content{color:#6b7280;font-size:.875rem;font-style:italic;line-height:1.6;margin:0}.detail-actions{align-items:center;border-top:1px solid #e5e7eb;display:flex;justify-content:space-between;margin-top:.5rem;padding-top:1.5rem}@media(max-width:600px){.detail-actions{flex-direction:column;gap:.75rem}}.detail-actions .btn-back,.detail-actions .btn-edit{align-items:center;border-radius:1rem;display:inline-flex;font-size:.875rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;text-decoration:none;transition:all .3s ease}.detail-actions .btn-back:hover,.detail-actions .btn-edit:hover{transform:translateY(-2px)}@media(max-width:600px){.detail-actions .btn-back,.detail-actions .btn-edit{justify-content:center;width:100%}}.detail-actions .btn-back{background:#fff;border:2px solid #e5e7eb;color:#1f2937}.detail-actions .btn-back:hover{background:#f8f9fa;border-color:#9ca3af;color:#1f2937}.detail-actions .btn-edit{background:linear-gradient(135deg,#16a34a,#15803d);border:none;box-shadow:0 4px 12px rgba(22,163,74,.3);color:#fff}.detail-actions .btn-edit:hover{box-shadow:0 6px 20px rgba(22,163,74,.4);color:#fff}.tab-content-area{min-height:300px}.tab-content-area .detail-section:first-child{margin-top:.5rem}@media(max-width:1400px){.content-container{padding-left:1.5rem;padding-right:1.5rem}}@media(max-width:768px){.animal-hero-card .hero-stats{gap:.75rem}.animal-hero-card .hero-stats .stat-card{flex-direction:column;gap:.5rem;padding:.75rem;text-align:center}}@media print{.animal-detail-container .animal-secondary-menu,.animal-detail-container .detail-actions,.animal-detail-container .menu-toggle-btn,.animal-detail-container .secondary-menu-backdrop,.animal-detail-container .tab-navigation-enhanced{display:none!important}.animal-detail-container .content-container{max-width:none;padding:0}.animal-detail-container .animal-hero-card,.animal-detail-container .detail-section{border:1px solid #ddd;box-shadow:none;-moz-column-break-inside:avoid;break-inside:avoid}.animal-detail-container .detail-section.collapsed .section-content-enhanced{display:block!important}}.animal-update-container.smart-form{background:linear-gradient(135deg,#f0fdf4,#ecfdf5 50%,#f0fdf4);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;min-height:100vh;-webkit-font-smoothing:antialiased}.animal-update-container.smart-form .main-content{min-height:100vh;width:100%}.animal-update-container.smart-form .content-container{margin:0 auto;max-width:1140px;padding:18px 24px}@media(min-width:1400px){.animal-update-container.smart-form .content-container{max-width:1200px;padding:18px 40px}}@media(min-width:1600px){.animal-update-container.smart-form .content-container{max-width:1280px}}@media(max-width:1200px){.animal-update-container.smart-form .content-container{max-width:100%;padding:14px 18px}}@media(max-width:768px){.animal-update-container.smart-form .content-container{padding:10px}}.form-progress-header{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.04);display:flex;gap:18px;justify-content:space-between;margin-bottom:10px;padding:10px 18px}.form-progress-header .progress-info h1{color:#1e293b;font-size:1.25rem;font-weight:700;letter-spacing:-.025em;margin:0 0 2px}.form-progress-header .progress-info .progress-subtitle{color:#64748b;font-size:.8rem;margin:0}.form-progress-header .progress-ring{flex-shrink:0;height:48px;position:relative;width:48px}.form-progress-header .progress-ring svg{height:100%;transform:rotate(-90deg);width:100%}.form-progress-header .progress-ring circle{fill:none;stroke-width:5;stroke-linecap:round}.form-progress-header .progress-ring .progress-bg{stroke:#e2e8f0}.form-progress-header .progress-ring .progress-fill{stroke:#16a34a;transition:stroke-dasharray .5s ease}.form-progress-header .progress-ring .progress-text{color:#16a34a;font-size:.85rem;font-weight:700;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}@media(max-width:768px){.form-progress-header{padding:10px 14px}.form-progress-header .progress-info h1{font-size:1.25rem}.form-progress-header .progress-ring{height:60px;width:48px}}.step-indicators{display:flex;gap:6px;margin-bottom:10px;overflow-x:auto;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:flex-start;padding:10px 14px;scrollbar-width:none}.step-indicators::-webkit-scrollbar{display:none}.step-indicators .step-indicator{align-items:center;background:transparent;border:2px solid #e2e8f0;border-radius:24px;cursor:pointer;display:flex;flex-direction:row;flex-shrink:0;gap:6px;min-width:auto;padding:6px 14px;transition:.25s ease}.step-indicators .step-indicator .step-icon{align-items:center;background:#fafffe;border-radius:50%;color:#94a3b8;display:flex;height:24px;justify-content:center;transition:.25s ease;width:24px}.step-indicators .step-indicator .step-icon svg{height:14px;width:14px}.step-indicators .step-indicator .step-label{color:#64748b;font-size:.75rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.step-indicators .step-indicator:hover{background:rgba(22,163,74,.04);border-color:rgba(22,163,74,.25)}.step-indicators .step-indicator:hover .step-icon{color:#16a34a}.step-indicators .step-indicator.current{background:rgba(22,163,74,.08);border-color:#16a34a}.step-indicators .step-indicator.current .step-icon{background:#16a34a;color:#fff}.step-indicators .step-indicator.current .step-label{color:#15803d}.step-indicators .step-indicator.completed{background:rgba(16,185,129,.05);border-color:#10b981}.step-indicators .step-indicator.completed .step-icon{background:#10b981;color:#fff}.step-indicators .step-indicator.completed .step-label{color:#10b981}@media(max-width:768px){.step-indicators .step-indicator{padding:6px 10px}.step-indicators .step-indicator .step-icon{height:22px;width:22px}.step-indicators .step-indicator .step-label{font-size:.7rem}}.smart-suggestions{background:linear-gradient(135deg,#fef9c3,#fef3c7);border:1px solid #fcd34d;border-radius:12px;margin-bottom:12px;padding:14px 18px}.smart-suggestions .suggestions-header{align-items:center;color:#92400e;display:flex;font-size:.85rem;font-weight:600;gap:6px;margin-bottom:10px}.smart-suggestions .suggestions-header svg{color:#d97706}.smart-suggestions .suggestions-list{display:flex;flex-direction:column;gap:6px}.smart-suggestions .suggestion-item{align-items:center;background:hsla(0,0%,100%,.7);border-radius:6px;display:flex;gap:14px;justify-content:space-between;padding:10px 14px}.smart-suggestions .suggestion-item .suggestion-content{flex:1}.smart-suggestions .suggestion-item .suggestion-content .suggestion-text{color:#1e293b;display:block;font-size:.875rem;font-weight:500}.smart-suggestions .suggestion-item .suggestion-content .suggestion-reason{color:#64748b;display:block;font-size:.75rem;margin-top:2px}.smart-suggestions .suggestion-item button{border-radius:6px;font-size:.75rem;padding:6px 12px}.form-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.04);margin-bottom:12px;overflow:hidden;transition:.25s ease}.form-section:hover{box-shadow:0 4px 12px rgba(0,0,0,.08)}.form-section .section-header{align-items:center;background:#fafffe;border-bottom:1px solid #e2e8f0;cursor:pointer;display:flex;justify-content:space-between;padding:10px 14px;transition:.25s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.form-section .section-header:hover{background:rgba(22,163,74,.04)}.form-section .section-header .section-title-group{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.form-section .section-header .section-title-group svg{color:#16a34a;height:18px;width:18px}.form-section .section-header .section-title-group h3{color:#1e293b;font-size:.95rem;font-weight:600;margin:0}.form-section .section-header .section-title-group .completion-badge{background:rgba(16,185,129,.1);border:1px solid rgba(16,185,129,.3);color:#059669}.form-section .section-header .section-title-group .ai-badge,.form-section .section-header .section-title-group .completion-badge,.form-section .section-header .section-title-group .rural-badge,.form-section .section-header .section-title-group .smart-badge{align-items:center;border-radius:20px;display:flex;font-size:.65rem;gap:3px;padding:2px 8px}.form-section .section-header .section-title-group .ai-badge,.form-section .section-header .section-title-group .smart-badge{background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.3);color:#2563eb}.form-section .section-header .section-title-group .rural-badge{background:rgba(245,158,11,.1);border:1px solid rgba(245,158,11,.3);color:#d97706}.form-section .section-content{padding:14px}@media(max-width:768px){.form-section .section-content{padding:10px}}.form-section.collapsed .section-header{border-bottom:none}.form-section.notes-section .section-content{padding:14px}.form-grid{display:grid;gap:14px;grid-template-columns:repeat(2,1fr)}@media(min-width:992px){.form-grid{grid-template-columns:repeat(3,1fr)}}@media(min-width:1400px){.form-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:768px){.form-grid{gap:14px;grid-template-columns:1fr}}.form-grid.four-cols{grid-template-columns:repeat(2,1fr)}@media(min-width:992px){.form-grid.four-cols{grid-template-columns:repeat(4,1fr)}}@media(max-width:768px){.form-grid.four-cols{grid-template-columns:1fr 1fr}}@media(max-width:480px){.form-grid.four-cols{grid-template-columns:1fr}}.form-grid .form-field.full-width{grid-column:1/-1}.form-grid .form-field.half-width{grid-column:span 1}.form-grid .form-field.two-thirds{grid-column:span 2}@media(max-width:768px){.form-grid .form-field.two-thirds{grid-column:1/-1}}.selectors-row{align-items:start;display:grid;gap:14px;grid-template-columns:1fr auto;margin-top:14px}@media(max-width:900px){.selectors-row{grid-template-columns:1fr}}.selectors-row .selector-field{min-width:0}.selectors-row .type-selector.compact{display:flex;flex-wrap:wrap;gap:6px}.selectors-row .type-selector.compact .type-option{flex:0 0 auto;min-width:58px;padding:8px 10px}.selectors-row .type-selector.compact .type-option .type-emoji{font-size:1.25rem}.selectors-row .type-selector.compact .type-option .type-label{font-size:.65rem}.selectors-row .gender-selector{display:flex;flex-wrap:nowrap;gap:8px}.selectors-row .gender-selector .gender-option{flex:1;min-width:85px;padding:10px 16px}.selectors-row .gender-selector .gender-option .gender-icon{font-size:1.25rem}.selectors-row .gender-selector .gender-option .gender-label{font-size:.7rem}.form-field{display:flex;flex-direction:column;gap:4px}.form-field .form-label-custom{align-items:center;color:#1e293b;display:flex;font-size:.8rem;font-weight:600;gap:6px}.form-field .form-label-custom .optional{color:#94a3b8;font-size:.75rem;font-weight:400}.form-field .form-label-custom .optional-badge{background:rgba(59,130,246,.1);border-radius:10px;color:#3b82f6;font-size:.6rem;font-weight:500;margin-left:6px;padding:1px 6px}.form-field.required .form-label-custom:after{color:#ef4444;content:"*";margin-left:3px}.form-field .field-hint{color:#64748b;font-size:.7rem;margin-top:2px;padding-left:2px}.form-field .field-error-message{align-items:center;color:#ef4444;display:flex;font-size:.75rem;gap:4px;margin-top:2px}.form-control-custom{background:#fff;border:2px solid #cbd5e1;border-radius:10px;color:#1e293b;font-size:.95rem;font-weight:500;outline:none;padding:10px 14px;transition:.25s ease;width:100%}.form-control-custom::-moz-placeholder{color:#94a3b8;font-weight:400}.form-control-custom::placeholder{color:#94a3b8;font-weight:400}.form-control-custom:focus{border-color:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.15)}.form-control-custom:hover:not(:focus){border-color:#94a3b8}.form-control-custom.error-field{background:rgba(239,68,68,.03);border-color:#ef4444}.form-control-custom.error-field:focus{box-shadow:0 0 0 3px rgba(239,68,68,.15)}.form-control-custom.tag-input{font-family:SF Mono,Monaco,Courier New,monospace;letter-spacing:.05em;text-align:center;text-transform:uppercase}.form-control-custom.weight-field{font-size:1.1rem;font-weight:600;text-align:center}textarea.form-control-custom{min-height:80px;resize:vertical}.notes-textarea{min-height:60px}.type-selector{display:flex;flex-wrap:wrap;gap:6px}.type-selector.compact .type-option{flex:0 0 auto;min-width:auto;padding:6px}.type-selector.compact .type-option .type-emoji{font-size:1.1rem}.type-selector.compact .type-option .type-label{font-size:.6rem}.gender-selector{display:flex;flex-wrap:wrap;gap:6px}.gender-option,.type-option{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;gap:2px;min-width:58px;padding:6px 10px;transition:.25s ease}.gender-option .gender-icon,.gender-option .type-emoji,.type-option .gender-icon,.type-option .type-emoji{font-size:1.25rem;line-height:1}.gender-option .gender-label,.gender-option .type-label,.type-option .gender-label,.type-option .type-label{color:#64748b;font-size:.65rem;font-weight:600;text-align:center}.gender-option:hover,.type-option:hover{background:rgba(22,163,74,.04);border-color:rgba(22,163,74,.25)}.gender-option.selected,.type-option.selected{background:rgba(22,163,74,.08);border-color:#16a34a}.gender-option.selected .gender-label,.gender-option.selected .type-label,.type-option.selected .gender-label,.type-option.selected .type-label{color:#15803d}.health-status-selector{display:grid;gap:6px;grid-template-columns:repeat(4,1fr)}@media(max-width:768px){.health-status-selector{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.health-status-selector{grid-template-columns:1fr}}.health-status-selector .health-option{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;display:flex;gap:6px;padding:10px 14px;transition:.25s ease}.health-status-selector .health-option .health-icon{font-size:1.25rem}.health-status-selector .health-option .health-label{color:#64748b;font-size:.875rem;font-weight:600}.health-status-selector .health-option:hover{background:rgba(22,163,74,.04)}.health-status-selector .health-option.selected.success{background:rgba(16,185,129,.08);border-color:#10b981}.health-status-selector .health-option.selected.success .health-label{color:#059669}.health-status-selector .health-option.selected.danger{background:rgba(239,68,68,.08);border-color:#ef4444}.health-status-selector .health-option.selected.danger .health-label{color:#dc2626}.health-status-selector .health-option.selected.warning{background:rgba(245,158,11,.08);border-color:#f59e0b}.health-status-selector .health-option.selected.warning .health-label{color:#d97706}.health-status-selector .health-option.selected.info{background:rgba(59,130,246,.08);border-color:#3b82f6}.health-status-selector .health-option.selected.info .health-label{color:#2563eb}.bcs-selector{display:flex;gap:6px}.bcs-selector .bcs-option{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;display:flex;flex:1;flex-direction:column;gap:4px;padding:14px 10px;transition:.25s ease}.bcs-selector .bcs-option .bcs-value{color:#1e293b;font-size:1.25rem;font-weight:700}.bcs-selector .bcs-option .bcs-label{color:#94a3b8;font-size:.65rem;font-weight:500;text-transform:uppercase}.bcs-selector .bcs-option:hover{background:rgba(22,163,74,.04);border-color:rgba(22,163,74,.25)}.bcs-selector .bcs-option.selected{background:rgba(22,163,74,.08);border-color:#16a34a}.bcs-selector .bcs-option.selected .bcs-value{color:#15803d}.bcs-selector .bcs-option.selected .bcs-label{color:#16a34a}.purpose-selector .purpose-options{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));margin-bottom:14px}.purpose-selector .purpose-option{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;gap:4px;padding:14px;text-align:center;transition:.25s ease}.purpose-selector .purpose-option .purpose-icon{font-size:1.5rem}.purpose-selector .purpose-option .purpose-label{color:#1e293b;font-size:.8rem;font-weight:600}.purpose-selector .purpose-option .purpose-desc{color:#94a3b8;font-size:.65rem}.purpose-selector .purpose-option:hover{background:rgba(22,163,74,.04);border-color:rgba(22,163,74,.25)}.purpose-selector .purpose-option.selected{background:rgba(22,163,74,.08);border-color:#16a34a}.purpose-selector .purpose-option.selected .purpose-label{color:#15803d}.purpose-selector .purpose-custom-input{margin-top:10px}.image-upload-section .upload-header{margin-bottom:18px}.image-upload-section .upload-header .upload-title{align-items:center;display:flex;gap:10px;margin-bottom:6px}.image-upload-section .upload-header .upload-title svg{color:#16a34a}.image-upload-section .upload-header .upload-title h4{color:#1e293b;font-size:1rem;font-weight:600;margin:0}.image-upload-section .upload-header .upload-subtitle{color:#64748b;font-size:.85rem;line-height:1.5;margin:0}.image-upload-section .photo-guide{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #93c5fd;border-radius:10px;margin-bottom:18px;padding:14px}.image-upload-section .photo-guide .guide-title{align-items:center;color:#1e40af;display:flex;font-size:.8rem;font-weight:600;gap:6px;margin-bottom:10px}.image-upload-section .photo-guide .guide-tips{display:grid;gap:10px;grid-template-columns:repeat(4,1fr)}@media(max-width:600px){.image-upload-section .photo-guide .guide-tips{grid-template-columns:repeat(2,1fr)}}.image-upload-section .photo-guide .guide-tips .tip{align-items:center;background:hsla(0,0%,100%,.7);border-radius:6px;display:flex;flex-direction:column;gap:4px;padding:10px;text-align:center}.image-upload-section .photo-guide .guide-tips .tip .tip-icon{font-size:1.25rem}.image-upload-section .photo-guide .guide-tips .tip span{color:#1e293b;font-size:.75rem;font-weight:600}.image-upload-section .photo-guide .guide-tips .tip small{color:#64748b;font-size:.65rem}.image-upload-section .upload-dropzone{background:#fafffe;border:2px dashed #cbd5e1;border-radius:12px;cursor:pointer;padding:32px;text-align:center;transition:.25s ease}.image-upload-section .upload-dropzone.drag-active,.image-upload-section .upload-dropzone:hover{background:rgba(22,163,74,.08);border-color:#16a34a}.image-upload-section .upload-dropzone.has-images{padding:18px}.image-upload-section .upload-dropzone .dropzone-content .dropzone-icon{align-items:center;background:rgba(22,163,74,.08);border-radius:50%;color:#16a34a;display:flex;height:80px;justify-content:center;margin:0 auto 14px;width:80px}.image-upload-section .upload-dropzone .dropzone-content h5{color:#1e293b;font-size:1.1rem;font-weight:600;margin:0 0 6px}.image-upload-section .upload-dropzone .dropzone-content p{color:#94a3b8;font-size:.85rem;margin:0 0 18px}.image-upload-section .upload-dropzone .dropzone-content .upload-btn{align-items:center;background:#16a34a;border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-weight:600;gap:6px;padding:14px 24px;transition:.25s ease}.image-upload-section .upload-dropzone .dropzone-content .upload-btn:hover{background:#15803d}.image-upload-section .upload-dropzone .dropzone-add-more{align-items:center;color:#16a34a;display:flex;font-weight:500;gap:6px;justify-content:center}.image-upload-section .image-previews{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));margin-top:18px}@media(max-width:480px){.image-upload-section .image-previews{grid-template-columns:1fr}}.image-upload-section .image-preview-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;transition:.25s ease}.image-upload-section .image-preview-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.08)}.image-upload-section .image-preview-card.analyzed{border-color:#10b981}.image-upload-section .image-preview-card .preview-image-wrapper{aspect-ratio:4/3;overflow:hidden;position:relative}.image-upload-section .image-preview-card .preview-image-wrapper img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.image-upload-section .image-preview-card .preview-image-wrapper .remove-image{align-items:center;background:rgba(0,0,0,.6);border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:28px;justify-content:center;position:absolute;right:8px;top:8px;transition:.15s ease;width:28px}.image-upload-section .image-preview-card .preview-image-wrapper .remove-image:hover{background:#ef4444}.image-upload-section .image-preview-card .preview-image-wrapper .analysis-badge{align-items:center;background:#10b981;border-radius:20px;bottom:8px;color:#fff;display:flex;font-size:.7rem;font-weight:600;gap:4px;left:8px;padding:4px 10px;position:absolute}.image-upload-section .image-preview-card .preview-details{display:flex;gap:6px;padding:10px}.image-upload-section .image-preview-card .preview-details .image-type-select{background:#fff;border:1px solid #e2e8f0;border-radius:6px;flex:1;font-size:.8rem;padding:8px 12px}.image-upload-section .image-preview-card .preview-details .analyze-btn{align-items:center;display:flex;font-size:.75rem;font-weight:600;gap:4px;padding:8px 12px}.image-upload-section .image-preview-card .preview-details .analyze-btn .animate-spin{animation:spin 1s linear infinite}.image-upload-section .image-preview-card .ai-analysis-results{background:rgba(16,185,129,.05);border-top:1px solid rgba(16,185,129,.2);padding:10px}.image-upload-section .image-preview-card .ai-analysis-results .analysis-header{align-items:center;color:#10b981;display:flex;font-size:.75rem;font-weight:600;gap:6px;margin-bottom:6px}.image-upload-section .image-preview-card .ai-analysis-results .analysis-item{align-items:center;display:flex;flex-wrap:wrap;font-size:.8rem;gap:6px;margin-bottom:6px}.image-upload-section .image-preview-card .ai-analysis-results .analysis-item svg{color:#94a3b8;flex-shrink:0}.image-upload-section .image-preview-card .ai-analysis-results .analysis-item .label{color:#64748b}.image-upload-section .image-preview-card .ai-analysis-results .analysis-item .value{color:#1e293b;font-weight:600}.image-upload-section .image-preview-card .ai-analysis-results .analysis-item .confidence{color:#94a3b8;font-size:.7rem}.image-upload-section .image-preview-card .ai-analysis-results .analysis-item.weight .value{color:#16a34a}.image-upload-section .image-preview-card .ai-analysis-results .analysis-item .health-tags{display:flex;flex-wrap:wrap;gap:4px}.image-upload-section .image-preview-card .ai-analysis-results .analysis-item .health-tags .health-tag{background:rgba(16,185,129,.1);border-radius:10px;color:#10b981;font-size:.65rem;font-weight:500;padding:2px 8px}.image-upload-section .image-preview-card .ai-analysis-results .analysis-suggestions{align-items:flex-start;background:rgba(245,158,11,.1);border-radius:6px;color:#92400e;display:flex;font-size:.75rem;gap:6px;margin-top:6px;padding:8px}.image-upload-section .image-preview-card .ai-analysis-results .analysis-suggestions svg{flex-shrink:0;margin-top:2px}.smart-weight-input .weight-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin-bottom:14px}.smart-weight-input .weight-header .no-scale-notice{align-items:center;background:rgba(59,130,246,.08);border-radius:20px;color:#3b82f6;display:flex;font-size:.8rem;gap:6px;padding:6px 12px}.smart-weight-input .weight-method-selector{display:grid;gap:10px;grid-template-columns:repeat(4,1fr);margin-bottom:18px}@media(max-width:768px){.smart-weight-input .weight-method-selector{grid-template-columns:repeat(2,1fr)}}.smart-weight-input .weight-method-selector .method-btn{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;gap:6px;padding:14px;position:relative;transition:.25s ease}.smart-weight-input .weight-method-selector .method-btn svg{color:#94a3b8}.smart-weight-input .weight-method-selector .method-btn .method-name{color:#1e293b;font-size:.75rem;font-weight:600;text-align:center}.smart-weight-input .weight-method-selector .method-btn .method-accuracy{color:#94a3b8;font-size:.65rem}.smart-weight-input .weight-method-selector .method-btn .no-scale-badge{background:#f59e0b;border-radius:8px;color:#fff;font-size:.55rem;font-weight:700;padding:2px 6px;position:absolute;right:-8px;text-transform:uppercase;top:-8px}.smart-weight-input .weight-method-selector .method-btn:hover:not(.disabled){background:rgba(22,163,74,.04);border-color:rgba(22,163,74,.25)}.smart-weight-input .weight-method-selector .method-btn.active{background:rgba(22,163,74,.08);border-color:#16a34a}.smart-weight-input .weight-method-selector .method-btn.active svg{color:#16a34a}.smart-weight-input .weight-method-selector .method-btn.active .method-name{color:#15803d}.smart-weight-input .weight-method-selector .method-btn.disabled{cursor:not-allowed;opacity:.5}.smart-weight-input .weight-input-area{background:#fafffe;border:1px solid #e2e8f0;border-radius:10px;padding:18px}.smart-weight-input .weight-input-area .direct-input{align-items:center;display:flex;gap:10px;margin:0 auto;max-width:300px}.smart-weight-input .weight-input-area .direct-input .unit-label{color:#94a3b8;font-size:1rem;font-weight:600}.smart-weight-input .current-weight-display{align-items:center;background:rgba(22,163,74,.08);border:1px solid rgba(22,163,74,.25);border-radius:10px;display:flex;gap:10px;justify-content:center;margin-top:18px;padding:14px}.smart-weight-input .current-weight-display .label{color:#64748b;font-size:.875rem}.smart-weight-input .current-weight-display .weight{color:#16a34a;font-size:1.5rem;font-weight:700}.smart-weight-input .current-weight-display .method-used{color:#94a3b8;font-size:.75rem}.tape-measure-section .measurement-guide{background:rgba(59,130,246,.05);border-radius:10px;display:flex;gap:18px;margin-bottom:18px;padding:18px}@media(max-width:600px){.tape-measure-section .measurement-guide{flex-direction:column}}.tape-measure-section .measurement-guide .guide-illustration{flex:0 0 200px}.tape-measure-section .measurement-guide .guide-illustration .animal-outline{align-items:center;background:linear-gradient(135deg,#e0f2fe,#bae6fd);border-radius:6px;display:flex;height:120px;justify-content:center;position:relative;width:100%}.tape-measure-section .measurement-guide .guide-illustration .animal-outline:before{content:"🐄";font-size:3rem}.tape-measure-section .measurement-guide .guide-illustration .animal-outline .measurement-line{background:#fff;border:1px solid #3b82f6;border-radius:4px;color:#3b82f6;font-size:.6rem;font-weight:600;padding:2px 6px;position:absolute}.tape-measure-section .measurement-guide .guide-illustration .animal-outline .measurement-line.heart-girth{left:50%;top:10px;transform:translateX(-50%)}.tape-measure-section .measurement-guide .guide-illustration .animal-outline .measurement-line.body-length{bottom:10px;left:50%;transform:translateX(-50%)}.tape-measure-section .measurement-guide .measurement-instructions{flex:1}.tape-measure-section .measurement-guide .measurement-instructions p{color:#64748b;font-size:.85rem;line-height:1.5;margin:0 0 10px}.tape-measure-section .measurement-guide .measurement-instructions p strong{color:#1e293b}.tape-measure-section .measurement-inputs{display:grid;gap:14px;grid-template-columns:repeat(2,1fr);margin-bottom:18px}@media(max-width:480px){.tape-measure-section .measurement-inputs{grid-template-columns:1fr}}.tape-measure-section .measurement-inputs .measurement-field label{color:#64748b;display:block;font-size:.8rem;font-weight:600;margin-bottom:6px}.tape-measure-section .calculated-result{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border:1px solid #86efac;border-radius:10px;padding:18px;text-align:center}.tape-measure-section .calculated-result .result-header{align-items:center;color:#166534;display:flex;font-size:.9rem;font-weight:600;gap:8px;justify-content:center;margin-bottom:10px}.tape-measure-section .calculated-result .result-value{margin-bottom:6px}.tape-measure-section .calculated-result .result-value .weight{color:#15803d;font-size:2rem;font-weight:700;margin-right:10px}.tape-measure-section .calculated-result .result-value .confidence{color:#16a34a;font-size:.85rem}.tape-measure-section .calculated-result .result-formula{color:#166534;font-size:.75rem;margin-bottom:14px}.tape-measure-section .calculated-result button{align-items:center;display:inline-flex;gap:6px}.ai-weight-section .ai-estimate-display{align-items:center;background:linear-gradient(135deg,#ede9fe,#ddd6fe);border:1px solid #c4b5fd;border-radius:10px;display:flex;gap:18px;padding:18px}@media(max-width:600px){.ai-weight-section .ai-estimate-display{flex-direction:column;text-align:center}}.ai-weight-section .ai-estimate-display .ai-icon{align-items:center;background:#8b5cf6;border-radius:50%;color:#fff;display:flex;flex-shrink:0;height:60px;justify-content:center;width:60px}.ai-weight-section .ai-estimate-display .ai-details{flex:1}.ai-weight-section .ai-estimate-display .ai-details .ai-weight .value{color:#6d28d9;font-size:1.75rem;font-weight:700}.ai-weight-section .ai-estimate-display .ai-details .ai-weight .label{color:#7c3aed;display:block;font-size:.8rem;margin-top:2px}.ai-weight-section .ai-estimate-display .ai-details .ai-confidence{margin-top:10px}.ai-weight-section .ai-estimate-display .ai-details .ai-confidence .progress{background:rgba(139,92,246,.2);border-radius:3px;height:6px;margin-bottom:4px}.ai-weight-section .ai-estimate-display .ai-details .ai-confidence span{color:#7c3aed;font-size:.75rem}.ai-weight-section .ai-estimate-display button{align-items:center;display:flex;flex-shrink:0;gap:6px}.ai-weight-section .no-ai-estimate{color:#94a3b8;padding:32px;text-align:center}.ai-weight-section .no-ai-estimate svg{margin-bottom:10px;opacity:.5}.ai-weight-section .no-ai-estimate p{font-size:.9rem;margin:0}.visual-estimate-section .visual-guide{margin-bottom:18px}.visual-estimate-section .visual-guide .estimate-helper{align-items:center;color:#64748b;display:flex;font-size:.85rem;font-weight:500;gap:8px;margin-bottom:10px}.visual-estimate-section .visual-guide .estimate-helper svg{color:#f59e0b}.visual-estimate-section .visual-guide .weight-ranges{display:grid;gap:6px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.visual-estimate-section .visual-guide .weight-ranges .range-item{background:rgba(245,158,11,.08);border-radius:6px;display:flex;justify-content:space-between;padding:10px 14px}.visual-estimate-section .visual-guide .weight-ranges .range-item .age{color:#64748b;font-size:.8rem}.visual-estimate-section .visual-guide .weight-ranges .range-item .weight{color:#1e293b;font-size:.8rem;font-weight:600}.visual-estimate-section .visual-input{align-items:center;display:flex;gap:10px;margin:0 auto 14px;max-width:300px}.visual-estimate-section .visual-input .unit-label{color:#94a3b8;font-size:1rem;font-weight:600}.visual-estimate-section .estimate-disclaimer{align-items:center;color:#94a3b8;display:flex;font-size:.75rem;gap:6px;justify-content:center;text-align:center}.owner-section .owner-auto-assigned{align-items:center;background:linear-gradient(135deg,rgba(16,185,129,.1),rgba(5,150,105,.1));border:1px solid rgba(16,185,129,.3);border-radius:10px;color:#059669;display:flex;font-size:.9rem;gap:10px;margin-bottom:18px;padding:14px 18px}.owner-section .owner-auto-assigned svg{flex-shrink:0}.owner-section .owner-display{align-items:center;background:#fafffe;border:1px solid #e2e8f0;border-radius:10px;display:flex;gap:18px;justify-content:space-between;padding:18px}@media(max-width:600px){.owner-section .owner-display{align-items:flex-start;flex-direction:column}}.owner-section .owner-display .owner-info{align-items:center;display:flex;flex:1;gap:14px}.owner-section .owner-display .owner-info .owner-avatar{align-items:center;background:linear-gradient(135deg,#16a34a,#15803d);border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:1.25rem;font-weight:700;height:48px;justify-content:center;width:48px}.owner-section .owner-display .owner-info .owner-details{display:flex;flex-direction:column;gap:2px}.owner-section .owner-display .owner-info .owner-details .owner-name{color:#1e293b;font-size:1rem;font-weight:600}.owner-section .owner-display .owner-info .owner-details .owner-email,.owner-section .owner-display .owner-info .owner-details .owner-phone{color:#64748b;font-size:.8rem}.owner-section .owner-display .owner-info .no-owner{align-items:center;color:#94a3b8;display:flex;gap:10px}.owner-section .owner-display .owner-info .no-owner svg{opacity:.5}.owner-section .owner-display .owner-info .no-owner span{font-size:.9rem;font-style:italic}.owner-section .owner-display .owner-actions{display:flex;flex-shrink:0;gap:6px}@media(max-width:600px){.owner-section .owner-display .owner-actions{justify-content:flex-end;width:100%}}.owner-section .owner-display .owner-actions button{align-items:center;border-radius:6px;display:flex;font-size:.8rem;font-weight:600;gap:6px;padding:8px 16px}.form-actions{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.08);display:flex;gap:14px;justify-content:space-between;margin-top:18px;padding:24px}@media(max-width:480px){.form-actions{flex-direction:column-reverse}}.form-actions .btn-cancel,.form-actions .btn-save{align-items:center;border:2px solid transparent;border-radius:8px;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:6px;justify-content:center;min-width:160px;padding:14px 24px;transition:.25s ease}@media(max-width:480px){.form-actions .btn-cancel,.form-actions .btn-save{width:100%}}.form-actions .btn-cancel:disabled,.form-actions .btn-save:disabled{cursor:not-allowed;opacity:.6}.form-actions .btn-cancel{background:#fafffe;border-color:#e2e8f0;color:#64748b}.form-actions .btn-cancel:hover:not(:disabled){background:#e2e8f0;color:#1e293b}.form-actions .btn-save{background:#16a34a;border-color:#16a34a;color:#fff}.form-actions .btn-save:hover:not(:disabled){background:#15803d;border-color:#15803d;box-shadow:0 4px 12px rgba(22,163,74,.3);transform:translateY(-1px)}.form-actions .btn-save .animate-spin{animation:spin 1s linear infinite}.loading-state{align-items:center;display:flex;flex-direction:column;gap:14px;justify-content:center;padding:32px}.loading-state .loading-spinner{animation:spin 1s linear infinite;border:4px solid #e2e8f0;border-radius:50%;border-top-color:#16a34a;height:48px;width:48px}.loading-state .loading-text{color:#64748b;font-size:1rem;font-weight:500}.access-denied-card{background:#fff;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.08);padding:32px;text-align:center}.access-denied-card svg{color:#ef4444;margin-bottom:18px}.access-denied-card h2{color:#1e293b;font-size:1.5rem;font-weight:700;margin:0 0 10px}.access-denied-card p{color:#64748b;font-size:1rem;margin:0 0 24px}.animate-spin{animation:spin 1s linear infinite}@media(max-width:768px){.animal-update-container.smart-form .form-section{margin-bottom:18px}.animal-update-container.smart-form .form-section .section-header{padding:14px}.animal-update-container.smart-form .form-section .section-header .section-title-group h3{font-size:1rem}.animal-update-container.smart-form .form-section .section-content{padding:14px}.animal-update-container.smart-form .form-control-custom{font-size:16px;padding:12px 14px}.animal-update-container.smart-form .gender-option,.animal-update-container.smart-form .purpose-option,.animal-update-container.smart-form .type-option{padding:10px}}@media(prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}:focus-visible{outline:2px solid #16a34a;outline-offset:2px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #16a34a;outline-offset:2px}.confirmation-overlay{align-items:center;animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:rgba(0,0,0,.6);bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1050}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.confirmation-modal{animation:slideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 25px 50px -12px rgba(0,0,0,.25);display:flex;flex-direction:column;max-height:90vh;max-width:700px;overflow:hidden;width:100%}.confirmation-header{background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff;padding:24px 32px;position:relative;text-align:center}.confirmation-header .confirmation-icon{display:inline-flex;margin-bottom:12px;position:relative}.confirmation-header .confirmation-icon .animal-emoji{filter:drop-shadow(0 4px 6px rgba(0,0,0,.1));font-size:48px}.confirmation-header .confirmation-icon .check-icon{background:#fff;border-radius:50%;bottom:-4px;box-shadow:0 2px 8px rgba(0,0,0,.15);color:#16a34a;padding:2px;position:absolute;right:-8px}.confirmation-header h2{font-size:1.5rem;font-weight:700;margin:0 0 4px}.confirmation-header p{font-size:.9rem;margin:0;opacity:.9}.confirmation-content{background:#f8fafc;flex:1;overflow-y:auto;padding:24px}.confirmation-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.05);margin-bottom:12px;padding:16px}.confirmation-card .card-header{align-items:center;border-bottom:1px solid #f1f5f9;color:#64748b;display:flex;font-size:.8rem;font-weight:600;gap:8px;letter-spacing:.5px;margin-bottom:12px;padding-bottom:8px;text-transform:uppercase}.confirmation-card .card-header svg{color:#16a34a}.confirmation-card .card-content{display:flex;flex-direction:column;gap:8px}.confirmation-card.identity-card{background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border-color:rgba(22,163,74,.2)}.confirmation-card.identity-card .identity-display{align-items:center;display:flex;gap:16px}.confirmation-card.identity-card .animal-avatar{align-items:center;background:#fff;border:2px solid rgba(22,163,74,.2);border-radius:16px;box-shadow:0 4px 12px rgba(22,163,74,.15);display:flex;font-size:32px;height:64px;justify-content:center;width:64px}.confirmation-card.identity-card .animal-info{flex:1}.confirmation-card.identity-card .animal-info h3{color:#1e293b;font-size:1.25rem;font-weight:700;margin:0 0 8px}.confirmation-card.identity-card .animal-info .animal-badges{display:flex;flex-wrap:wrap;gap:6px}.confirmation-card.identity-card .animal-info .badge{border-radius:20px;font-size:.75rem;font-weight:600;padding:4px 10px}.confirmation-card.identity-card .animal-info .badge.type-badge{background:#16a34a;color:#fff}.confirmation-card.identity-card .animal-info .badge.gender-badge{background:#e0f2fe;color:#0369a1}.confirmation-card.identity-card .animal-info .badge.tag-badge{background:#fef3c7;color:#92400e}.confirmation-card.notes-card .notes-text{color:#475569;font-size:.9rem;font-style:italic;line-height:1.5;margin:0}.confirmation-grid{display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}@media(max-width:600px){.confirmation-grid{grid-template-columns:1fr}}.detail-row{align-items:center;display:flex;justify-content:space-between;padding:6px 0}.detail-row .label{color:#64748b;font-size:.85rem}.detail-row .value{color:#1e293b;font-size:.9rem;font-weight:600}.detail-row .value.highlight{color:#16a34a;font-size:1rem}.detail-row .value.status-badge{border-radius:12px;font-size:.75rem;padding:3px 10px}.detail-row .value.status-badge.healthy{background:#dcfce7;color:#166534}.detail-row .value.status-badge.sick{background:#fee2e2;color:#991b1b}.detail-row .value.status-badge.recovering{background:#fef3c7;color:#92400e}.detail-row .value.status-badge.under_treatment{background:#dbeafe;color:#1e40af}.owner-preview{align-items:center;display:flex;gap:10px}.owner-preview .owner-avatar-small{align-items:center;background:linear-gradient(135deg,#16a34a,#22c55e);border-radius:50%;color:#fff;display:flex;font-size:.9rem;font-weight:600;height:32px;justify-content:center;width:32px}.owner-preview span{color:#1e293b;font-weight:600}.confirmation-actions{background:#fff;border-top:1px solid #e2e8f0;display:flex;gap:12px;justify-content:space-between;padding:20px 24px}@media(max-width:500px){.confirmation-actions{flex-direction:column}}.confirmation-actions .btn-back{align-items:center;border-radius:10px;display:flex;font-weight:600;gap:8px;padding:12px 20px}.confirmation-actions .btn-back:hover{background:#f1f5f9}.confirmation-actions .btn-confirm{align-items:center;background:linear-gradient(135deg,#16a34a,#22c55e);border:none;border-radius:10px;box-shadow:0 4px 12px rgba(22,163,74,.3);display:flex;font-weight:600;gap:8px;padding:12px 28px;transition:all .2s ease}.confirmation-actions .btn-confirm:hover{box-shadow:0 6px 16px rgba(22,163,74,.4);transform:translateY(-1px)}.confirmation-actions .btn-confirm:disabled{opacity:.7;transform:none}.view-container{background:#f8f9fa;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;margin-left:15px;margin-right:15px;margin-top:70px;min-height:100vh}.view-container.with-sidebar-open .main-content{width:calc(100% - 280px)}.view-container.with-sidebar-collapsed .main-content{margin-left:80px;width:calc(100% - 80px)}.view-container .main-content{background:#f8f9fa;flex:1;min-height:calc(100vh - 70px);transition:all .3s ease}@media(max-width:1399px){.view-container{margin:70px 0 0;padding:0}.view-container.with-offline-indicator{margin-top:120px}.view-container.with-sidebar-collapsed .main-content,.view-container.with-sidebar-open .main-content{margin-left:0;width:100%}.view-container .main-content{min-height:calc(100vh - 70px);padding:0;width:100%}}@media(max-width:768px){.view-container{margin-top:56px}.view-container.with-offline-indicator{margin-top:100px}.view-container .main-content{min-height:calc(100vh - 56px)}}.view-container .header-content{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin:0 auto;max-width:1200px}@media(max-width:991px){.view-container .header-content{align-items:flex-start;flex-direction:column;gap:1.25rem}}.view-container .header-title{align-items:center;display:flex;gap:1rem}@media(max-width:768px){.view-container .header-title{gap:.75rem}}.view-container .header-icon{height:48px;width:48px}@media(max-width:768px){.view-container .header-icon{border-radius:10px;height:40px;width:40px}}.view-container .title-info h1{font-size:28px}@media(max-width:768px){.view-container .title-info h1{font-size:20px}}.view-container .subtitle{font-size:1rem}@media(max-width:768px){.view-container .subtitle{font-size:.9rem}}.view-container .stats-section{flex:1;min-width:320px}@media(min-width:768px)and (max-width:1399px){.view-container .stats-section{min-width:280px}}.view-container .stats-grid{display:grid;gap:1rem;grid-template-columns:repeat(4,minmax(120px,1fr))}@media(max-width:768px){.view-container .stats-grid{gap:.75rem;grid-template-columns:repeat(2,1fr)}}.view-container .stat-card{min-height:70px;padding:.75rem 1rem}@media(max-width:768px){.view-container .stat-card{gap:.75rem;min-height:60px;padding:.9rem 1rem}}.view-container .stat-icon{height:36px;width:36px}@media(max-width:768px){.view-container .stat-icon{border-radius:8px;height:32px;width:32px}}.view-container .stat-number{font-size:20px}@media(max-width:768px){.view-container .stat-number{font-size:18px}}.view-container .stat-label{font-size:.65rem}@media(max-width:768px){.view-container .stat-label{font-size:.6rem}}.view-container .content-container{margin-left:auto;margin-right:auto;max-width:1400px;padding:1rem 1.5rem;width:100%}@media(min-width:768px)and (max-width:1399px){.view-container .content-container{max-width:100%;padding:1.5rem 2rem}}@media(max-width:768px){.view-container .content-container{padding:1rem}}.view-container .view-actions{align-items:center;background:linear-gradient(135deg,rgba(82,196,26,.03),rgba(82,196,26,.06));border-bottom:1px solid rgba(82,196,26,.15);border-top:1px solid rgba(82,196,26,.1);box-shadow:0 1px 3px rgba(0,0,0,.05);display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;margin-bottom:.75rem;margin-left:auto;margin-right:auto;max-width:1400px;padding:1rem 2rem;transition:background .2s ease}.view-container .view-actions:hover{background:linear-gradient(135deg,rgba(82,196,26,.05),rgba(82,196,26,.08))}@media(min-width:768px)and (max-width:1399px){.view-container .view-actions{gap:2rem;max-width:100%;padding:1.75rem 2.5rem}}@media(max-width:768px){.view-container .view-actions{padding:1rem}}.view-container .actions-left{align-items:center;display:flex;flex:1;flex-direction:row;gap:1rem;min-width:300px}@media(min-width:768px)and (max-width:1399px){.view-container .actions-left{gap:1.75rem;min-width:280px}}.view-container .search-section{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}@media(min-width:768px)and (max-width:1399px){.view-container .search-section{gap:1.5rem}}.view-container .search-input-group{flex:1;max-width:450px;min-width:300px;position:relative}@media(min-width:768px)and (max-width:1399px){.view-container .search-input-group{max-width:550px}}.view-container .search-icon{color:#6b7280;left:1rem;position:absolute;top:50%;transform:translateY(-50%);z-index:2}@media(min-width:768px)and (max-width:1399px){.view-container .search-icon{height:20px;left:1.5rem;width:20px}}.view-container .search-input{background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.05);color:#1f2937;font-size:.875rem;font-weight:500;padding:12px 18px;transition:all .3s ease;width:100%}.view-container .search-input:focus{border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.15);outline:none}.view-container .search-input::-moz-placeholder{color:#6b7280}.view-container .search-input::placeholder{color:#6b7280}@media(min-width:768px)and (max-width:1399px){.view-container .search-input{border-radius:12px;font-size:16px;min-height:52px;padding:16px 20px}.view-container .search-input:focus{box-shadow:0 0 0 4px rgba(82,196,26,.15)}}.view-container .filter-toggle{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.05);color:#1f2937;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:10px;padding:12px 18px;transition:all .3s ease}.view-container .filter-toggle:hover{background:rgba(82,196,26,.05);border-color:#22c55e;color:#22c55e;transform:translateY(-1px)}.view-container .filter-toggle.active{background:#22c55e;border-color:#22c55e;box-shadow:0 4px 12px rgba(34,197,94,.3);color:#fff}@media(min-width:768px)and (max-width:1399px){.view-container .filter-toggle{border-radius:12px;font-size:16px;gap:12px;min-height:52px;padding:16px 20px}}.view-container .filter-panel{align-items:center;background:linear-gradient(135deg,rgba(82,196,26,.02),rgba(82,196,26,.05));border:1px solid rgba(82,196,26,.15);border-radius:12px;box-shadow:0 4px 6px rgba(0,0,0,.07);display:flex;flex-wrap:wrap;gap:1rem;left:2rem;margin-top:12px;padding:1rem 1.5rem;position:absolute;right:2rem;top:100%;z-index:150}@media(min-width:768px)and (max-width:1399px){.view-container .filter-panel{border-radius:16px;gap:2rem;margin-top:16px;padding:2rem 2.5rem}}.view-container .filter-group{display:flex;flex-direction:column;gap:6px}.view-container .filter-group label{color:#1f2937;font-size:.75rem;font-weight:600;margin:0}@media(min-width:768px)and (max-width:1399px){.view-container .filter-group label{font-size:14px}.view-container .filter-group{gap:10px}}.view-container .filter-select{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1f2937;cursor:pointer;font-size:.875rem;min-width:140px;padding:10px 14px;transition:all .3s ease}.view-container .filter-select:focus{border-color:#22c55e;box-shadow:0 0 0 3px rgba(82,196,26,.15);outline:none}@media(min-width:768px)and (max-width:1399px){.view-container .filter-select{border-radius:10px;font-size:16px;min-height:48px;min-width:160px;padding:12px 16px}.view-container .filter-select:focus{box-shadow:0 0 0 4px rgba(82,196,26,.15)}}.view-container .clear-filters{background:#6b7280;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:600;padding:10px 1rem;transition:all .3s ease}.view-container .clear-filters:hover{background:#4b5563;transform:translateY(-1px)}@media(min-width:768px)and (max-width:1399px){.view-container .clear-filters{border-radius:10px;font-size:15px;min-height:48px;padding:12px 1.5rem}}.view-container .actions-right{align-items:center;display:flex;flex-shrink:0;gap:.75rem}@media(min-width:768px)and (max-width:1399px){.view-container .actions-right{gap:1.25rem}}.view-container .view-mode-toggle{background:#fff;border:1px solid #e5e7eb;border-radius:10px;display:flex;overflow:hidden}@media(min-width:768px)and (max-width:1399px){.view-container .view-mode-toggle{border-radius:12px;border-width:2px}}.view-container .view-mode-btn{align-items:center;background:#fff;border:none;color:#6b7280;cursor:pointer;display:flex;justify-content:center;padding:10px 1rem;transition:all .3s ease}.view-container .view-mode-btn:hover{background:rgba(82,196,26,.05);color:#22c55e}.view-container .view-mode-btn.active{background:#22c55e;color:#fff}.view-container .view-mode-btn:not(:last-child){border-right:1px solid #e5e7eb}@media(min-width:768px)and (max-width:1399px){.view-container .view-mode-btn{min-height:52px;padding:14px 1.5rem}.view-container .view-mode-btn:not(:last-child){border-right-width:2px}}.view-container .view-actions .btn{align-items:center;border:none;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.05);cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:600;gap:10px;padding:12px 20px;text-decoration:none;transition:all .3s ease}.view-container .view-actions .btn:hover{transform:translateY(-2px)}@media(min-width:768px)and (max-width:1399px){.view-container .view-actions .btn{border-radius:12px;font-size:16px;gap:12px;min-height:52px;padding:16px 24px}}.view-container .btn-refresh{background:#fff;border:1px solid #e5e7eb;color:#1f2937}.view-container .btn-refresh:hover{background:rgba(82,196,26,.05);border-color:#22c55e;box-shadow:0 4px 6px rgba(0,0,0,.07);color:#22c55e}@media(min-width:768px)and (max-width:1399px){.view-container .btn-refresh{border-width:2px}}.view-container .btn-export{background:linear-gradient(135deg,#fa8c16,#d46b08);border:none;color:#fff}.view-container .btn-export:hover{box-shadow:0 6px 20px rgba(250,140,22,.35)}.view-container .btn-create,.view-container .btn-primary{background:linear-gradient(135deg,#22c55e,#16a34a);border:none;color:#fff}.view-container .btn-create:hover,.view-container .btn-primary:hover{box-shadow:0 6px 20px rgba(34,197,94,.35)}.view-container .table-container{display:flex;flex:1;flex-direction:column;margin-left:auto;margin-right:auto;margin-top:.75rem;max-width:1400px;position:relative;width:100%}.view-container .loading-state{align-items:center;display:flex;flex:1;flex-direction:column;gap:1.5rem;justify-content:center;padding:80px 3rem}@media(min-width:768px)and (max-width:1399px){.view-container .loading-state{gap:2.5rem;padding:100px 3rem}}.view-container .loading-spinner{animation:spin 1s linear infinite;border:4px solid rgba(82,196,26,.2);border-radius:50%;border-top-color:#22c55e;height:48px;width:48px}@media(min-width:768px)and (max-width:1399px){.view-container .loading-spinner{border-width:5px;height:56px;width:56px}}.view-container .loading-text{color:#1f2937;font-size:1.125rem;font-weight:500}@media(min-width:768px)and (max-width:1399px){.view-container .loading-text{font-size:1.25rem}}.view-container .table-wrapper{flex:1;overflow-x:auto}.view-container .mobile-card-layout{display:flex;flex:1;flex-direction:column;gap:1.5rem;padding:.5rem 0}@media(min-width:768px)and (max-width:1399px){.view-container .mobile-card-layout{gap:2rem}}.view-container .enhanced-table{background:#fff;border:1px solid #e5e7eb;border-collapse:separate;border-radius:12px;border-spacing:0;box-shadow:0 1px 3px rgba(0,0,0,.05);overflow:hidden;table-layout:fixed;width:100%}.view-container .enhanced-table thead{background:linear-gradient(135deg,rgba(82,196,26,.03),rgba(82,196,26,.06));border-bottom:1px solid rgba(82,196,26,.15);position:sticky;top:0;z-index:200}.view-container .enhanced-table thead th{background:linear-gradient(135deg,rgba(82,196,26,.03),rgba(82,196,26,.06));border:none;border-bottom:1px solid rgba(82,196,26,.15);color:#475569;cursor:pointer;font-size:.75rem;font-weight:700;letter-spacing:.04em;padding:1rem .75rem;position:relative;text-transform:uppercase;transition:all .3s ease}.view-container .enhanced-table thead th:hover{background:linear-gradient(135deg,rgba(82,196,26,.05),rgba(82,196,26,.08))}.view-container .enhanced-table thead th.hand{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.view-container .enhanced-table thead th .th-content{align-items:center;display:flex;gap:10px;justify-content:space-between}.view-container .enhanced-table thead th .fa,.view-container .enhanced-table thead th .fas{margin-left:6px;opacity:.7;transition:all .3s ease}.view-container .enhanced-table thead th:hover .fa,.view-container .enhanced-table thead th:hover .fas{opacity:1}.view-container .enhanced-table thead th.actions-column{cursor:default;text-align:center}@media(min-width:768px)and (max-width:1399px){.view-container .enhanced-table thead th{font-size:.8rem;padding:1.25rem 1.5rem}.view-container .enhanced-table thead th .th-content{gap:14px}}.view-container .enhanced-table tbody tr{background:#fff;border-bottom:1px solid #f3f4f6;transition:all .3s ease}.view-container .enhanced-table tbody tr:hover{background:rgba(34,197,94,.03);box-shadow:0 4px 6px rgba(0,0,0,.07);transform:translateY(-1px)}.view-container .enhanced-table tbody tr:last-child{border-bottom:none}.view-container .enhanced-table tbody td{border:none;color:#1f2937;font-size:.875rem;font-weight:500;padding:1rem .75rem;vertical-align:middle}@media(min-width:768px)and (max-width:1399px){.view-container .enhanced-table tbody td{font-size:15px;padding:1.25rem 1.5rem}}.view-container .id-cell .id-link,.view-container .number-cell .number-link{align-items:center;background:rgba(34,197,94,.08);border:1px solid rgba(34,197,94,.2);border-radius:8px;color:#16a34a;display:inline-flex;font-size:.875rem;font-weight:700;gap:6px;padding:8px 14px;text-decoration:none;transition:all .3s ease}.view-container .id-cell .id-link:hover,.view-container .number-cell .number-link:hover{background:rgba(34,197,94,.15);box-shadow:0 1px 3px rgba(0,0,0,.05);color:#15803d;transform:translateY(-1px)}@media(min-width:768px)and (max-width:1399px){.view-container .id-cell .id-link,.view-container .number-cell .number-link{border-radius:10px;font-size:15px;gap:8px;padding:10px 16px}}.view-container .info-cell .info-content{display:flex;flex-direction:column;gap:6px}.view-container .info-cell .info-content .primary-info{align-items:center;background:rgba(82,196,26,.1);border:1px solid rgba(82,196,26,.3);border-radius:6px;color:#1f2937;display:inline-flex;font-size:.75rem;font-weight:600;gap:6px;padding:6px 12px}@media(min-width:768px)and (max-width:1399px){.view-container .info-cell .info-content .primary-info{border-radius:8px;font-size:14px;gap:8px;padding:8px 14px}}.view-container .info-cell .info-content .secondary-info{color:#6b7280;font-size:.75rem;font-weight:500}@media(min-width:768px)and (max-width:1399px){.view-container .info-cell .info-content .secondary-info{font-size:14px}.view-container .info-cell .info-content{gap:8px}}.view-container .date-cell .date-info{display:flex;flex-direction:column;gap:6px}.view-container .date-cell .date-info .date-primary{align-items:center;color:#1f2937;display:flex;font-weight:500;gap:10px}@media(min-width:768px)and (max-width:1399px){.view-container .date-cell .date-info .date-primary{font-size:15px;gap:12px}.view-container .date-cell .date-info{gap:8px}}.view-container .no-data{color:#6b7280;font-size:.875rem;font-style:italic}@media(min-width:768px)and (max-width:1399px){.view-container .no-data{font-size:15px}}.view-container .location-badge,.view-container .ongoing-badge,.view-container .status-badge,.view-container .type-badge{align-items:center;border-radius:20px;display:inline-flex;font-size:.75rem;font-weight:600;gap:6px;letter-spacing:.04em;padding:6px 14px;text-transform:uppercase;transition:all .3s ease;white-space:nowrap}.view-container .location-badge:hover,.view-container .ongoing-badge:hover,.view-container .status-badge:hover,.view-container .type-badge:hover{box-shadow:0 4px 6px rgba(0,0,0,.07);transform:translateY(-1px)}@media(min-width:768px)and (max-width:1399px){.view-container .location-badge,.view-container .ongoing-badge,.view-container .status-badge,.view-container .type-badge{border-radius:24px;font-size:.8rem;gap:8px;padding:8px 16px}}.view-container .status-badge.active{background:rgba(16,185,129,.12);border:1px solid rgba(16,185,129,.3);color:#059669}.view-container .status-badge.closed{background:hsla(220,9%,46%,.12);border:1px solid hsla(220,9%,46%,.3);color:#6b7280}.view-container .status-badge.pending{background:rgba(114,46,209,.12);border:1px solid rgba(114,46,209,.3);color:#722ed1}.view-container .status-badge.critical{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.3);color:#ef4444}.view-container .status-badge.default{background:hsla(220,9%,46%,.12);border:1px solid hsla(220,9%,46%,.3);color:#6b7280}.view-container .type-badge.primary{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.3);color:#dc2626}.view-container .type-badge.secondary{background:rgba(82,196,26,.12);border:1px solid rgba(82,196,26,.3);color:#16a34a}.view-container .type-badge.tertiary{background:rgba(250,140,22,.12);border:1px solid rgba(250,140,22,.3);color:#d46b08}.view-container .type-badge.default{background:hsla(220,9%,46%,.12);border:1px solid hsla(220,9%,46%,.3);color:#6b7280}.view-container .ongoing-badge{background:rgba(250,140,22,.12);border:1px solid rgba(250,140,22,.3);color:#d46b08}.view-container .location-badge{background:rgba(114,46,209,.12);border:1px solid rgba(114,46,209,.25);color:#7c3aed}.view-container .actions-cell .action-buttons{align-items:center;display:flex;gap:8px;justify-content:center}@media(min-width:768px)and (max-width:1399px){.view-container .actions-cell .action-buttons{gap:10px}}.view-container .table tbody .btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:.75rem;font-weight:600;gap:4px;margin:0 2px;padding:8px 12px;text-decoration:none;transition:all .3s ease}.view-container .table tbody .btn:hover{transform:translateY(-2px)}@media(min-width:768px)and (max-width:1399px){.view-container .table tbody .btn{border-radius:10px;font-size:14px;gap:6px;margin:0 3px;min-height:40px;min-width:40px;padding:10px 14px}}.view-container .view-btn{background:rgba(34,197,94,.12);color:#16a34a}.view-container .view-btn:hover{background:#22c55e;box-shadow:0 4px 12px rgba(34,197,94,.3);color:#fff}.view-container .edit-btn{background:rgba(59,130,246,.12);color:#3b82f6}.view-container .edit-btn:hover{background:#3b82f6;box-shadow:0 4px 12px rgba(59,130,246,.3);color:#fff}.view-container .delete-btn{background:rgba(239,68,68,.12);color:#ef4444}.view-container .delete-btn:hover{background:#ef4444;box-shadow:0 4px 12px rgba(239,68,68,.3);color:#fff}.view-container .empty-state{align-items:center;display:flex;flex:1;flex-direction:column;justify-content:center;min-height:450px;padding:80px 3rem;text-align:center}.view-container .empty-state .empty-icon{align-items:center;background:rgba(82,196,26,.12);border-radius:50%;color:#22c55e;display:flex;height:80px;justify-content:center;margin-bottom:2rem;width:80px}@media(min-width:768px)and (max-width:1399px){.view-container .empty-state .empty-icon{height:96px;margin-bottom:3rem;width:96px}}.view-container .empty-state h3{color:#1f2937;font-size:1.75rem;font-weight:700;margin-bottom:1rem}@media(min-width:768px)and (max-width:1399px){.view-container .empty-state h3{font-size:2.25rem;margin-bottom:2rem}}.view-container .empty-state .empty-message p{color:#6b7280;font-size:1.125rem;line-height:1.6;margin-bottom:2rem;max-width:450px}@media(min-width:768px)and (max-width:1399px){.view-container .empty-state .empty-message p{font-size:1.25rem;margin-bottom:3rem;max-width:550px}}.view-container .empty-state .clear-search-btn,.view-container .empty-state .create-first-btn{align-items:center;background:linear-gradient(135deg,#22c55e,#16a34a);border:none;border-radius:12px;box-shadow:0 4px 12px rgba(34,197,94,.25);color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:10px;padding:14px 2rem;text-decoration:none;transition:all .3s ease}.view-container .empty-state .clear-search-btn:hover,.view-container .empty-state .create-first-btn:hover{box-shadow:0 6px 20px rgba(34,197,94,.35);transform:translateY(-2px)}@media(min-width:768px)and (max-width:1399px){.view-container .empty-state .clear-search-btn,.view-container .empty-state .create-first-btn{border-radius:14px;font-size:1.1rem;gap:14px;min-height:56px;padding:1.25rem 2.5rem}.view-container .empty-state{min-height:550px;padding:100px 4rem}}.view-container .pagination-section{align-items:center;background:#fff;border-radius:0 0 12px 12px;border-top:1px solid #e5e7eb;display:flex;flex-shrink:0;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;margin-left:auto;margin-right:auto;margin-top:auto;max-width:1400px;padding:1.5rem 2rem;width:100%}.view-container .pagination-section .pagination-info .results-summary{color:#6b7280;font-size:.875rem;font-weight:500}@media(min-width:768px)and (max-width:1399px){.view-container .pagination-section .pagination-info .results-summary{font-size:16px}}.view-container .pagination-section .pagination-controls .pagination{align-items:center;display:flex;gap:6px;justify-content:center;margin:0}@media(min-width:768px)and (max-width:1399px){.view-container .pagination-section .pagination-controls .pagination{gap:10px}}.view-container .pagination-section .pagination .page-link{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1f2937;font-size:.875rem;font-weight:500;padding:10px 1rem;text-decoration:none;transition:all .3s ease}.view-container .pagination-section .pagination .page-link:hover{background:#22c55e;border-color:#22c55e;color:#fff;transform:translateY(-1px)}@media(min-width:768px)and (max-width:1399px){.view-container .pagination-section .pagination .page-link{align-items:center;border-radius:10px;border-width:2px;display:flex;font-size:16px;justify-content:center;min-height:48px;min-width:48px;padding:14px 1.25rem}}.view-container .pagination-section .pagination .page-item.active .page-link{background:#22c55e;border-color:#22c55e;color:#fff}@media(min-width:768px)and (max-width:1399px){.view-container .pagination-section{border-top-width:2px;gap:2.5rem;padding:2rem 3rem}}@media(min-width:1400px){.view-container{margin-left:15px;margin-right:15px;margin-top:70px}}@media(min-width:768px)and (max-width:1399px){.view-container{margin:70px 0 0;padding:0}.view-container.with-sidebar-collapsed .main-content,.view-container.with-sidebar-open .main-content{margin-left:0;width:100%}.view-container .main-content{min-height:calc(100vh - 70px);padding:0;width:100%}.view-container .content-container{margin-left:0;max-width:100%;padding:1.5rem 2rem}.view-container .enhanced-table{font-size:15px}.view-container .container,.view-container .container-fluid,.view-container .container-lg,.view-container .container-md,.view-container .container-sm,.view-container .container-xl,.view-container .container-xxl{margin-left:0!important;margin-right:0!important;max-width:none!important;padding-left:0!important;padding-right:0!important;width:100%!important}.view-container .col,.view-container .row,.view-container [class*=col-]{flex:none!important;max-width:none!important;padding-left:0!important;padding-right:0!important;width:100%!important}}@media(max-width:991px){:root{--header-height:60px}.view-container{margin-top:60px}.view-container.with-sidebar-collapsed .main-content,.view-container.with-sidebar-open .main-content{margin-left:0;width:100%}.view-container .main-content{min-height:calc(100vh - 60px);padding:8px}.view-container .sidebar{height:calc(100vh - 60px);top:60px}.view-container .page-header{padding:1.5rem}.view-container .title-info h1{font-size:22px}.view-container .stats-grid{grid-template-columns:repeat(2,1fr)}.view-container .view-actions{align-items:stretch;flex-direction:column;gap:1rem;padding:1rem}.view-container .view-actions .search-section{align-items:stretch;flex-direction:column;gap:12px}.view-container .view-actions .search-section .search-input-group{max-width:none;min-width:auto}.view-container .view-actions .actions-right{justify-content:stretch}.view-container .view-actions .actions-right .btn-create,.view-container .view-actions .actions-right .btn-export,.view-container .view-actions .actions-right .btn-refresh{flex:1;justify-content:center}.view-container .filter-panel{align-items:stretch;flex-direction:column;gap:1rem}.view-container .enhanced-table{font-size:.875rem;padding:1rem}.view-container .enhanced-table tbody td,.view-container .enhanced-table thead th{padding:12px 8px}.view-container .enhanced-table tbody .btn{font-size:12px;padding:6px 10px}.view-container .pagination-section{flex-direction:column;gap:1rem;text-align:center}}@media(max-width:768px){.view-container{margin-top:56px}.view-container .stats-grid{grid-template-columns:1fr}.view-container .title-info h1{font-size:20px}.view-container .view-actions{padding:.75rem}.view-container .empty-state{padding:50px 1.5rem}.view-container .empty-state .empty-icon{height:64px;width:64px}.view-container .empty-state h3{font-size:22px}}@media(min-width:768px)and (max-width:1399px){.view-container .filter-select,.view-container .filter-toggle,.view-container .search-input,.view-container .view-actions .btn,.view-container .view-mode-btn{min-height:52px}.view-container .table tbody .btn{min-height:40px;min-width:40px}.view-container .pagination .page-link{min-height:48px;min-width:48px}}@media(min-resolution:192dpi){.view-container .enhanced-table tbody tr:hover{box-shadow:0 6px 16px rgba(0,0,0,.12)}.view-container .filter-select:focus,.view-container .search-input:focus{box-shadow:0 0 0 4px rgba(82,196,26,.15)}}@supports(-webkit-touch-callout:none){.view-container .filter-select,.view-container .search-input,.view-container .view-actions .btn{-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}}@media(prefers-reduced-motion:reduce){.view-container *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.view-container .action-btn:focus,.view-container .filter-select:focus,.view-container .page-link:focus,.view-container .search-input:focus,.view-container button:focus{outline:2px solid #22c55e;outline-offset:2px}@media(min-width:768px)and (max-width:1399px){.view-container .action-btn:focus,.view-container .filter-select:focus,.view-container .page-link:focus,.view-container .search-input:focus,.view-container button:focus{outline-offset:3px;outline-width:3px}}.view-container .action-btn:disabled,.view-container button:disabled{cursor:not-allowed;opacity:.6;transform:none!important}@media(prefers-contrast:high){.view-container .filter-select,.view-container .search-input,.view-container .view-actions .btn{border-width:2px}}@media print{.view-container .sidebar,.view-container .view-actions{display:none!important}.view-container .main-content{margin-left:0!important;padding:0!important;width:100%!important}.view-container .page-header{background:#22c55e!important;color:#fff!important;-webkit-print-color-adjust:exact}.view-container .enhanced-table tbody tr{-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}.view-container .action-buttons{display:none}}.view-container.animal-weight-tracking-view{display:flex;flex-direction:column;min-height:100vh}.view-container.animal-weight-tracking-view .main-content{display:flex;flex:1;flex-direction:column;padding:0}.view-container.animal-weight-tracking-view .page-header{flex-shrink:0;position:relative}.view-container.animal-weight-tracking-view .content-container{display:flex;flex:1;flex-direction:column}.view-container.animal-weight-tracking-view .tracking-container{display:flex;flex:1;flex-direction:column}.view-container.animal-weight-tracking-view.with-secondary-menu{background:#f8f9fa;margin:0;min-height:100vh;padding:0}.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout{display:flex;min-height:100vh;position:relative;width:100%}.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .animal-secondary-menu{flex-shrink:0;height:100vh;position:sticky;top:0;z-index:1000}@media(max-width:1399px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .animal-secondary-menu{height:100vh;left:0;position:fixed;top:0;transition:width .3s ease;z-index:1040}.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .animal-secondary-menu.collapsed{width:60px}.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .animal-secondary-menu.expanded{width:280px}}.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content{background:#f8f9fa;flex:1;margin:0;min-height:100vh;min-width:0;overflow-x:hidden;overflow-y:auto;padding:0}.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .content-container,.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .page-header{margin:0 auto;max-width:calc(100vw - 4rem);padding-left:2rem;padding-right:2rem;width:100%}@media(min-width:1920px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .content-container,.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .page-header{max-width:1800px}}@media(min-width:1600px)and (max-width:1919px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .content-container,.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .page-header{max-width:1600px}}@media(min-width:1399px)and (max-width:1599px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .content-container,.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .page-header{max-width:calc(100% - 4rem)}}@media(max-width:1199px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .content-container,.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .page-header{max-width:100%;padding-left:1.5rem;padding-right:1.5rem}}@media(max-width:991px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .content-container,.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .page-header{padding-left:1rem;padding-right:1rem}}@media(max-width:768px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .content-container,.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .page-header{padding-left:.75rem;padding-right:.75rem}}.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .page-header{padding-bottom:1.5rem;padding-top:2rem}@media(max-width:991px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .page-header{padding-bottom:1rem;padding-top:1.5rem}}.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .content-container{padding-bottom:3rem;padding-top:0}@media(max-width:991px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .content-container{padding-bottom:2rem}}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle{align-items:center;background:linear-gradient(135deg,#16a34a,#15803d);border:none;border-radius:12px;box-shadow:0 4px 16px rgba(22,163,74,.3);color:#fff;cursor:pointer;display:flex;justify-content:center;outline:none;overflow:hidden;position:absolute;right:20px;top:20px;transition:all .3s cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:10}@media(min-width:1400px){.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle{display:none}}@media(max-width:1399px){.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle{height:52px;padding:14px;width:52px}}@media(max-width:767px){.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle{border-radius:10px;height:44px;padding:12px;right:16px;top:16px;width:44px}}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle:hover{background:linear-gradient(135deg,#15803d,#166534);box-shadow:0 8px 25px rgba(22,163,74,.4);transform:scale(1.05) translateY(-2px)}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle:active{box-shadow:0 2px 8px rgba(22,163,74,.3);transform:scale(.95) translateY(0)}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle:focus{outline:3px solid hsla(0,0%,100%,.6);outline-offset:2px}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle svg{transition:transform .3s cubic-bezier(.4,0,.2,1)}@media(max-width:1399px){.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle svg{height:24px;width:24px}}@media(max-width:767px){.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle svg{height:20px;width:20px}}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle.menu-open svg{transform:rotate(180deg)}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle:before{background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.2),transparent);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .6s;width:100%}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle:hover:before{left:100%}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle:after{background:hsla(0,0%,100%,.3);border-radius:50%;content:"";height:0;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .3s,height .3s;width:0}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle:active:after{height:120%;width:120%}@media(max-width:1399px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout{flex-direction:row;min-height:100vh}.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content{min-height:100vh}}@media(max-width:767px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content{min-height:calc(100vh - 60px)}}@media(min-width:1400px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content{height:auto;min-height:calc(100vh - 80px)}}@media(max-width:1399px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content{height:auto;min-height:100vh}}@media(max-width:767px){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content{height:auto;min-height:calc(100vh - 60px)}}@media(max-width:1399px){.secondary-menu-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:rgba(0,0,0,.5);bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;transition:all .3s ease;visibility:hidden;z-index:1035}.secondary-menu-backdrop.show{opacity:1;visibility:visible}}.animal-weight-tracking-view .page-header .header-content{display:flex;flex-direction:column;gap:1.5rem}@media(max-width:991px){.animal-weight-tracking-view .page-header .header-content{gap:1rem}}.animal-weight-tracking-view .page-header .header-title{align-items:center;display:flex;gap:1rem}@media(max-width:991px){.animal-weight-tracking-view .page-header .header-title{align-items:flex-start;flex-direction:column;gap:.75rem}}.animal-weight-tracking-view .page-header .header-title .header-icon{align-items:center;background:linear-gradient(135deg,rgba(5,150,105,.1),rgba(5,150,105,.05));border:2px solid rgba(5,150,105,.2);border-radius:1.5rem;box-shadow:0 4px 12px rgba(5,150,105,.1);color:#059669;display:flex;flex-shrink:0;height:56px;justify-content:center;width:56px}@media(max-width:991px){.animal-weight-tracking-view .page-header .header-title .header-icon{height:48px;width:48px}}.animal-weight-tracking-view .page-header .header-title .title-info{flex:1}.animal-weight-tracking-view .page-header .header-title .title-info h1{color:#047857;font-size:1.5rem;font-weight:700;line-height:1.25;margin:0 0 .25rem}@media(max-width:991px){.animal-weight-tracking-view .page-header .header-title .title-info h1{font-size:1.25rem}}.animal-weight-tracking-view .page-header .header-title .title-info .subtitle{color:#6b7280;font-size:.875rem;font-weight:500;margin:0}.animal-weight-tracking-view .stats-section{margin-top:1rem}.animal-weight-tracking-view .stats-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}@media(max-width:991px){.animal-weight-tracking-view .stats-grid{gap:.75rem;grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.animal-weight-tracking-view .stats-grid{grid-template-columns:1fr}}.animal-weight-tracking-view .stat-card{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:1rem;box-shadow:0 1px 3px rgba(0,0,0,.05);display:flex;gap:.75rem;padding:1rem;transition:all .3s ease}.animal-weight-tracking-view .stat-card:hover{box-shadow:0 4px 6px rgba(0,0,0,.07);transform:translateY(-2px)}.animal-weight-tracking-view .stat-card .stat-icon{align-items:center;border-radius:1rem;color:#fff;display:flex;flex-shrink:0;height:48px;justify-content:center;width:48px}.animal-weight-tracking-view .stat-card .stat-icon.total{background:linear-gradient(135deg,#059669,#047857)}.animal-weight-tracking-view .stat-card .stat-icon.current{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.animal-weight-tracking-view .stat-card .stat-icon.positive{background:linear-gradient(135deg,#22c55e,#16a34a)}.animal-weight-tracking-view .stat-card .stat-icon.negative{background:linear-gradient(135deg,#ef4444,#dc2626)}.animal-weight-tracking-view .stat-card .stat-icon.average{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.animal-weight-tracking-view .stat-card .stat-info{flex:1;min-width:0}.animal-weight-tracking-view .stat-card .stat-info .stat-number{color:#1f2937;font-size:1.125rem;font-weight:700;line-height:1.25;margin-bottom:4px}.animal-weight-tracking-view .stat-card .stat-info .stat-label{color:#6b7280;font-size:.75rem;font-weight:500;letter-spacing:.05em;text-transform:uppercase}.animal-weight-tracking-view .view-actions{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:1rem;box-shadow:0 1px 3px rgba(0,0,0,.05);display:flex;gap:1rem;justify-content:space-between;margin-bottom:1.5rem;padding:1rem}@media(max-width:991px){.animal-weight-tracking-view .view-actions{flex-direction:column;gap:.75rem}}.animal-weight-tracking-view .view-actions .actions-left,.animal-weight-tracking-view .view-actions .actions-right{align-items:center;display:flex;gap:.75rem}@media(max-width:991px){.animal-weight-tracking-view .view-actions .actions-left,.animal-weight-tracking-view .view-actions .actions-right{justify-content:space-between;width:100%}}.animal-weight-tracking-view .view-actions .view-mode-toggle{background:#f8f9fa;border-radius:.375rem;display:flex;gap:.25rem;padding:4px}.animal-weight-tracking-view .view-actions .view-mode-btn{align-items:center;background:transparent;border:none;border-radius:.25rem;color:#6b7280;display:flex;font-weight:500;gap:.25rem;padding:.5rem .75rem;transition:all .2s ease}.animal-weight-tracking-view .view-actions .view-mode-btn:hover{background:#fff;color:#1f2937}.animal-weight-tracking-view .view-actions .view-mode-btn.active{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.05);color:#059669;font-weight:600}.animal-weight-tracking-view .view-actions .btn-create,.animal-weight-tracking-view .view-actions .btn-export,.animal-weight-tracking-view .view-actions .btn-refresh{align-items:center;border-radius:.375rem;display:flex;font-weight:600;gap:.25rem;padding:.5rem .75rem;transition:all .2s ease;white-space:nowrap}.animal-weight-tracking-view .view-actions .btn-refresh{background:#fff;border:1px solid #e5e7eb;color:#1f2937}.animal-weight-tracking-view .view-actions .btn-refresh:hover{background:#f8f9fa}.animal-weight-tracking-view .view-actions .btn-refresh .animate-spin{animation:spin 1s linear infinite}.animal-weight-tracking-view .view-actions .btn-export{background:#f59e0b;border:1px solid #f59e0b;color:#fff}.animal-weight-tracking-view .view-actions .btn-export:hover{background:#d97706}.animal-weight-tracking-view .view-actions .btn-create{background:linear-gradient(135deg,#059669,#047857);border:none;color:#fff}.animal-weight-tracking-view .view-actions .btn-create:hover{background:linear-gradient(135deg,#047857,#064e3b)}.weight-chart{background:#fff;border:1px solid #e5e7eb;border-radius:1.5rem;box-shadow:0 1px 3px rgba(0,0,0,.05);margin-bottom:1.5rem;padding:1.5rem}.weight-chart .chart-header{align-items:center;border-bottom:2px solid #f3f4f6;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.weight-chart .chart-header h3{align-items:center;color:#1f2937;display:flex;font-size:1.25rem;font-weight:700;gap:.75rem;margin:0}.weight-chart .chart-header .chart-subtitle{color:#6b7280;font-size:.875rem;font-weight:500}.weight-chart .chart-container{align-items:flex-end;display:flex;gap:.5rem;height:300px;justify-content:space-between;padding:1rem 0;position:relative}.weight-chart .chart-container:before{background:#e5e7eb;bottom:0;content:"";height:1px;left:0;position:absolute;right:0}.weight-chart .chart-bar-wrapper{align-items:center;display:flex;flex:1;flex-direction:column;gap:.25rem}.weight-chart .chart-bar-container{align-items:flex-end;display:flex;height:100%;justify-content:center;width:100%}.weight-chart .chart-bar{align-items:flex-start;border-radius:.375rem .375rem 0 0;cursor:pointer;display:flex;justify-content:center;max-width:60px;min-height:20px;padding-top:.25rem;position:relative;transition:all .3s ease;width:100%}.weight-chart .chart-bar.positive{background:linear-gradient(180deg,#22c55e,#16a34a)}.weight-chart .chart-bar.positive:hover{background:linear-gradient(180deg,#16a34a,#15803d);transform:translateY(-4px)}.weight-chart .chart-bar.negative{background:linear-gradient(180deg,#ef4444,#dc2626)}.weight-chart .chart-bar.negative:hover{background:linear-gradient(180deg,#dc2626,#b91c1c);transform:translateY(-4px)}.weight-chart .chart-bar.neutral{background:linear-gradient(180deg,#3b82f6,#1d4ed8)}.weight-chart .chart-bar.neutral:hover{background:linear-gradient(180deg,#1d4ed8,#1e40af);transform:translateY(-4px)}.weight-chart .chart-bar .bar-value{color:#fff;font-size:.75rem;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.2)}.weight-chart .chart-label{color:#6b7280;font-size:.75rem;font-weight:500;margin-top:.75rem;text-align:center;transform:rotate(-45deg);transform-origin:center;white-space:nowrap}.weight-chart .chart-legend{border-top:1px solid #f3f4f6;display:flex;gap:1rem;justify-content:center;margin-top:1.5rem;padding-top:1rem}.weight-chart .chart-legend .legend-item{align-items:center;color:#6b7280;display:flex;font-size:.875rem;gap:.25rem}.weight-chart .chart-legend .legend-item .legend-color{border-radius:.25rem;height:16px;width:16px}.weight-chart .chart-legend .legend-item .legend-color.positive{background:linear-gradient(135deg,#22c55e,#16a34a)}.weight-chart .chart-legend .legend-item .legend-color.negative{background:linear-gradient(135deg,#ef4444,#dc2626)}.weight-chart .chart-legend .legend-item .legend-color.neutral{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}@media(max-width:991px){.weight-chart{padding:1rem}.weight-chart .chart-container{gap:4px;height:250px}.weight-chart .chart-bar{max-width:40px}.weight-chart .chart-label{font-size:10px}}.recent-records-section{margin-top:1.5rem}.recent-records-section .section-title{align-items:center;color:#1f2937;display:flex;font-size:1.125rem;font-weight:700;gap:.75rem;margin-bottom:1rem}.recent-records-section .records-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}@media(max-width:991px){.recent-records-section .records-grid{grid-template-columns:1fr}}.records-list-view .records-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}@media(max-width:991px){.records-list-view .records-grid{grid-template-columns:1fr}}.weight-tracking-card{background:#fff;border:1px solid #e5e7eb;border-radius:1rem;box-shadow:0 1px 3px rgba(0,0,0,.05);padding:1rem;transition:all .3s ease}.weight-tracking-card:hover{border-color:rgba(5,150,105,.3);box-shadow:0 10px 15px rgba(0,0,0,.1);transform:translateY(-4px)}.weight-tracking-card .weight-tracking-card-header{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem}.weight-tracking-card .weight-tracking-card-header .weight-tracking-card-date{align-items:center;color:#1f2937;display:flex;font-size:.875rem;font-weight:600;gap:.25rem}.weight-tracking-card .weight-tracking-card-body .weight-primary-display{align-items:center;background:linear-gradient(135deg,rgba(5,150,105,.05),rgba(5,150,105,.02));border:2px solid rgba(5,150,105,.2);border-radius:1rem;display:flex;gap:.75rem;margin-bottom:1rem;padding:1rem}.weight-tracking-card .weight-tracking-card-body .weight-primary-display .weight-value{align-items:baseline;display:flex;gap:.25rem}.weight-tracking-card .weight-tracking-card-body .weight-primary-display .weight-value .weight-number{color:#059669;font-size:2rem;font-weight:700;line-height:1}.weight-tracking-card .weight-tracking-card-body .weight-primary-display .weight-value .weight-unit{color:#047857;font-size:1.125rem;font-weight:600}.weight-tracking-card .weight-tracking-card-body .weight-tracking-details{display:flex;flex-direction:column;gap:.75rem}.weight-tracking-card .weight-tracking-card-body .weight-tracking-details .detail-item{align-items:center;display:flex;font-size:.875rem;gap:.5rem}.weight-tracking-card .weight-tracking-card-body .weight-tracking-details .detail-item.full-width{align-items:flex-start;flex-direction:column}.weight-tracking-card .weight-tracking-card-body .weight-tracking-details .detail-item .detail-label{color:#6b7280;font-weight:600;min-width:120px}.weight-tracking-card .weight-tracking-card-body .weight-tracking-details .detail-item .notes-text{background:#f8f9fa;border-radius:.25rem;color:#1f2937;line-height:1.6;padding:.5rem;width:100%}.weight-tracking-card .weight-tracking-card-footer{border-top:1px solid #f3f4f6;margin-top:1rem;padding-top:.75rem}.weight-tracking-card .weight-tracking-card-footer .view-details-btn{background:linear-gradient(135deg,#059669,#047857);border:none;color:#fff;font-weight:600;transition:all .2s ease;width:100%}.weight-tracking-card .weight-tracking-card-footer .view-details-btn:hover{background:linear-gradient(135deg,#047857,#064e3b);box-shadow:0 4px 6px rgba(0,0,0,.07);transform:translateY(-1px)}.weight-tracking-card .condition-badge,.weight-tracking-card .quality-badge,.weight-tracking-card .status-badge,.weight-tracking-card .trend-badge{align-items:center;border:1px solid transparent;border-radius:12px;display:inline-flex;font-size:11px;font-weight:600;gap:4px;letter-spacing:.5px;padding:4px .25rem;text-transform:uppercase;transition:all .2s ease}.weight-tracking-card .condition-badge:hover,.weight-tracking-card .quality-badge:hover,.weight-tracking-card .status-badge:hover,.weight-tracking-card .trend-badge:hover{box-shadow:0 1px 3px rgba(0,0,0,.05);transform:translateY(-1px)}.weight-tracking-card .status-badge.approved{background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.3);color:#16a34a}.weight-tracking-card .status-badge.verification-required{background:rgba(245,158,11,.1);border-color:rgba(245,158,11,.3);color:#d97706}.weight-tracking-card .status-badge.pending{background:hsla(220,9%,46%,.1);border-color:hsla(220,9%,46%,.3);color:#6b7280}.weight-tracking-card .trend-badge.positive{background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.3);color:#16a34a}.weight-tracking-card .trend-badge.negative{background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.3);color:#dc2626}.weight-tracking-card .condition-badge.excellent{background:rgba(5,150,105,.1);border-color:rgba(5,150,105,.3);color:#047857}.weight-tracking-card .condition-badge.good{background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.3);color:#16a34a}.weight-tracking-card .condition-badge.fair{background:rgba(132,204,22,.1);border-color:rgba(132,204,22,.3);color:#365314}.weight-tracking-card .condition-badge.poor{background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.3);color:#dc2626}.weight-tracking-card .condition-badge.average{background:rgba(74,222,128,.1);border-color:rgba(74,222,128,.3);color:#15803d}.weight-tracking-card .quality-badge.excellent,.weight-tracking-card .quality-badge.high{background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.2);color:#16a34a}.weight-tracking-card .quality-badge.good,.weight-tracking-card .quality-badge.medium{background:rgba(132,204,22,.1);border-color:rgba(132,204,22,.2);color:#365314}.weight-tracking-card .quality-badge.low{background:rgba(245,158,11,.1);border-color:rgba(245,158,11,.2);color:#d97706}.weight-tracking-card .quality-badge.poor{background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.2);color:#dc2626}.animal-weight-tracking-view .empty-state{align-items:center;display:flex;flex:1;flex-direction:column;justify-content:center;min-height:400px;padding:3rem;text-align:center}.animal-weight-tracking-view .empty-state .empty-icon{color:#9ca3af;margin-bottom:1.5rem}.animal-weight-tracking-view .empty-state h3{color:#1f2937;font-size:1.5rem;margin-bottom:.5rem}.animal-weight-tracking-view .empty-state .empty-message{color:#6b7280;font-size:1rem;margin-bottom:1.5rem}.animal-weight-tracking-view .empty-state .create-first-btn{background:linear-gradient(135deg,#059669,#047857);border:none;border-radius:1rem;box-shadow:0 4px 6px rgba(0,0,0,.07);color:#fff;font-weight:600;padding:12px 2rem;transition:all .2s ease}.animal-weight-tracking-view .empty-state .create-first-btn:hover{background:linear-gradient(135deg,#047857,#064e3b);box-shadow:0 10px 15px rgba(0,0,0,.1);transform:translateY(-2px)}.animal-weight-tracking-view .loading-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;min-height:400px;padding:3rem}.animal-weight-tracking-view .loading-state .loading-spinner{animation:spin 1s linear infinite;border:4px solid #f8f9fa;border-radius:50%;border-top-color:#059669;height:40px;margin-bottom:1rem;width:40px}.animal-weight-tracking-view .loading-state .loading-text{font-size:1rem;font-weight:500}@media print{.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout{display:block}.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .animal-secondary-menu{display:none}.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .content-container,.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .main-content .page-header{max-width:100%;padding:0}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-backdrop,.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle,.view-container.animal-weight-tracking-view.with-secondary-menu .view-actions{display:none}}@media(prefers-contrast:high){.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout{border:2px solid #000}.view-container.animal-weight-tracking-view.with-secondary-menu .tracking-layout .animal-secondary-menu{border-right:3px solid #000}.view-container.animal-weight-tracking-view.with-secondary-menu .weight-chart,.view-container.animal-weight-tracking-view.with-secondary-menu .weight-tracking-card{border:2px solid #000}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle{border:3px solid #fff;box-shadow:0 0 0 3px #000}}@media(prefers-reduced-motion:reduce){.view-container.animal-weight-tracking-view.with-secondary-menu .main-content{scroll-behavior:auto}.view-container.animal-weight-tracking-view.with-secondary-menu .animal-secondary-menu,.view-container.animal-weight-tracking-view.with-secondary-menu .animal-secondary-menu svg,.view-container.animal-weight-tracking-view.with-secondary-menu .animal-secondary-menu:after,.view-container.animal-weight-tracking-view.with-secondary-menu .animal-secondary-menu:before,.view-container.animal-weight-tracking-view.with-secondary-menu .chart-bar,.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle,.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle svg,.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle:after,.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle:before,.view-container.animal-weight-tracking-view.with-secondary-menu .weight-tracking-card{transition:none}}.view-container.animal-weight-tracking-view.with-secondary-menu .main-content:focus-within .btn-create:focus,.view-container.animal-weight-tracking-view.with-secondary-menu .main-content:focus-within .btn-refresh:focus,.view-container.animal-weight-tracking-view.with-secondary-menu .main-content:focus-within .view-mode-btn:focus{outline:2px solid #16a34a;outline-offset:2px}.view-container.animal-weight-tracking-view.with-secondary-menu .skip-to-content{background:#16a34a;border-radius:4px;color:#fff;left:6px;padding:8px;position:absolute;text-decoration:none;top:-40px;z-index:10000}.view-container.animal-weight-tracking-view.with-secondary-menu .skip-to-content:focus{top:6px}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle[aria-expanded=true]:before{content:"Close navigation menu";height:1px;left:-10000px;overflow:hidden;position:absolute;width:1px}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle[aria-expanded=false]:before{content:"Open navigation menu";height:1px;left:-10000px;overflow:hidden;position:absolute;width:1px}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle:focus-visible{outline:3px solid hsla(0,0%,100%,.8);outline-offset:3px}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-toggle{transform:translateZ(0);will-change:transform,box-shadow}.view-container.animal-weight-tracking-view.with-secondary-menu .animal-secondary-menu{transform:translateZ(0);will-change:width,transform}.view-container.animal-weight-tracking-view.with-secondary-menu .secondary-menu-backdrop{transform:translateZ(0);will-change:opacity,visibility}.view-container.animal-weight-tracking-view.with-secondary-menu .main-content{-webkit-overflow-scrolling:touch;scroll-behavior:smooth}@media(prefers-reduced-motion:reduce){.view-container.animal-weight-tracking-view.with-secondary-menu .main-content{scroll-behavior:auto}}.view-container.animal-weight-tracking-view.with-secondary-menu .loading-state{position:relative;z-index:1}.animal-lookup-modal .modal-dialog{margin:var(--spacing-lg,1.5rem) auto;max-width:95vw;width:1200px}.animal-lookup-modal .modal-content-enhanced{background:var(--bg-white,#fff);border:none;border-radius:var(--card-border-radius,10px);box-shadow:0 25px 50px -12px rgba(0,0,0,.25);overflow:hidden;position:relative}.animal-lookup-modal .modal-content-enhanced .modal-close-btn{align-items:center!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;background:hsla(0,0%,100%,.95)!important;border:1px solid hsla(0,0%,100%,.3)!important;border-radius:50%!important;box-shadow:0 2px 8px rgba(0,0,0,.15)!important;color:var(--text-dark,#374151)!important;cursor:pointer!important;display:flex!important;height:36px!important;justify-content:center!important;padding:.5rem!important;position:absolute!important;right:1rem!important;top:1rem!important;transition:all .2s ease!important;width:36px!important;z-index:1050!important}.animal-lookup-modal .modal-content-enhanced .modal-close-btn:hover{background:#fff!important;box-shadow:0 4px 16px rgba(0,0,0,.2)!important;color:var(--primary-green,#22c55e)!important;transform:translateY(-1px)!important}.animal-lookup-modal .modal-content-enhanced .modal-close-btn:active{transform:translateY(0)!important}.animal-lookup-modal .modal-content-enhanced .modal-close-btn svg{height:20px!important;width:20px!important}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header{background:linear-gradient(135deg,#22c55e,#16a34a);border:none;border-radius:0;color:var(--bg-white,#fff);overflow:hidden;padding:0;position:relative}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .btn-close{display:none}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper{padding:2rem 2.5rem;position:relative}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-main{align-items:flex-start;display:flex;gap:1.5rem;justify-content:space-between;margin-bottom:1.5rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-main .header-title-section{align-items:center;display:flex;flex:1;gap:1.25rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-main .header-title-section .title-icon{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:hsla(0,0%,100%,.15);border:1px solid hsla(0,0%,100%,.2);border-radius:14px;box-shadow:0 8px 32px rgba(0,0,0,.1);color:var(--bg-white,#fff);display:flex;flex-shrink:0;height:56px;justify-content:center;width:56px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-main .header-title-section .title-content{flex:1;min-width:0}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-main .header-title-section .title-content .modal-title{color:var(--bg-white,#fff);font-size:1.75rem;font-weight:700;line-height:1.2;margin:0 0 .375rem;text-shadow:0 1px 2px rgba(0,0,0,.1)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-main .header-title-section .title-content .modal-subtitle{color:hsla(0,0%,100%,.9);font-size:1rem;font-weight:400;line-height:1.4;margin:0;opacity:.9}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-main .header-actions{align-items:center;display:flex;flex-shrink:0;gap:1rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-main .header-actions .loading-indicator{align-items:center;display:flex;justify-content:center}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-stats{display:flex;gap:1.5rem;justify-content:center}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-stats .stat-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:hsla(0,0%,100%,.1);border:1px solid hsla(0,0%,100%,.2);border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.1);min-width:80px;padding:1rem 1.5rem;text-align:center;transition:all .2s ease}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-stats .stat-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.15);transform:translateY(-2px)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-stats .stat-card .stat-number{color:var(--bg-white,#fff);display:block;font-size:2rem;font-weight:800;line-height:1;margin-bottom:.25rem;text-shadow:0 1px 2px rgba(0,0,0,.1)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper .header-stats .stat-card .stat-label{color:hsla(0,0%,100%,.9);font-size:.75rem;font-weight:600;letter-spacing:.5px;opacity:.9;text-transform:uppercase}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper:before{background:radial-gradient(circle,hsla(0,0%,100%,.1) 0,transparent 70%);content:"";height:200%;pointer-events:none;position:absolute;right:-20%;top:-50%;width:200%}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-header .header-wrapper:after{background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.2),transparent);bottom:0;content:"";height:1px;left:0;position:absolute;right:0}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body{background:var(--bg-light,#f8fafc);max-height:70vh;overflow-y:auto;padding:0}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section{background:var(--bg-white,#fff);border-bottom:1px solid var(--border-gray,#e5e7eb);margin:0;padding:2rem 2.5rem;position:sticky;top:0;z-index:20}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar{align-items:center;display:flex;gap:1rem;margin-bottom:1rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-input-wrapper{flex:1;position:relative}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-input-wrapper .search-icon{color:var(--text-gray,#6b7280);left:1rem;position:absolute;top:50%;transform:translateY(-50%);z-index:2}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-input-wrapper .search-input-enhanced{background:var(--bg-white,#fff);border:2px solid var(--border-gray,#d1d5db);border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.1);font-family:inherit;font-size:1rem;height:auto;padding:.875rem 2.75rem;transition:all .2s ease;width:100%}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-input-wrapper .search-input-enhanced:focus{background:rgba(34,197,94,.02);border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.15);outline:none}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-input-wrapper .search-input-enhanced::-moz-placeholder{color:var(--text-gray,#9ca3af)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-input-wrapper .search-input-enhanced::placeholder{color:var(--text-gray,#9ca3af)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-input-wrapper .clear-search-btn{align-items:center;background:none;border:none;border-radius:6px;color:var(--text-gray,#6b7280);cursor:pointer;display:flex;justify-content:center;padding:.25rem;position:absolute;right:1rem;top:50%;transform:translateY(-50%);transition:all .2s ease}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-input-wrapper .clear-search-btn:hover{background:var(--bg-light,#f3f4f6);color:var(--text-dark,#374151)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-actions{display:flex;flex-shrink:0;gap:.75rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-actions .filter-toggle{align-items:center;background:#22c55e;border:2px solid #22c55e;border-radius:10px;color:var(--bg-white,#fff);display:flex;font-weight:600;gap:.5rem;height:44px;padding:0 1rem;transition:all .2s ease}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-actions .filter-toggle:hover{background:#16a34a;border-color:#16a34a;box-shadow:0 4px 12px rgba(34,197,94,.3);transform:translateY(-1px)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-actions .filter-toggle.active{background:#16a34a;border-color:#16a34a}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-actions .refresh-btn{align-items:center;border:2px solid var(--border-gray,#e5e7eb);border-radius:10px;display:flex;height:44px;justify-content:center;padding:0;transition:all .2s ease;width:44px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-actions .refresh-btn:hover:not(:disabled){border-color:#22c55e;box-shadow:0 4px 12px rgba(34,197,94,.15);color:#22c55e;transform:translateY(-1px)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .search-bar .search-actions .refresh-btn .spinning{animation:spin 1s linear infinite}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .filters-panel{animation:slideDown .3s ease-out;background-color:var(--bg-light,#f8fafc);border:2px solid var(--border-gray,#e5e7eb);border-radius:12px;padding:1.5rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .filters-panel .filters-row{align-items:end;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .filters-panel .filters-row .filter-group{display:flex;flex-direction:column}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .filters-panel .filters-row .filter-group .filter-label{color:var(--text-dark,#374151);font-size:.875rem;font-weight:600;margin-bottom:.5rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .filters-panel .filters-row .filter-group .filter-select{background:var(--bg-white,#fff);border:2px solid var(--border-gray,#e5e7eb);border-radius:8px;font-family:inherit;font-size:.875rem;height:42px;padding:.5rem .75rem;transition:all .2s ease}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .filters-panel .filters-row .filter-group .filter-select:focus{border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.15);outline:none}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .filters-panel .filters-row .filter-actions{align-items:end;display:flex}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .search-section .filters-panel .filters-row .filter-actions .clear-filters-btn{border-radius:8px;font-weight:600;height:42px;padding:0 1rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .default-limit-alert{background:rgba(59,130,246,.1);border:none;border-left:4px solid #3b82f6;border-radius:12px;color:#1e40af;margin:1.5rem 2.5rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .error-alert{background:rgba(239,68,68,.1);border:none;border-left:4px solid #ef4444;border-radius:12px;color:#dc2626;margin:1.5rem 2.5rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section{display:flex;flex-direction:column;min-height:400px;padding:0 2.5rem 2.5rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .empty-state,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .loading-state{align-items:center;color:var(--text-gray,#6b7280);display:flex;flex:1;flex-direction:column;justify-content:center;padding:3rem;text-align:center}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .empty-state .empty-icon,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .loading-state .empty-icon{color:var(--border-gray,#d1d5db);margin-bottom:1.5rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .empty-state h5,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .loading-state h5{color:var(--text-dark,#374151);font-size:1.25rem;font-weight:600;margin-bottom:.5rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .empty-state p,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .loading-state p{color:var(--text-gray,#6b7280);font-size:1rem;margin-bottom:1.5rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .table-container.desktop-view{flex:1;overflow:hidden}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .table-container.desktop-view .table-responsive{border:2px solid var(--border-gray,#e5e7eb);border-radius:12px;box-shadow:0 4px 6px -1px rgba(0,0,0,.1);max-height:500px;overflow-y:auto}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .table-container.desktop-view .table-responsive::-webkit-scrollbar{width:8px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .table-container.desktop-view .table-responsive::-webkit-scrollbar-track{background:var(--bg-light,#f3f4f6)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .table-container.desktop-view .table-responsive::-webkit-scrollbar-thumb{background:var(--text-gray,#9ca3af);border-radius:4px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .table-container.desktop-view .table-responsive::-webkit-scrollbar-thumb:hover{background:var(--text-dark,#4b5563)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view{display:none;flex:1;flex-direction:column;gap:1rem;max-height:500px;overflow-y:auto;padding-right:4px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view::-webkit-scrollbar{width:6px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view::-webkit-scrollbar-track{background:var(--bg-light,#f3f4f6);border-radius:3px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view::-webkit-scrollbar-thumb{background:var(--text-gray,#9ca3af);border-radius:3px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view::-webkit-scrollbar-thumb:hover{background:var(--text-dark,#4b5563)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card{background:var(--bg-white,#fff);border:2px solid var(--border-gray,#e5e7eb);border-radius:12px;box-shadow:0 2px 4px rgba(0,0,0,.05);cursor:pointer;overflow:hidden;transition:all .2s ease}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card:hover{border-color:#22c55e;box-shadow:0 4px 12px rgba(34,197,94,.15);transform:translateY(-2px)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card.selected{background:rgba(34,197,94,.05);border-color:#22c55e;box-shadow:0 4px 12px rgba(34,197,94,.2)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-header{align-items:flex-start;background:var(--bg-light,#f8fafc);border-bottom:1px solid var(--border-light,#f3f4f6);display:flex;gap:1rem;justify-content:space-between;padding:1rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-header .animal-info{align-items:center;display:flex;flex:1;gap:.75rem;min-width:0}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-header .animal-info .animal-avatar{align-items:center;background-color:#22c55e;border:2px solid hsla(0,0%,100%,.2);border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.1);color:#fff;display:flex;flex-shrink:0;font-size:16px;font-weight:700;height:48px;justify-content:center;letter-spacing:.5px;text-transform:uppercase;width:48px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-header .animal-info .animal-details{flex:1;min-width:0}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-header .animal-info .animal-details .animal-name{color:var(--text-dark,#374151);font-size:1.1rem;font-weight:600;line-height:1.2;margin:0 0 .25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-header .animal-info .animal-details .national-id{color:var(--text-gray,#6b7280);font-family:monospace;font-size:.8rem;font-weight:500}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-header .card-badges{align-items:flex-end;display:flex;flex-direction:column;flex-shrink:0;gap:.25rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-header .card-badges .status-badge,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-header .card-badges .type-badge{border-radius:4px;font-size:.7rem;padding:.2rem .4rem;white-space:nowrap}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body{padding:1rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section{margin-bottom:1rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section:last-child{margin-bottom:0}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-title{align-items:center;color:var(--text-dark,#374151);display:flex;font-size:.875rem;font-weight:600;gap:.5rem;letter-spacing:.025em;margin:0 0 .5rem;text-transform:uppercase}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-title svg{color:#22c55e}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-content .info-item{align-items:center;background:var(--bg-light,#f8fafc);border-radius:6px;display:flex;gap:1rem;justify-content:space-between;margin-bottom:.5rem;padding:.5rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-content .info-item:last-child{margin-bottom:0}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-content .info-item .info-label{color:var(--text-gray,#6b7280);flex-shrink:0;font-size:.8rem;font-weight:500}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-content .info-item .info-value{color:var(--text-dark,#374151);font-size:.85rem;font-weight:600;text-align:right;word-break:break-word}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-content .age-badge,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-content .gender-badge,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-content .health-badge,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-content .status-badge,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-content .type-badge{border-radius:6px;font-size:.8rem;padding:.4rem .6rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table{background:var(--bg-white,#fff);border-collapse:collapse;font-family:inherit;min-width:1000px;table-layout:fixed;width:100%}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-header{background:linear-gradient(135deg,#f8fafc,#f1f5f9);position:sticky;top:0;z-index:10}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-header .header-row th{border-bottom:3px solid #22c55e;box-sizing:border-box;color:var(--text-dark,#374151);font-size:.875rem;font-weight:700;letter-spacing:.025em;padding:1rem .75rem;text-align:left;text-transform:uppercase;vertical-align:middle;white-space:nowrap}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-header .header-row th.avatar-header{max-width:80px;text-align:center;width:80px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-header .header-row th.sortable-header{cursor:pointer;transition:all .2s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-header .header-row th.sortable-header:hover{background:rgba(34,197,94,.1);color:#22c55e}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-header .header-row th.sortable-header span{display:inline-block;margin-right:.5rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-header .header-row th.sortable-header .sort-icon{display:inline-block;vertical-align:middle}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row{border-bottom:1px solid var(--border-light,#f3f4f6);cursor:pointer;transition:all .2s ease}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row:hover{background:rgba(34,197,94,.05);box-shadow:0 2px 8px rgba(0,0,0,.1);transform:translateY(-1px)}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row.selected{background:rgba(34,197,94,.1);border-color:#22c55e}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td{box-sizing:border-box;font-size:.875rem;padding:1rem .75rem;vertical-align:middle}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.avatar-cell{max-width:80px;text-align:center;width:80px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.avatar-cell .animal-avatar{align-items:center;background-color:#22c55e;border:2px solid hsla(0,0%,100%,.2);border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.1);color:#fff;display:flex;font-size:14px;font-weight:700;height:40px;justify-content:center;letter-spacing:.5px;margin:0 auto;text-transform:uppercase;width:40px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.animal-id{max-width:200px;width:200px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.animal-id .id-container strong{color:var(--text-dark,#374151);display:block;font-weight:600;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.animal-id .id-container .microchip-id,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.animal-id .id-container .national-id,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.animal-id .id-container .rfid-tag{color:var(--text-gray,#6b7280);font-family:monospace;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.type-info{max-width:150px;width:150px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.type-info .breed-text{color:var(--text-gray,#6b7280);font-size:.75rem;margin-top:.25rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.gender-info{max-width:150px;width:150px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.gender-info .age-badge,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.gender-info .gender-badge{display:block;font-size:.75rem;margin-bottom:4px;padding:2px 6px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.owner-info{max-width:180px;width:180px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.owner-info .owner-container .farm-item,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.owner-info .owner-container .owner-item{align-items:center;color:var(--text-dark,#374151);display:flex;font-size:.75rem;gap:6px;margin-bottom:4px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.owner-info .owner-container .farm-item:last-child,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.owner-info .owner-container .owner-item:last-child{margin-bottom:0}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.owner-info .owner-container .farm-item svg,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.owner-info .owner-container .owner-item svg{color:var(--text-gray,#6b7280);flex-shrink:0;height:12px;width:12px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.owner-info .owner-container .farm-item span,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.owner-info .owner-container .owner-item span{flex:1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.owner-info .owner-container .farm-item .farm-text,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.owner-info .owner-container .owner-item .farm-text{color:var(--text-gray,#6b7280);font-size:.7rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.health-info{max-width:150px;width:150px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.health-info .health-badge,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.health-info .status-badge{display:block;font-size:.75rem;margin-bottom:4px;padding:2px 6px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.location-info{max-width:130px;width:130px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.location-info .location-container .location-item,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.location-info .location-container .weight-item{align-items:center;color:var(--text-dark,#374151);display:flex;font-size:.75rem;gap:6px;margin-bottom:4px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.location-info .location-container .location-item:last-child,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.location-info .location-container .weight-item:last-child{margin-bottom:0}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.location-info .location-container .location-item svg,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.location-info .location-container .weight-item svg{color:var(--text-gray,#6b7280);flex-shrink:0;height:12px;width:12px}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.location-info .location-container .location-item span,.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .animals-table .table-body .animal-row td.location-info .location-container .weight-item span{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .pagination-container{align-items:center;background:var(--bg-white,#fff);border:2px solid var(--border-gray,#e5e7eb);border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.1);display:flex;justify-content:space-between;margin-top:1.5rem;padding:1rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .pagination-container .pagination-info{color:var(--text-gray,#6b7280);font-size:.875rem;font-weight:500}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .pagination-container .pagination-info .default-limit-info{color:var(--text-light,#9ca3af);font-style:italic}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .pagination-container .pagination-controls{align-items:center;display:flex;gap:.5rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .pagination-container .pagination-controls .pagination-ellipsis{color:var(--text-gray,#6b7280);font-weight:500;padding:0 .75rem}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .pagination-container .pagination-controls button{border-radius:8px;font-size:.875rem;font-weight:600;height:40px;min-width:40px;transition:all .2s ease}.animal-lookup-modal .modal-content-enhanced .enhanced-modal-body .results-section .pagination-container .pagination-controls button:hover:not(:disabled){box-shadow:0 4px 12px rgba(0,0,0,.15);transform:translateY(-1px)}.animal-lookup-modal .type-badge.cattle{background-color:#8b4513;color:#fff}.animal-lookup-modal .type-badge.goat{background-color:#daa520;color:#fff}.animal-lookup-modal .type-badge.sheep{background-color:beige;color:#333}.animal-lookup-modal .type-badge.pig{background-color:pink;color:#333}.animal-lookup-modal .type-badge.poultry{background-color:#ff0;color:#333}.animal-lookup-modal .type-badge.other{background-color:#9ca3af;color:#fff}.animal-lookup-modal .status-badge.active{background-color:#22c55e;color:#fff}.animal-lookup-modal .status-badge.sold{background-color:#3b82f6;color:#fff}.animal-lookup-modal .status-badge.deceased{background-color:#ef4444;color:#fff}.animal-lookup-modal .status-badge.quarantined{background-color:#f59e0b;color:#fff}.animal-lookup-modal .status-badge.breeding{background-color:#ec4899;color:#fff}.animal-lookup-modal .status-badge.pregnant{background-color:#8b5cf6;color:#fff}.animal-lookup-modal .status-badge.lactating{background-color:#06b6d4;color:#fff}.animal-lookup-modal .health-badge.healthy{background-color:#22c55e;color:#fff}.animal-lookup-modal .health-badge.sick{background-color:#ef4444;color:#fff}.animal-lookup-modal .health-badge.injured{background-color:#f59e0b;color:#fff}.animal-lookup-modal .health-badge.recovering{background-color:#3b82f6;color:#fff}.animal-lookup-modal .health-badge.treatment{background-color:#8b5cf6;color:#fff}.animal-lookup-modal .gender-badge.male{background-color:#3b82f6;color:#fff}.animal-lookup-modal .gender-badge.female{background-color:#ec4899;color:#fff}.animal-lookup-modal .gender-badge.castrated{background-color:#6b7280;color:#fff}.animal-lookup-modal .gender-badge.hermaphrodite{background-color:#8b5cf6;color:#fff}.animal-lookup-modal .age-badge.newborn{background-color:#fbbf24;color:#fff}.animal-lookup-modal .age-badge.young{background-color:#34d399;color:#fff}.animal-lookup-modal .age-badge.juvenile{background-color:#60a5fa;color:#fff}.animal-lookup-modal .age-badge.adult{background-color:#8b5cf6;color:#fff}.animal-lookup-modal .age-badge.senior{background-color:#6b7280;color:#fff}@keyframes slideDown{0%{opacity:0;transform:translateY(-15px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media(max-width:1200px){.animal-lookup-modal .modal-dialog{margin:.5rem auto;max-width:98vw}.animal-lookup-modal .enhanced-modal-header .header-wrapper{padding:1.5rem 2rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-main{align-items:stretch;flex-direction:column;gap:1rem;margin-bottom:1rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-main .header-title-section{justify-content:center;text-align:center}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-main .header-title-section .title-icon{height:48px;width:48px}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-main .header-title-section .title-content .modal-title{font-size:1.5rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-main .header-actions{justify-content:flex-end}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-stats{gap:1rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-stats .stat-card{min-width:70px;padding:.75rem 1rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-stats .stat-card .stat-number{font-size:1.5rem}.animal-lookup-modal .search-section{padding:1.5rem 2rem!important}.animal-lookup-modal .search-section .search-bar{align-items:stretch;flex-direction:column;gap:1rem}.animal-lookup-modal .search-section .filters-panel .filters-row{gap:1rem;grid-template-columns:1fr}.animal-lookup-modal .results-section{padding:0 2rem 2rem!important}}@media(max-width:768px){.animal-lookup-modal .modal-dialog{height:100vh;margin:0;max-width:100vw}.animal-lookup-modal .modal-content-enhanced{border-radius:0;height:100vh}.animal-lookup-modal .enhanced-modal-body{height:calc(100vh - 300px);max-height:none}.animal-lookup-modal .enhanced-modal-header .header-wrapper{padding:1rem 1.5rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-main .header-title-section{flex-direction:column;gap:.75rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-main .header-title-section .title-content{text-align:center}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-main .header-title-section .title-content .modal-title{font-size:1.25rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-main .header-title-section .title-content .modal-subtitle{font-size:.875rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-stats{flex-direction:row;justify-content:center}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-stats .stat-card{min-width:60px;padding:.5rem .75rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-stats .stat-card .stat-number{font-size:1.25rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-stats .stat-card .stat-label{font-size:.6875rem}.animal-lookup-modal .search-section{padding:1rem 1.5rem!important}.animal-lookup-modal .search-section .search-bar .search-actions .filter-toggle,.animal-lookup-modal .search-section .search-bar .search-actions .refresh-btn{font-size:.875rem;height:40px}.animal-lookup-modal .search-section .search-bar .search-actions .refresh-btn{width:40px}.animal-lookup-modal .results-section{padding:0 1.5rem 1.5rem!important}.animal-lookup-modal .results-section .table-container.desktop-view{display:none!important}.animal-lookup-modal .results-section .cards-container.mobile-view{display:flex!important;max-height:calc(100vh - 500px)}.animal-lookup-modal .pagination-container{flex-direction:column;gap:1rem;margin-top:1rem;padding:1rem;text-align:center}.animal-lookup-modal .pagination-container .pagination-controls{flex-wrap:wrap;justify-content:center}.animal-lookup-modal .pagination-container .pagination-controls button{font-size:.8rem;height:36px;min-width:36px}}@media(max-width:480px){.animal-lookup-modal .enhanced-modal-header .header-wrapper{padding:1rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-stats .stat-card{min-width:55px;padding:.4rem .6rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-stats .stat-card .stat-number{font-size:1.1rem}.animal-lookup-modal .enhanced-modal-header .header-wrapper .header-stats .stat-card .stat-label{font-size:.625rem}.animal-lookup-modal .search-section{padding:1rem!important}.animal-lookup-modal .search-section .search-bar .search-input-wrapper .search-input-enhanced{font-size:.9rem;padding:.75rem 1rem .75rem 2.5rem}.animal-lookup-modal .results-section{padding:0 1rem 1rem!important}.animal-lookup-modal .results-section .cards-container.mobile-view{gap:.75rem}.animal-lookup-modal .results-section .cards-container.mobile-view .animal-card .card-header{padding:.75rem}.animal-lookup-modal .results-section .cards-container.mobile-view .animal-card .card-header .animal-info{gap:.5rem}.animal-lookup-modal .results-section .cards-container.mobile-view .animal-card .card-header .animal-info .animal-avatar{font-size:14px;height:42px;width:42px}.animal-lookup-modal .results-section .cards-container.mobile-view .animal-card .card-header .animal-info .animal-details .animal-name{font-size:1rem}.animal-lookup-modal .results-section .cards-container.mobile-view .animal-card .card-body{padding:.75rem}.animal-lookup-modal .results-section .cards-container.mobile-view .animal-card .card-body .card-section{margin-bottom:.75rem}.animal-lookup-modal .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-content .info-item{align-items:stretch;flex-direction:column;gap:.25rem;padding:.4rem}.animal-lookup-modal .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-content .info-item .info-label{font-size:.75rem}.animal-lookup-modal .results-section .cards-container.mobile-view .animal-card .card-body .card-section .section-content .info-item .info-value{font-size:.8rem;text-align:left}}.animal-lookup-modal .animals-table .animal-avatar{align-items:center!important;background-color:#22c55e!important;border:2px solid hsla(0,0%,100%,.2)!important;border-radius:50%!important;box-shadow:0 2px 4px rgba(0,0,0,.1)!important;color:#fff!important;display:flex!important;font-size:14px!important;font-weight:700!important;height:40px!important;justify-content:center!important;letter-spacing:.5px!important;margin:0 auto!important;text-transform:uppercase!important;width:40px!important}.animal-lookup-modal .animals-table .avatar-cell,.animal-lookup-modal .animals-table .avatar-header{max-width:80px!important;text-align:center!important;width:80px!important}