body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0;overflow-x:hidden}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box}body,html{height:100%;width:100%}#root{min-height:100vh}.card,.card *{border:0 #0000!important;outline:none!important}.login-container{align-items:center;background-position:50%;background-size:cover;display:flex;flex-direction:column;gap:30px;height:100vh;justify-content:center;margin:0;padding:0}.card{border:none!important;box-shadow:0 10px 30px #0003;margin:0 auto;max-width:420px;padding:40px;text-align:center}.card,.login-container .card{background-color:#fff!important;background:#fff!important;outline:none!important}.login-container .card{border:0 #0000!important}.login-container img{height:auto;width:150px;z-index:10}.card h2{font-size:28px;font-weight:600}.card h2,.card span{color:#000}input{background:#fff;border:2px solid #e5e7eb;border-radius:12px;margin:12px 0;padding:16px 20px;transition:all .3s ease}input:focus{border-color:#15aabf;box-shadow:0 0 0 4px #15aabf26;outline:none}.login-container button{background-color:#15aabf;border:none;border-radius:12px;box-shadow:0 4px 12px #15aabf4d;color:#fff;cursor:pointer;font-size:16px;font-weight:600;margin-top:8px;padding:16px 20px;transition:all .3s ease;width:100%}.login-container button:hover{background-color:#1296a7;box-shadow:0 6px 20px #15aabf66;transform:translateY(-2px)}.login-container button:active{transform:translateY(0)}.login-container a{color:#15aabf;font-weight:500;text-decoration:none}.login-container a:hover{color:#1296a7;text-decoration:underline}@media (max-width:768px){.login-container{gap:20px;padding:20px}.login-container img{width:120px}.card{margin:0 10px;max-width:100%;padding:30px 20px}.card h2{font-size:24px}.login-container button,input{padding:14px 16px}}.forgot-card h2{margin-bottom:10px}.forgot-card span{color:#6c757d;display:block;font-size:16px;margin-bottom:20px}.radio-row{margin:12px 0}.forgot-wrapper,.radio-row{align-items:center;display:flex}.forgot-wrapper{flex-direction:column;gap:20px}.forgot-logo img,.forgot-wrapper>img{border-radius:0;box-shadow:none;height:auto;width:150px}.radio{align-items:center;background:linear-gradient(180deg,#fff,#f7f9fb);border:1px solid #e5e7eb;border-radius:14px;box-shadow:inset 0 1px 0 #fff9;color:#212529;display:flex;font-size:15px;gap:10px;padding:14px 18px;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;width:100%}.radio input{-webkit-appearance:none;appearance:none;border:2px solid #ced4da;border-radius:50%;cursor:pointer;height:20px;position:relative;transition:border-color .2s ease;width:20px}.radio input:checked{background-color:#15aabf1a;border-color:#15aabf}.radio input:checked:after{background-color:#15aabf;border-radius:50%;content:"";height:10px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:10px}.radio input:checked+span,.radio.active{color:#212529;font-weight:600}.radio.active{background:linear-gradient(180deg,#fff,#e6f8fb);border-color:#15aabf;box-shadow:0 6px 20px #15aabf2e}.code-row{align-items:center;box-sizing:border-box;display:flex;gap:8px;justify-content:center;margin:24px 0;padding:0 20px;width:100%}.code-input{background:#fff;border:1px solid #d1d9e0;border-radius:12px;box-shadow:0 2px 8px #0000001a;color:#212529;flex-shrink:0;font-size:24px;height:56px;padding:0;text-align:center;transition:border-color .2s ease,box-shadow .2s ease;width:48px}.code-input:focus{border-color:#15aabf;box-shadow:inset 0 1px 0 #fff9,0 8px 24px #15aabf2e;outline:none}.error-text{color:#dc3545}.muted{color:#a1a1a1;text-align:center}.register-container{align-items:center;background-position:50%;background-size:cover;display:flex;height:100vh;justify-content:center;margin:0;padding:0}.card{background-color:#fff;border-radius:12px;box-shadow:0 4px 12px #0000001a;max-width:400px;padding:30px;text-align:left;width:100%}.login-container img{display:block;margin:0 auto;width:120px}.card h2{color:#333;font-size:24px;margin-bottom:10px}.card span{color:#777;font-size:14px;margin-bottom:20px}input{border:1px solid #ccc;border-radius:8px;box-sizing:border-box;margin:10px 0}button,input{font-size:16px;padding:12px;width:100%}button{background-color:#007bff;border:none;border-radius:8px;color:#fff;cursor:pointer}button:hover{background-color:#0056b3}p{color:red;font-size:14px}a{color:#007bff;text-decoration:none}a:hover{text-decoration:underline}.navbar{background:#fff;box-shadow:2px 0 20px #0000001a;display:flex;flex-direction:column;height:100vh;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;padding:30px 20px;position:fixed;top:0;transform:translateX(0);transition:all .4s cubic-bezier(.4,0,.2,1);width:250px;z-index:1000}.navbar-logo{align-items:center;border-bottom:2px solid #f0f0f0;display:flex;gap:12px;margin-bottom:40px;padding-bottom:20px}.logo-img{height:40px;width:40px}.logo-text{color:#333;font-size:22px;font-weight:700}.navbar-section{margin-bottom:30px}.navbar-section-title{color:#999;font-size:12px;font-weight:600;letter-spacing:1px;margin-bottom:15px;text-transform:uppercase}.navbar-menu{list-style:none;margin:0;padding:0}.navbar-menu li{margin:5px 0}.nav-item{align-items:center;border-radius:8px;color:#666;display:flex;font-size:14px;font-weight:500;padding:12px 15px;text-decoration:none;transition:all .3s ease}.nav-item:hover{background:#f8f9fa;color:#333;transform:translateX(5px)}.nav-item svg{color:#ff830d;height:18px;margin-right:12px;width:18px}.nav-item.active{background:#e3f2fd;color:#1976d2}.nav-item.active svg{color:#ff830d}.bottom-link{border-top:2px solid #f0f0f0;flex-shrink:0;margin-top:auto;padding-top:20px}.navbar::-webkit-scrollbar{background:#0000;width:0}.navbar:hover::-webkit-scrollbar{width:6px}.navbar::-webkit-scrollbar-track{background:#0000}.navbar:hover::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.navbar::-webkit-scrollbar-thumb{background:#0000}.navbar:hover::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.navbar:hover::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.navbar.closed{opacity:0;overflow:hidden;padding:0;transform:translateX(-100%);transition:all .4s cubic-bezier(.4,0,.2,1);width:0}.sidebar-toggle{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ff830de6;border:none;border-radius:50%;box-shadow:0 4px 12px #ff830d4d;color:#fff;cursor:pointer;display:none;height:50px;left:30px;position:fixed;top:30px;transition:all .3s ease;width:50px;z-index:1001}.sidebar-toggle:hover{background:#ff830d;box-shadow:0 6px 20px #ff830d66;transform:translateY(-2px)}.sidebar-toggle.visible{align-items:center;display:flex;justify-content:center}@media (max-width:1200px){.navbar{padding:25px 15px;width:220px}}@media (max-width:768px){.navbar{border-bottom:1px solid #e0e0e0;box-shadow:none;height:auto;padding:20px;position:relative;width:100%}.navbar-logo{border-bottom:none;justify-content:center;margin-bottom:20px}.navbar-menu{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.navbar-menu li{margin:0}.nav-item{font-size:13px;padding:8px 12px;white-space:nowrap}.bottom-link{border-top:none;margin-top:0;padding-top:0}}@media (max-width:480px){.navbar{padding:15px}.logo-text{font-size:18px}.nav-item{font-size:12px;padding:6px 10px}}.dashboard-container{background:#fff;margin-left:250px;min-height:100vh;padding:0;position:relative}.dashboard-header{background:#fff}.dashboard-content{margin:0 auto;max-width:1280px;padding:24px 32px}.dashboard-title-section{align-items:flex-start;display:flex;gap:20px;justify-content:space-between}.dashboard-title-section>div:first-child{display:flex;flex-direction:column;gap:8px}.dashboard-header-actions{align-items:center;display:flex;gap:16px;margin-left:auto;position:relative}.dashboard-bell-button{align-items:center;background:linear-gradient(135deg,#15aabf14,#15aabf2e);border:none;border-radius:12px;box-shadow:0 4px 12px #0f172a14;color:#0f172a;cursor:pointer;display:inline-flex;height:42px;justify-content:center;position:relative;transition:all .2s ease;width:42px}.dashboard-bell-button.open,.dashboard-bell-button:hover{background:linear-gradient(135deg,#15aabf,#1096a8);color:#fff}.dashboard-bell-badge{align-items:center;background:#ef4444;border-radius:999px;box-shadow:0 4px 10px #ef444459;color:#fff;display:flex;font-size:11px;font-weight:600;height:18px;justify-content:center;min-width:18px;padding:0 4px;position:absolute;right:-4px;top:-4px}.dashboard-notifications{background:#fff;border:1px solid #94a3b840;border-radius:18px;box-shadow:0 24px 45px -15px #0f172a59;display:flex;flex-direction:column;overflow:hidden;position:absolute;right:0;top:54px;width:320px;z-index:20}.dashboard-notifications:before{border:6px solid;border-color:#0000 #0000 #fff;content:"";filter:drop-shadow(0 -2px 2px rgba(15,23,42,.08));position:absolute;right:22px;top:-12px}.dashboard-notifications-header{align-items:center;background:linear-gradient(135deg,#15aabf2e,#0f766e14);border-bottom:1px solid #e2e8f0cc;display:flex;justify-content:space-between;padding:16px 18px}.dashboard-notifications-header h3{color:#0f172a;font-size:16px;font-weight:700;margin:0}.dashboard-notifications-subtitle{color:#475569;display:block;font-size:12px;margin-top:4px}.dashboard-notifications-mark{align-items:center;background:#0000;border:none;border-radius:999px;color:#15aabf;cursor:pointer;display:inline-flex;font-size:12px;font-weight:600;gap:6px;padding:6px 12px;transition:background .2s ease}.dashboard-notifications-mark:hover{background:#15aabf1f}.dashboard-notifications-list{display:flex;flex-direction:column;max-height:320px;overflow-y:auto}.dashboard-notifications-list::-webkit-scrollbar{width:6px}.dashboard-notifications-list::-webkit-scrollbar-thumb{background:#94a3b873;border-radius:999px}.dashboard-notifications-empty{color:#64748b;font-size:14px;padding:28px 24px;text-align:center}.dashboard-notification-item{border-bottom:1px solid #e2e8f0a6;display:flex;gap:12px;padding:14px 18px 16px;position:relative;transition:background .2s ease}.dashboard-notification-item:last-child{border-bottom:none}.dashboard-notification-item.unread{background:#15aabf1a}.dashboard-notification-item:hover{background:#0f172a0d}.dashboard-notification-dot{background:#15aabf;border-radius:999px;box-shadow:0 0 0 4px #15aabf33;flex-shrink:0;height:10px;margin-top:4px;width:10px}.dashboard-notification-item.read .dashboard-notification-dot{background:#94a3b8cc;box-shadow:0 0 0 3px #cbd5e180}.dashboard-notification-item p{color:#475569;font-size:14px;margin:4px 0 6px}.dashboard-notification-item span{color:#94a3b8;font-size:12px}.notification-animal .dashboard-notification-dot{background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 0 0 4px #22c55e38}.notification-farm .dashboard-notification-dot{background:linear-gradient(135deg,#f97316,#ea580c);box-shadow:0 0 0 4px #f9731638}.notification-weight .dashboard-notification-dot{background:linear-gradient(135deg,#15aabf,#1096a8);box-shadow:0 0 0 4px #15aabf3d}.notification-alert .dashboard-notification-dot{background:linear-gradient(135deg,#ef4444,#b91c1c);box-shadow:0 0 0 4px #ef444440}.dashboard-title{color:#ff830d;font-size:2.5rem;font-weight:700;margin:0}.dashboard-subtitle{color:#000;font-size:1.2rem;font-weight:500;margin:0}.dashboard-stats{margin:0 auto;max-width:1280px;padding:24px 32px}.dashboard-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(2,1fr)}.dashboard-card.full-span{grid-column:1/-1}.dashboard-card{background:#f5f5f5;border:1px solid #e0e0e0;border-radius:16px;box-shadow:0 4px 16px #0000001a;overflow:hidden;padding:28px;position:relative;transition:all .3s ease}.dashboard-card:hover{box-shadow:0 8px 24px #00000026;transform:translateY(-4px)}.dashboard-card-title{color:#000;font-size:1.25rem;font-weight:700;margin:0 0 20px}.dashboard-activities{display:flex;flex-direction:column;gap:12px}.dashboard-activity{align-items:center;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:1px solid #0000000d;border-radius:12px;display:flex;gap:16px;padding:16px;position:relative;transition:all .3s ease}.dashboard-activity:hover{background:linear-gradient(135deg,#fff,#f1f3f4);border-color:#ff830d33;box-shadow:0 4px 12px #00000014;transform:translateX(4px)}.dashboard-activity-icon{align-items:center;background:#15aabf;border-radius:8px;box-shadow:0 2px 8px #15aabf4d;display:flex;height:32px;justify-content:center;transition:all .3s ease;width:32px}.dashboard-activity-icon img{filter:brightness(0) invert(1);transition:all .3s ease}.dashboard-activity-icon svg{color:#fff;transition:all .3s ease}.dashboard-activity:hover .dashboard-activity-icon{box-shadow:0 4px 12px #15aabf66;transform:scale(1.1)}.dashboard-activity-content{align-items:center;display:flex;flex:1 1;justify-content:space-between}.dashboard-activity-text{color:#2c3e50;font-size:.95rem;font-weight:600;line-height:1.4}.dashboard-activity-date{background:#ff830d1a;border:1px solid #ff830d33;border-radius:6px;color:#7f8c8d;font-size:.85rem;font-weight:500;padding:4px 8px}.dashboard-milk-content{align-items:flex-start;display:flex;justify-content:space-between}.dashboard-milk-info{flex:1 1}.dashboard-milk-today{color:#000;font-size:1.5rem;font-weight:700;margin-bottom:16px}.dashboard-milk-history{display:flex;flex-direction:column;gap:8px}.dashboard-milk-history div{color:#6c757d;font-size:.9rem}.dashboard-milk-icon{font-size:3rem;margin-left:16px}.dashboard-health-content{align-items:flex-start;display:flex;justify-content:space-between}.dashboard-health-info{flex:1 1}.dashboard-health-item{margin-bottom:12px}.dashboard-health-item span{color:#000;font-weight:500}.dashboard-health-icon{font-size:3rem;margin-left:16px}.dashboard-registration-content{align-items:flex-start;display:flex;justify-content:space-between}.dashboard-registration-info{flex:1 1}.dashboard-registration-item{margin-bottom:12px}.dashboard-registration-item span{color:#000;font-weight:500}.dashboard-registration-icon{font-size:3rem;margin-left:16px}.dashboard-modal{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.dashboard-modal-content{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:400px;padding:24px;width:100%}.dashboard-modal-title{color:#1f2937;font-size:18px;font-weight:700;margin:0 0 20px}.dashboard-form{display:flex;flex-direction:column;gap:16px}.dashboard-form-group{display:flex;flex-direction:column;gap:6px}.dashboard-form-label{color:#374151;font-size:14px;font-weight:600}.dashboard-form-input{border:1px solid #d1d5db;border-radius:8px;font-size:14px;padding:12px 16px;transition:border-color .2s ease}.dashboard-form-input:focus{border-color:#ff830d;box-shadow:0 0 0 3px #ff830d1a;outline:none}.dashboard-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:8px}.dashboard-form-button{border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px;transition:all .2s ease}.dashboard-form-button.cancel{background:#f3f4f6;border:1px solid #d1d5db;color:#374151}.dashboard-form-button.cancel:hover{background:#e5e7eb}.dashboard-form-button.submit{background:#ff830d;border:none;color:#fff}.dashboard-form-button.submit:hover{background:#e6730a}@media (max-width:768px){.dashboard-container{margin-left:0}.dashboard-grid{grid-template-columns:1fr}}@media (max-width:1024px){.dashboard-grid{grid-template-columns:1fr}}:root{--bg:#0ea5b7;--pattern:#ffffff1f;--panel:#0f172a;--panel2:#0b1324;--border:#1f2a44;--text:#eef2ff;--muted:#a3adc2;--accent:#ff8a00;--radius:16px;--shadow:0 14px 30px #02081759,inset 0 1px 0 #ffffff0a}.home-container{background:#fff;display:flex;flex-direction:column;min-height:100vh;overflow-x:hidden;position:relative}.home-container:before{content:none}.home-main{padding:20px 24px 40px;position:relative;z-index:1}.home-hero{margin:10px 0}.home-hero h1{font-size:28px;font-weight:800;margin:0 0 4px}.home-hero h1,.home-hero p{color:#eef2ff;color:var(--text)}.home-hero p{margin:0;opacity:.85}.accent{color:#ff8a00;color:var(--accent)}.home-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:minmax(520px,820px) minmax(320px,420px);margin:0 auto;max-width:1280px}.card{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:linear-gradient(0deg,#111827d1,#111827d1);border:1px solid #1f2a44;border:1px solid var(--border);border-radius:16px;border-radius:var(--radius);box-shadow:0 14px 30px #02081759,inset 0 1px 0 #ffffff0a;box-shadow:var(--shadow);color:#eef2ff;color:var(--text);padding:18px}.card-lg{min-height:360px;padding:18px}.card-title{font-weight:800;letter-spacing:.2px;margin:0 0 14px}.atividades{grid-gap:12px;display:grid;gap:12px;list-style:none;margin:0;padding:0}.ativ-item{background:#0f172a;background:var(--panel);border:1px solid #1f2a44;border:1px solid var(--border);border-radius:12px;justify-content:space-between;padding:14px}.ativ-item,.ativ-left{align-items:center;display:flex}.ativ-left{gap:12px}.ativ-ico{background:#0b1324;background:var(--panel2);border:1px solid #1f2a44;border:1px solid var(--border);border-radius:10px;display:grid;font-size:18px;height:36px;place-items:center;width:36px}.ativ-texto{font-size:15px}.ativ-data{color:#a3adc2;color:var(--muted);font-size:13px}.right-col{grid-gap:20px;display:grid;gap:20px}.milk-wrap{grid-gap:12px;align-items:center;display:grid;gap:12px;grid-template-columns:1fr 120px}.milk-num{font-size:36px;font-weight:900;line-height:1}.milk-hoje{margin-bottom:10px}.milk-hist,.milk-hoje{color:#a3adc2;color:var(--muted)}.milk-hist{grid-gap:6px;display:grid;gap:6px;list-style:none;margin:0;padding:0}.milk-emoji{filter:drop-shadow(0 8px 14px rgba(0,0,0,.25));font-size:82px;text-align:right}.row-two{align-items:center;display:grid;grid-template-columns:1fr 110px}.col-info p{margin:6px 0}.col-emoji{filter:drop-shadow(0 8px 14px rgba(0,0,0,.25));font-size:74px;text-align:right}@media (max-width:1080px){.home-grid{grid-template-columns:1fr}}.profile-container{background:#fff!important;bottom:0;left:250px;min-height:100vh;overflow-y:auto;padding:0;position:fixed;right:0;top:0;z-index:0}.profile-content{margin:0 auto;max-width:1800px;padding:20px 60px}.profile-title{color:#2c3e50;font-size:2rem;font-weight:700;margin:0 0 20px;text-shadow:0 2px 4px #0000001a}.profile-card{background:#f5f5f5;border:1px solid #e0e0e0;border-radius:20px;box-shadow:0 4px 16px #0000001a;margin:0 auto;overflow:hidden;padding:0;position:relative;width:100%}.profile-header{align-items:center;border-bottom:2px solid #00000014;display:flex;justify-content:space-between;margin-bottom:20px;padding:24px 60px;position:relative}.profile-buttons{align-items:center;display:flex;gap:12px}.profile-picture-section{align-items:center;display:flex;gap:24px}.profile-picture{background:#f5f5f5;border:4px solid #ff830d;border-radius:20px;box-shadow:0 6px 16px #ff830d66;height:120px;overflow:hidden;position:relative;width:120px}.profile-picture img{bottom:0;display:block;height:100%;left:0;object-fit:cover;position:absolute;right:0;top:0;width:100%;z-index:1}.profile-picture img[src]:not([src=""]){background:#0000}.profile-picture img[src]:not([src=""]):before{display:none!important}.upload-photo-btn{align-items:center;background:linear-gradient(135deg,#ff830d,#15aabf);border:3px solid #fff;border-radius:50%;box-shadow:0 4px 12px #0000004d;color:#fff;cursor:pointer;display:flex;font-size:20px;font-weight:700;height:40px;justify-content:center;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);transition:all .3s ease;width:40px;z-index:10}.profile-picture:has(img[src]:not([src=""])) .upload-photo-btn{display:none}.upload-photo-btn:hover{box-shadow:0 4px 12px #0000004d;transform:translate(-50%,-50%) scale(1.1)}.profile-info{display:flex;flex-direction:column;gap:4px}.profile-name{color:#2c3e50;font-size:1.5rem;font-weight:700;margin:0}.profile-location{color:#7f8c8d;font-size:.9rem;font-weight:500;margin:0}.edit-profile-btn{background:#fff;border:2px solid #15aabf;border-radius:6px;color:#15aabf;cursor:pointer;font-size:.8rem;font-weight:600;max-width:150px;min-width:120px;padding:8px 16px;transition:all .3s ease;width:auto}.edit-profile-btn:hover{background:#15aabf;box-shadow:0 4px 12px #15aabf4d;color:#fff;transform:translateY(-2px)}.profile-details{grid-gap:100px;display:grid;gap:100px;grid-template-columns:1fr 1fr;padding:0 60px 30px}.profile-column{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0000;border:none;border-radius:0;box-shadow:none;overflow:visible;padding:0;position:relative}.profile-field{border-bottom:1px solid #0000000d;display:flex;flex-direction:column;gap:4px;margin-bottom:16px;padding-bottom:8px}.profile-field:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.profile-field label{color:#7f8c8d;font-size:.9rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.profile-field span{color:#2c3e50;font-size:1.1rem;font-weight:600;line-height:1.4}.subscription-badge{background:#0000;border-radius:20px;color:#000;display:inline-block;font-size:.9rem;font-weight:700;padding:6px 12px}.profile-loading{align-items:center;display:flex;justify-content:center;min-height:400px}.loading-spinner{border:4px solid #f3f3f3;border-top-color:#ff830d;height:40px;width:40px}.profile-modal{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.profile-modal-content{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;max-height:80vh;max-width:450px;overflow-y:auto;padding:0;width:100%}.modal-header{background:#f8f9fa;border-bottom:1px solid #e9ecef;color:#2c3e50}.modal-header h3{font-size:1.3rem;font-weight:700}.close-btn{color:#6c757d;font-size:1.8rem;height:32px;transition:all .3s ease;width:32px}.close-btn:hover{background:#e9ecef;color:#2c3e50}.profile-form{padding:24px}.form-group{margin-bottom:18px}.form-group label{color:#495057;font-size:.85rem;margin-bottom:6px}.form-group input{border:1px solid #ced4da;border-radius:8px;box-sizing:border-box;font-size:.95rem;padding:10px 14px;transition:all .3s ease;width:100%}.form-group input:focus{border-color:#15aabf;box-shadow:0 0 0 3px #15aabf1a;outline:none}.form-actions{border-top:1px solid #e9ecef;margin-top:20px}.cancel-btn{border:1px solid #ced4da;color:#6c757d;font-size:.9rem;padding:10px 20px;transition:all .3s ease}.cancel-btn:hover{background:#f8f9fa;border-color:#adb5bd}.save-btn{background:#15aabf;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:10px 20px;transition:all .3s ease}.save-btn:hover{background:#128a9f;box-shadow:0 4px 12px #15aabf4d;transform:translateY(-1px)}@media (max-width:768px){.profile-container{margin-left:0}.profile-header{flex-direction:column;gap:24px}.profile-decorations{justify-content:center;position:static}.profile-details{grid-template-columns:1fr}}.weight-tracking-container{background:#fff}.herd-selection-page,.weight-tracking-container{display:flex;flex-direction:column;margin-left:250px;min-height:100vh;width:calc(100% - 250px)}.herd-selection-page{align-items:center;background:linear-gradient(180deg,#f8fafc,#fff 60%);justify-content:center;padding:80px 48px}.weight-selection-wrapper{max-width:620px;width:100%}.weight-selection-content{text-align:center;width:100%}.weight-selection-title{color:#0f172a;font-size:2.4rem;font-weight:700;margin-bottom:12px}.weight-selection-subtitle{color:#475569;font-size:1rem;line-height:1.5;margin-bottom:36px;margin-left:auto;margin-right:auto;max-width:450px}.weight-selection-empty,.weight-selection-error,.weight-selection-loading{background:#fffc;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 22px 45px #0f172a14;color:#1f2937;padding:32px}.weight-selection-grid{grid-gap:18px;display:grid;gap:18px;grid-template-columns:1fr}.herd-card{background:radial-gradient(circle at 0 0,#fff,#f8fbff 70%);border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 22px 45px #0f172a14;color:#1f2937;cursor:pointer;font-weight:600;padding:26px 28px;text-align:left;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.herd-card:focus,.herd-card:hover{background:radial-gradient(circle at 10% 10%,#fff,#eef9fb 70%);border-color:#15aabf;box-shadow:0 30px 55px #15aabf38;transform:translateY(-6px)}.herd-card-title{color:#0f172a;font-size:1.2rem;margin-bottom:10px}.herd-card-info{color:#475569;font-size:.95rem}.weight-tracking-header{background:#0000}.weight-tracking-content{margin:0 auto;max-width:1200px;padding:20px 24px}.weight-tracking-title-section{align-items:center;display:flex;gap:20px;justify-content:space-between}.weight-title-block{display:flex;flex-direction:column;gap:8px}.weight-tracking-title{color:#2c3e50;font-size:2.5rem;font-weight:700;margin:0}.selected-herd-indicator{align-items:center;color:#475569;display:flex;font-size:.95rem;gap:12px}.change-herd-button{background:#f0fdfa;border:1px solid #15aabf;border-radius:999px;color:#0f766e;cursor:pointer;font-weight:600;padding:6px 14px;transition:all .2s ease}.change-herd-button:hover{background:#ccfbf1;color:#0f766e}.weight-tracking-actions{display:flex;gap:16px}.weight-tracking-button{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;font-size:.95rem;font-weight:600;gap:8px;padding:12px 20px;text-decoration:none;transition:all .3s ease}.weight-tracking-button:disabled{cursor:not-allowed;opacity:.6}.weight-tracking-button.add-weight{background:#15aabf;box-shadow:0 4px 12px #15aabf4d;color:#fff}.weight-tracking-button.add-weight:hover{background:#0d8a9e;box-shadow:0 6px 16px #15aabf66;transform:translateY(-2px)}.weight-tracking-button.filter-cattle{background:#15aabf;box-shadow:0 4px 12px #15aabf4d;color:#fff}.weight-tracking-button.filter-cattle:hover{background:#0d8a9e;box-shadow:0 6px 16px #15aabf66;transform:translateY(-2px)}.weight-tracking-button.refresh{background:#f8f9fa;border:2px solid #e9ecef;color:#6c757d}.weight-tracking-button.refresh:hover{background:#e9ecef;box-shadow:0 8px 25px #6c757d33;color:#495057;transform:translateY(-2px)}.weight-tracking-button.refresh.refreshing{animation:spin 1s linear infinite;background:#e3f2fd;border-color:#1976d2;color:#1976d2;cursor:not-allowed}.weight-tracking-button.refresh.refreshing .weight-tracking-button-icon svg{animation:spin 1s linear infinite}.weight-tracking-button-icon{align-items:center;background:#fff3;border-radius:6px;display:flex;height:20px;justify-content:center;transition:all .3s ease;width:20px}.weight-tracking-button:hover .weight-tracking-button-icon{background:#ffffff4d;transform:scale(1.1)}.weight-tracking-stats{margin-bottom:24px}.weight-stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(3,1fr)}.weight-stat-card{background:#f5f5f5;border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:16px;text-align:center;transition:all .3s ease}.weight-stat-card:hover{box-shadow:0 8px 24px #00000026;transform:translateY(-4px)}.weight-stat-title{color:#6c757d;font-size:.8rem;font-weight:600;letter-spacing:.5px;margin:0 0 6px;text-transform:uppercase}.weight-stat-value{color:#2c3e50;font-size:1.5rem;font-weight:700;margin:0}.weight-tracking-main{margin-top:20px}.weight-tracking-layout{grid-gap:24px;align-items:start;display:grid;gap:24px;grid-template-columns:2fr 1fr}.weight-empty-state{background:#f8fafc;border:1px dashed #cbd5f5;border-radius:16px;color:#475569;padding:48px;text-align:center}.weight-empty-state h3{color:#1f2937;font-size:1.5rem;margin:0 0 12px}.weight-empty-state p{font-size:1rem;margin:0}.weight-main-cattle-card{background:linear-gradient(145deg,#fff,#f7fbfc 90%);border:1px solid #15aabf26;border-radius:22px;box-shadow:0 24px 40px #0f172a14;overflow:hidden;padding:30px;position:relative;transition:transform .3s ease,box-shadow .3s ease}.weight-main-cattle-card:after{border:1px solid #fff9;border-radius:22px;content:"";inset:0;pointer-events:none;position:absolute}.weight-main-cattle-card:hover{box-shadow:0 32px 55px #0f172a1f;transform:translateY(-4px)}.weight-main-cattle-header{align-items:center;display:flex;gap:16px;margin-bottom:20px}.weight-main-cattle-icon{align-items:center;background:linear-gradient(135deg,#15aabf,#0d8a9e);border-radius:12px;box-shadow:0 8px 16px #15aabf40;display:flex;height:40px;justify-content:center;width:40px}.weight-main-cattle-name{color:#0f172a;font-size:1.3rem;font-weight:700;letter-spacing:.3px}.weight-main-cattle-current{color:#1f2937;font-size:1.05rem;font-weight:500;margin-bottom:20px}.weight-main-cattle-weight{color:#0f766e;font-weight:700}.weight-main-cattle-history{border-top:1px solid #94a3b840;margin-bottom:26px;padding-top:18px}.weight-main-cattle-history-title{color:#64748b;font-size:.8rem;font-weight:700;letter-spacing:1px;margin-bottom:10px;text-transform:uppercase}.weight-main-cattle-history-list{display:flex;flex-direction:column;gap:8px}.weight-main-cattle-history-item{align-items:center;background:#0f766e0f;border-radius:10px;color:#334155;display:flex;font-size:.95rem;gap:12px;justify-content:space-between;padding:8px 12px}.weight-main-cattle-history-item span{color:#0f172a;font-weight:600}.weight-line-chart-section{margin-bottom:24px}.weight-line-chart-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.weight-line-chart-title{color:#2c3e50;font-size:1rem;font-weight:600;margin:0}.weight-realtime-indicator{align-items:center;color:#15aabf;display:flex;font-size:.8rem;font-weight:500;gap:8px}.weight-realtime-dot{animation:pulse 1.5s infinite;background:#15aabf;border-radius:50%;height:8px;width:8px}.weight-line-chart-container{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 2px 8px #0000000a;margin-bottom:16px;overflow:visible;padding:20px 20px 32px}.weight-line-chart{display:flex;height:200px;position:relative;width:100%}.weight-line-chart-y-axis{display:flex;flex-direction:column;justify-content:space-between;margin-right:16px;padding:20px 0;width:40px}.weight-line-chart-scale{color:#6b7280;font-size:.8rem;font-weight:500;text-align:right}.weight-line-chart-content{flex:1 1;position:relative}.weight-line-chart-svg{display:block;height:100%;position:relative;width:100%}.weight-line-chart-x-labels{align-items:flex-end;bottom:-22px;display:flex;height:20px;justify-content:space-between;left:0;margin-top:0;padding:0 20px 4px;position:absolute;right:0;z-index:10}.weight-line-chart-x-label{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#fffc;border-radius:4px;color:#64748b;font-size:.75rem;font-weight:600;line-height:1.2;overflow:visible;padding:2px 6px;text-align:center;white-space:nowrap}.weight-main-cattle-close{align-self:flex-start;background:#15aabf;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:10px 20px;transition:all .3s ease}.weight-main-cattle-close:hover{background:#0d8a9e;box-shadow:0 4px 12px #15aabf4d;transform:translateY(-1px)}.weight-other-cattle-section{display:flex;flex-direction:column;gap:16px}.weight-other-cattle-card{background:linear-gradient(135deg,#fff,#f9fbfd);border:1px solid #e2e8f0e6;border-radius:20px;box-shadow:0 20px 42px #0f172a0f;display:flex;flex-direction:column;gap:12px;padding:24px;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.weight-other-cattle-card.selected,.weight-other-cattle-card:hover{border-color:#15aabf;box-shadow:0 26px 52px #15aabf2e;transform:translateY(-4px)}.weight-other-cattle-card.selected{border:2px solid #15aabf;box-shadow:0 18px 46px #15aabf3d}.weight-other-cattle-header{align-items:center;display:flex;gap:14px}.weight-other-cattle-icon{align-items:center;background:linear-gradient(135deg,#15aabf,#0d8a9e);border-radius:10px;box-shadow:0 6px 14px #15aabf40;display:flex;height:34px;justify-content:center;width:34px}.weight-other-cattle-icon img{filter:brightness(0) invert(1);height:18px;width:18px}.weight-other-cattle-name{color:#0f172a;font-size:1rem;font-weight:700}.weight-other-cattle-current{color:#0f766e;font-size:.95rem;font-weight:600}.weight-other-cattle-history{border-top:1px dashed #94a3b866;margin-top:4px;padding-top:12px}.weight-other-cattle-history-title{color:#64748b;font-size:.75rem;font-weight:700;letter-spacing:.8px;margin-bottom:8px;text-transform:uppercase}.weight-other-cattle-history-list{display:flex;flex-direction:column;gap:6px}.weight-other-cattle-history-item{background:#15aabf14;border-radius:8px;color:#334155;display:flex;font-size:.85rem;gap:12px;justify-content:space-between;line-height:1.4;padding:6px 8px}.weight-other-cattle-history-item span:last-child{color:#0f172a;font-weight:600}.weight-cattle-card{background:#f5f5f5;border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:16px;transition:all .3s ease}.weight-cattle-card:hover{box-shadow:0 8px 24px #00000026;transform:translateY(-2px)}.weight-cattle-header{align-items:center;display:flex;gap:12px;margin-bottom:16px}.weight-cattle-icon{align-items:center;background:#15aabf;border-radius:8px;box-shadow:0 2px 8px #15aabf4d;display:flex;height:32px;justify-content:center;width:32px}.weight-cattle-icon img{filter:brightness(0) invert(1)}.weight-cattle-name{color:#2c3e50;font-size:1rem;font-weight:700}.weight-cattle-current{color:#2c3e50;font-size:1rem;margin-bottom:16px}.weight-cattle-weight{color:#2c3e50;font-weight:700}.weight-cattle-history{border-top:1px solid #e0e0e0;padding-top:16px}.weight-cattle-history-title{color:#6c757d;font-size:.8rem;font-weight:600;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.weight-cattle-history-item{color:#6c757d;font-size:.85rem;margin-bottom:4px}.weight-tracking-modal{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.weight-tracking-modal-content{background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 32px 80px #00000026;max-width:450px;padding:32px;width:100%}.weight-tracking-modal-title{color:#111827;font-size:20px;font-weight:700;margin:0 0 24px;text-align:center}.weight-tracking-form{display:flex;flex-direction:column;gap:20px}.weight-tracking-form-group{display:flex;flex-direction:column;gap:8px}.weight-tracking-form-label{color:#374151;font-size:15px;font-weight:600;margin-bottom:4px}.weight-tracking-form-input{background:#fafafa;border:2px solid #e5e7eb;border-radius:12px;font-size:15px;padding:14px 18px;transition:all .2s ease}.weight-tracking-form-input:focus{background:#fff;border-color:#15aabf;box-shadow:0 0 0 4px #15aabf26;outline:none}.weight-tracking-form-actions{display:flex;gap:16px;justify-content:space-between;margin-top:24px}.weight-tracking-form-button{border-radius:12px;cursor:pointer;flex:1 1;font-size:15px;font-weight:600;padding:14px 28px;transition:all .3s ease}.weight-tracking-form-button.cancel{background:#f8fafc;border:2px solid #e2e8f0;color:#64748b}.weight-tracking-form-button.cancel:hover{background:#f1f5f9;border-color:#cbd5e1;transform:translateY(-1px)}.weight-tracking-form-button.submit{background:linear-gradient(135deg,#15aabf,#0d8a9e);border:none;box-shadow:0 4px 16px #15aabf4d;color:#fff}.weight-tracking-form-button.submit:hover{background:linear-gradient(135deg,#0d8a9e,#0a6b7a);box-shadow:0 8px 24px #15aabf66;transform:translateY(-2px)}.weight-tracking-filter-content{padding:20px 0;text-align:center}.weight-tracking-filter-content p{color:#6c757d;margin-bottom:20px}.weight-tracking-filter-modal{background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 32px 80px #00000026;max-height:85vh;max-width:560px;overflow-y:auto;padding:36px;width:100%}.weight-filter-content{display:flex;flex-direction:column;gap:28px;margin-bottom:36px}.weight-filter-section{display:flex;flex-direction:column;gap:16px}.weight-filter-label{color:#111827;font-size:16px;font-weight:700;margin:0}.weight-filter-date-range{align-items:center;display:flex;gap:12px}.weight-filter-date-input{background:#f9fafb;border:1px solid #d1d5db;border-radius:8px;flex:1 1;font-size:14px;padding:12px 16px;transition:all .2s ease}.weight-filter-date-input:focus{background:#fff;border-color:#15aabf;box-shadow:0 0 0 3px #15aabf1a;outline:none}.weight-filter-date-separator{color:#6b7280;font-size:16px;font-weight:600}.weight-filter-range-wrapper{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr}.weight-filter-slider-container{display:flex;flex-direction:column;gap:8px}.weight-filter-slider-value{display:inline-flex;justify-content:center;margin-bottom:8px}.weight-filter-current-value{background:#15aabf;border-radius:20px;box-shadow:0 2px 8px #15aabf4d;color:#fff;font-size:14px;font-weight:600;padding:8px 16px;transition:all .2s ease}.weight-filter-slider{-webkit-appearance:none;appearance:none;background:#e5e7eb;border-radius:3px;height:6px;outline:none;width:100%}.weight-filter-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#15aabf;border-radius:50%;box-shadow:0 2px 8px #15aabf4d;cursor:pointer;height:20px;-webkit-transition:all .2s ease;transition:all .2s ease;width:20px}.weight-filter-slider::-webkit-slider-thumb:hover{box-shadow:0 4px 12px #15aabf66;transform:scale(1.1)}.weight-filter-slider::-moz-range-thumb{background:#15aabf;border:none;border-radius:50%;box-shadow:0 2px 8px #15aabf4d;cursor:pointer;height:20px;-moz-transition:all .2s ease;transition:all .2s ease;width:20px}.weight-filter-slider::-moz-range-thumb:hover{box-shadow:0 4px 12px #15aabf66;transform:scale(1.1)}.weight-filter-slider-labels{color:#6b7280;display:flex;font-size:12px;font-weight:500;justify-content:space-between}.weight-filter-checkboxes{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.weight-filter-checkbox{align-items:center;color:#374151;cursor:pointer;display:flex;font-size:15px;font-weight:500;gap:12px;padding:8px 0;position:relative}.weight-filter-checkbox input[type=checkbox]{cursor:pointer;height:0;opacity:0;position:absolute;width:0}.weight-filter-checkmark{align-items:center;background:#fff;border:2px solid #d1d5db;border-radius:6px;display:flex;flex-shrink:0;height:22px;justify-content:center;position:relative;transition:all .3s ease;width:22px}.weight-filter-checkbox:hover .weight-filter-checkmark{background:#15aabf14;border-color:#15aabf;transform:scale(1.05)}.weight-filter-checkbox input[type=checkbox]:checked+.weight-filter-checkmark{background:#15aabf;border-color:#15aabf;transform:scale(1.05)}.weight-filter-checkbox input[type=checkbox]:checked+.weight-filter-checkmark:after{border:solid #fff;border-width:0 2px 2px 0;content:"";height:10px;left:50%;position:absolute;top:50%;transform:translate(-50%,-60%) rotate(45deg);width:6px}.weight-filter-actions{display:flex;gap:20px;justify-content:space-between;margin-top:8px}.weight-filter-button{border:none;border-radius:12px;cursor:pointer;flex:1 1;font-size:15px;font-weight:600;padding:16px 32px;transition:all .3s ease}.weight-filter-button.clear{background:#f8fafc;border:2px solid #e2e8f0;color:#64748b}.weight-filter-button.clear:hover{background:#f1f5f9;border-color:#cbd5e1;transform:translateY(-1px)}.weight-filter-button.apply{background:linear-gradient(135deg,#15aabf,#0d8a9e);box-shadow:0 4px 16px #15aabf4d;color:#fff}.weight-filter-button.apply:hover{background:linear-gradient(135deg,#0d8a9e,#0a6b7a);box-shadow:0 8px 24px #15aabf66;transform:translateY(-2px)}.weight-tracking-button.report{background:linear-gradient(135deg,#f97316,#ea580c);color:#fff}.weight-tracking-button.report:hover{box-shadow:0 8px 18px #f9731659}@media (max-width:768px){.weight-tracking-filter-modal{margin:20px;max-width:calc(100vw - 40px);padding:24px}.weight-filter-checkboxes{grid-template-columns:1fr}.weight-filter-actions{flex-direction:column}.weight-filter-date-range{align-items:stretch;flex-direction:column}.weight-filter-date-separator{margin:8px 0;text-align:center}.weight-tracking-container{margin-left:0}.weight-stats-grid,.weight-tracking-layout{grid-template-columns:1fr}.weight-tracking-title-section{align-items:flex-start;flex-direction:column}.weight-tracking-actions{justify-content:space-between;width:100%}.weight-line-chart{height:150px}.weight-line-chart-y-axis{margin-right:12px;width:30px}.weight-line-chart-scale,.weight-line-chart-x-label{font-size:.7rem}.weight-main-cattle-card{padding:16px}.weight-other-cattle-card{padding:12px}}.weight-tracking-page-container{background:#fff;display:flex;flex-direction:row;min-height:100vh}@media (max-width:768px){.weight-tracking-page-container{flex-direction:column}}.create-farm-container{background:#fff;display:flex;min-height:100vh}.create-farm-content{flex:1 1;margin:0 auto;max-width:1200px;padding:40px 40px 40px 290px}.create-farm-header{margin-bottom:32px}.create-farm-header h1{color:#1a1a1a;font-size:32px;font-weight:700;margin:0 0 8px}.create-farm-header p{color:#666;font-size:16px;margin:0}.add-farm-btn{align-items:center;background:#15aabf;border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;font-weight:600;gap:8px;justify-content:center;max-width:200px;min-width:140px;padding:12px 20px;transition:all .2s ease}.add-farm-btn:hover{background:#1296a7;box-shadow:0 4px 12px #15aabf4d;transform:translateY(-1px)}.farm-list-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 20px #00000014;padding:40px}.farm-list-header{align-items:center;border-bottom:2px solid #f3f4f6;display:flex;gap:16px;justify-content:space-between;margin-bottom:32px;padding-bottom:16px}.farm-list-header h2{color:#1a1a1a;font-size:24px;font-weight:700;margin:0}.farm-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.farm-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 8px 24px #0f172a14;gap:16px;padding:24px}.farm-card,.farm-card-header{display:flex;flex-direction:column}.farm-card-header{gap:4px}.farm-card-header h3{color:#111827;font-size:20px;font-weight:700;margin:0}.farm-card-header span{color:#64748b;font-size:14px}.farm-card-body{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.farm-card-body .info-label{color:#64748b;display:block;font-size:13px;font-weight:600}.farm-card-body .info-value{color:#1f2937;font-size:14px;font-weight:600}.farm-card-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:auto}.edit-farm-btn{background:#ecfdf5;border:none;border-radius:8px;color:#047857;cursor:pointer;font-size:14px;font-weight:600;padding:10px 16px;transition:all .2s ease}.edit-farm-btn:hover{background:#d1fae5;color:#065f46}.delete-farm-btn{background:#fee2e2;border:none;border-radius:8px;color:#b91c1c;cursor:pointer;font-size:14px;font-weight:600;padding:10px 16px;transition:all .2s ease}.delete-farm-btn:hover{background:#fca5a5;color:#7f1d1d}.delete-confirmation-modal{background:#fff;border-radius:20px;box-shadow:0 24px 48px #0f172a2e;display:flex;flex-direction:column;gap:20px;max-width:420px;padding:32px}.delete-confirmation-modal .modal-header{display:flex;gap:12px}.delete-confirmation-modal .delete-icon{font-size:32px}.delete-confirmation-modal .delete-message{color:#475569;display:flex;flex-direction:column;gap:8px;text-align:left}.delete-confirmation-modal .warning-text{color:#b91c1c;font-size:.9rem}.delete-confirmation-modal .form-actions{justify-content:space-between}.delete-confirm-btn{background:linear-gradient(135deg,#ef4444,#b91c1c);border-radius:10px;padding:10px 18px}.delete-confirm-btn:hover{filter:brightness(.95)}.create-farm-form{grid-gap:24px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 20px #00000014;display:grid;gap:24px;grid-template-columns:1fr 1fr;padding:40px}.form-fields-grid{display:contents}.form-group,.form-group-full{display:flex;flex-direction:column}.form-group-full,.form-group:nth-child(3),.form-group:nth-child(8),.form-group:nth-child(9){grid-column:1/-1}.form-group label,.form-group-full label{color:#111827;font-size:16px;font-weight:600;margin-bottom:12px}.form-group input,.form-group select,.form-group textarea,.form-group-full input,.form-group-full textarea{background:#fff;border:2px solid #e5e7eb;border-radius:12px;box-sizing:border-box;color:#374151;font-size:16px;padding:16px 20px;transition:all .3s ease;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus,.form-group-full input:focus,.form-group-full textarea:focus{border-color:#15aabf;box-shadow:0 0 0 4px #15aabf26;outline:none}.file-upload-section{display:flex;flex-direction:column;gap:16px;grid-column:1/-1}.form-actions{margin-top:24px}.cancel-btn,.create-btn{border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;padding:12px 20px;transition:all .3s ease}.cancel-btn{background:#f8fafc;border:2px solid #e2e8f0;color:#64748b}.cancel-btn:hover{background:#f1f5f9;border-color:#cbd5e1;transform:translateY(-1px)}.create-btn{background:linear-gradient(135deg,#15aabf,#0d8a9e);border:none;box-shadow:0 2px 8px #15aabf4d;color:#fff}.create-btn:hover:not(:disabled){background:linear-gradient(135deg,#0d8a9e,#0a6b7a);box-shadow:0 4px 12px #15aabf66;transform:translateY(-1px)}.create-btn:disabled{background:#9ca3af;box-shadow:none;cursor:not-allowed;transform:none}@media (max-width:1024px){.create-farm-content{padding:32px 24px 32px 260px}.farm-card-body{grid-template-columns:1fr}}@media (max-width:768px){.create-farm-content{margin-left:0;padding:24px 16px}.farm-list-header{align-items:flex-start;flex-direction:column}.add-farm-btn{width:100%}.create-farm-form{grid-template-columns:1fr;padding:28px 24px}.form-actions{align-items:stretch;flex-direction:column}.cancel-btn,.create-btn{width:100%}}.create-btn:disabled{position:relative}.create-btn:disabled:after{animation:spin 1s linear infinite;border:2px solid #0000;border-radius:50%;border-top-color:#fff;content:"";height:16px;margin:auto;position:absolute;width:16px}.chat-container{background-color:#f8f9fa;display:flex;height:100vh}.chat-main{background-color:#fff;border-radius:12px;box-shadow:0 2px 10px #0000000d;display:flex;flex:1 1;flex-direction:column;margin:20px 20px 20px 280px;overflow:hidden}.chat-header{background-color:#e3f2fd;border-bottom:1px solid #e0e0e0;color:#333;padding:20px 30px}.chat-header-toolbar{padding:12px 24px}.chat-header-controls{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.chat-select{background-color:#fff;border:1px solid #e0e0e0;max-width:400px;min-width:240px;padding:8px 12px}.chat-btn,.chat-select{border-radius:8px;cursor:pointer;font-size:14px}.chat-btn{align-items:center;display:inline-flex;font-weight:500;gap:6px;padding:8px 14px;transition:all .2s}.chat-btn-icon{font-size:14px}.chat-btn-outline{background:#fff;border:1px solid #e0e0e0;color:#333}.chat-btn-outline:hover{background-color:#f5f5f5;border-color:#ccc}.chat-btn-danger{border-color:#dc354580;color:#dc3545}.chat-btn-danger:hover{background-color:#dc35450d;border-color:#dc3545}.chat-empty-state{align-items:center;display:flex;flex-direction:column;gap:24px;justify-content:center;min-height:200px;padding:40px 20px}.chat-empty-content{max-width:480px;text-align:center}.chat-empty-title{color:#1f2937;font-size:1.5rem;font-weight:600;margin:0 0 8px}.chat-empty-subtitle{color:#6b7280;font-size:1rem;margin:0}.chat-suggestions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:700px}.chat-suggestion-badge{background:#fff;border:1px solid #e5e7eb;border-radius:12px;color:#374151;cursor:pointer;font-size:13px;padding:10px 16px;text-align:left;transition:all .2s}.chat-suggestion-badge:hover{background-color:#e3f2fd;border-color:#1976d2;color:#1976d2}.chat-input-form{align-items:flex-end;display:flex;gap:12px;margin-bottom:8px}.chat-textarea{border-radius:12px;flex:1 1;max-height:120px;min-height:44px;padding:12px 16px;resize:none}.chat-send-btn{align-items:center;background:#1976d2;border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:44px;justify-content:center;transition:background .2s;width:44px}.chat-send-btn:hover:not(:disabled){background:#1565c0}.chat-send-btn:disabled{background:#b0bec5;cursor:not-allowed}.chat-send-icon{font-size:18px}.chat-loading-spinner{animation:spin .8s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:20px;width:20px}.chat-disclaimer{color:#9ca3af;font-size:12px;margin:0;text-align:center}.markdown-list{margin:10px 0;padding-left:24px}ul.markdown-list{list-style-type:disc}ol.markdown-list{list-style-type:decimal}.chat-header-content{align-items:center;display:flex;gap:15px}.assistant-avatar{align-items:center;border-radius:50%;display:flex;height:45px;justify-content:center;overflow:hidden;width:45px}.assistant-avatar img{border-radius:50%;height:100%;object-fit:cover;width:100%}.chat-header-info h1{color:#333;font-size:22px;font-weight:600;margin:0}.chat-header-info p{color:#666;font-size:14px;margin:5px 0 0}.chat-messages{display:flex;flex:1 1;flex-direction:column;gap:20px;overflow-y:auto;padding:20px 30px}.message{display:flex;gap:12px;max-width:80%}.user-message{align-self:flex-end;flex-direction:row-reverse}.assistant-message{align-self:flex-start}.message-avatar{align-items:center;border-radius:50%;display:flex;flex-shrink:0;font-size:16px;height:40px;justify-content:center;width:40px}.user-message .message-avatar{background-color:#e3f2fd;color:#1976d2}.assistant-message .message-avatar{overflow:hidden}.assistant-message .message-avatar img{border-radius:50%;height:100%;object-fit:cover;width:100%}.message-content{flex:1 1}.message-bubble{background-color:#e3f2fd;border-radius:16px;box-shadow:0 1px 3px #0000001a;padding:15px 20px;position:relative}.message-sources{color:#0f172a;font-size:13px;margin-top:10px}.message-sources strong{color:#64748b;display:block;font-size:12px;font-weight:600;letter-spacing:.5px;margin-bottom:6px;text-transform:uppercase}.sources-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.source-tag{background:#15aabf1a;border:1px solid #15aabf33;border-radius:12px;color:#15aabf;display:inline-block;font-size:12px;font-weight:500;padding:4px 10px}.user-message .message-bubble{background-color:#e3f2fd;color:#333}.assistant-message .message-bubble{background-color:#fff;border:1px solid #e0e0e0;box-shadow:0 1px 3px #00000014;color:#1f2937}.message-bubble p{color:inherit;font-size:15px;line-height:1.5;margin:0 0 8px}.markdown-wrapper{color:#1f2937;font-size:15px;line-height:1.7}.markdown-section{margin-bottom:24px}.markdown-section:last-child{margin-bottom:0}.markdown-section-title{border-bottom:3px solid #e5e7eb;color:#1f2937;font-size:1.3em;font-weight:700;letter-spacing:-.3px;margin-bottom:16px;margin-top:0;padding-bottom:10px}.markdown-resposta-detalhada .markdown-section-title,.markdown-resumo .markdown-section-title{border-bottom-color:#e5e7eb;color:#1f2937}.markdown-subheader{color:#374151;font-size:1.15em;font-weight:600;margin:20px 0 10px;padding-top:8px}.markdown-subheader:first-of-type{margin-top:0}.markdown-paragraph{color:#1f2937;line-height:1.8;margin:10px 0;text-align:justify}.markdown-list-item{color:#374151;line-height:1.7;margin:8px 0;padding-left:12px;padding-right:8px;position:relative}.markdown-list-item:before{background-color:#6b7280;border-radius:50%;content:"";height:6px;left:0;position:absolute;top:.6em;width:6px}.markdown-wrapper strong{color:#1f2937;font-weight:600}.assistant-message .markdown-wrapper{color:#1f2937}.message-time{display:block;font-size:11px;opacity:.7}.user-message .message-time{color:#666}.assistant-message .message-time{color:#888}.message-bubble.loading{background-color:#fff;border:1px solid #e1e8ed;padding:15px 20px}.typing-indicator{align-items:center;display:flex;gap:4px}.typing-indicator span{animation:typing 1.4s ease-in-out infinite;background-color:#1976d2;border-radius:50%;height:8px;width:8px}.typing-indicator span:first-child{animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes typing{0%,80%,to{opacity:.5;transform:scale(0)}40%{opacity:1;transform:scale(1)}}.chat-input{background-color:#fff;border-top:1px solid #e0e0e0;padding:20px 30px}.message-input{background-color:#f8f9fa;border:1px solid #e0e0e0;border-radius:25px;box-sizing:border-box;font-size:15px;outline:none;padding:15px 20px;transition:all .3s ease;width:100%}.message-input:focus{background-color:#fff;border-color:#1976d2;box-shadow:0 0 0 2px #1976d21a}.message-input:disabled{background-color:#f8f9fa;cursor:not-allowed;opacity:.6}.chat-messages::-webkit-scrollbar{width:6px}.chat-messages::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.chat-messages::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#a8a8a8}@media (max-width:768px){.chat-main{border-radius:0;margin:0}.chat-header,.chat-input,.chat-messages{padding:15px 20px}.message{max-width:90%}}.tool-calls-wrapper{border:1px solid #e2e8f0;border-radius:8px;font-size:.8rem;margin-bottom:10px;overflow:hidden}.tool-calls-toggle{align-items:center;background:#f8fafc;border:none;color:#64748b;cursor:pointer;display:flex;font-size:.8rem;gap:6px;padding:7px 10px;text-align:left;transition:background .15s;width:100%}.tool-calls-toggle:hover{background:#f1f5f9}.tool-calls-icon{color:#6366f1;flex-shrink:0;font-size:.72rem}.tool-calls-chevron{color:#94a3b8;font-size:.7rem;margin-left:auto}.tool-calls-list{border-top:1px solid #e2e8f0;list-style:none;margin:0;padding:0}.tool-calls-item{border-bottom:1px solid #f1f5f9;display:flex;flex-direction:column;font-size:.78rem;gap:2px;padding:7px 12px}.tool-calls-item:last-child{border-bottom:none}.tool-calls-name{color:#475569;font-weight:500}.tool-calls-query{color:#94a3b8;font-size:.74rem;font-style:italic}.cadastrar-gado-container{background:#fff;display:flex;min-height:100vh}.cattle-list-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 20px #00000014;padding:40px}.cattle-list-header{align-items:center;border-bottom:2px solid #f3f4f6;display:flex;gap:16px;justify-content:space-between;margin-bottom:32px;padding-bottom:16px}.cattle-list-header h2{color:#1a1a1a;font-size:24px;font-weight:700;margin:0}.add-cattle-btn{align-items:center;background:#15aabf;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;max-width:180px;min-width:140px;padding:12px 20px;transition:all .2s ease;width:auto}.add-cattle-btn:hover{background:#1296a7;box-shadow:0 4px 12px #15aabf4d;transform:translateY(-1px)}.add-cattle-btn.primary{background:linear-gradient(135deg,#15aabf,#1296a7);font-size:16px;padding:16px 32px}.empty-state{align-items:center;background:#f9fafb;border:2px dashed #d1d5db;border-radius:12px;display:flex;flex-direction:column;gap:12px;justify-content:center;margin:60px auto;max-width:420px;padding:60px 20px;text-align:center}.empty-icon{height:64px;margin:0 auto 16px;width:64px}.empty-icon img{height:100%;object-fit:contain;width:100%}.empty-state h3{color:#374151;font-size:20px;font-weight:600;margin:0 0 8px}.empty-state p{color:#6b7280;margin:0 0 24px}.loading-message{color:#6b7280;padding:40px;text-align:center}.loading-spinner{animation:spin 1s linear infinite;border:3px solid #f3f4f6;border-radius:50%;border-top-color:#15aabf;height:32px;margin:0 auto 16px;width:32px}.cattle-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.cattle-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 8px #0000000a;padding:24px;transition:all .2s ease}.cattle-card:hover{border-color:#15aabf;box-shadow:0 8px 25px #0000001a;transform:translateY(-2px)}.cattle-card-header{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;margin-bottom:16px;padding-bottom:12px}.cattle-card-header h3{color:#1a1a1a;font-size:18px;font-weight:700;margin:0}.status-badge{border-radius:20px;font-size:12px;font-weight:600;padding:4px 12px;text-transform:uppercase}.status-badge.ativo{background:#d1fae5;color:#065f46}.status-badge.vendido{background:#fef3c7;color:#92400e}.status-badge.morto{background:#fee2e2;color:#991b1b}.cattle-card-body{margin-top:16px}.cattle-info{display:flex;flex-direction:column;gap:8px}.info-item{align-items:center;display:flex;justify-content:space-between;padding:4px 0}.info-item .label{color:#6b7280;font-size:14px;font-weight:600}.info-item .value{color:#1a1a1a;font-size:14px;font-weight:500;text-align:right}.cadastrar-gado-content{flex:1 1;margin:0 auto;max-width:1200px;padding:40px 40px 40px 290px}.cadastrar-gado-header{margin-bottom:40px}.cadastrar-gado-header h1{color:#1a1a1a;font-size:32px;font-weight:700;margin:0 0 8px}.cadastrar-gado-header p{color:#666;font-size:16px;margin:0}.cadastrar-gado-form{grid-gap:24px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 20px #00000014;display:grid;gap:24px;grid-template-columns:1fr 1fr;padding:40px}.form-group:has(input[name=breed]),.form-group:has(input[name=customCategory]),.form-group:has(input[name=name]),.form-group:has(input[name=origin]){grid-column:1/-1}.form-group:has(input[name=birthDate]),.form-group:has(input[name=entryDate]),.form-group:has(input[name=estimatedSlaughter]){grid-column:1}.form-group:has(input[name=entryWeight]),.form-group:has(input[name=targetWeight]){grid-column:2}.form-actions{gap:16px;grid-column:1/-1;margin-top:32px;padding-top:24px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{margin-bottom:4px}.form-group input,.form-group select{background:#fff;transition:all .2s ease}.form-group input:focus,.form-group select:focus{box-shadow:0 0 0 3px #15aabf1a}.form-group input::placeholder{color:#9ca3af;font-style:italic}.form-group select{cursor:pointer}.form-group select option{padding:8px}.age-display{margin-top:4px}.age-display small{color:#15aabf;font-size:12px;font-weight:500}.success-message{background:#d1fae5;border:1px solid #a7f3d0;border-radius:8px;color:#065f46}.error-message,.success-message{font-weight:500;grid-column:1/-1;margin-bottom:16px;padding:12px 16px}.error-message{background:#fee2e2;border:1px solid #fca5a5;border-radius:8px;color:#991b1b}.cancel-btn{background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .2s ease}.cancel-btn:hover{background:#f9fafb;border-color:#d1d5db}.submit-btn{background:#15aabf;border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;min-width:120px;padding:12px 24px;transition:all .2s ease}.submit-btn:hover:not(:disabled){background:#1296a7;box-shadow:0 4px 12px #15aabf4d;transform:translateY(-1px)}.submit-btn:disabled{background:#9ca3af;box-shadow:none;cursor:not-allowed;transform:none}@media (max-width:1024px){.cadastrar-gado-content{margin-left:0;padding-left:20px}.cadastrar-gado-form{grid-template-columns:1fr}.form-group:has(input[name=birthDate]),.form-group:has(input[name=entryDate]),.form-group:has(input[name=entryWeight]),.form-group:has(input[name=estimatedSlaughter]),.form-group:has(input[name=targetWeight]){grid-column:1}.cattle-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.cattle-list-header{align-items:center;flex-direction:column;gap:16px}.cattle-list-header h2{text-align:center}.add-cattle-btn{justify-content:center;max-width:200px;width:100%}}@media (max-width:768px){.cadastrar-gado-content{padding:20px}.cadastrar-gado-form{padding:24px}.cadastrar-gado-header h1{font-size:28px}.form-actions{flex-direction:column}.cancel-btn,.submit-btn{width:100%}.cattle-grid{grid-template-columns:1fr}.cattle-card{padding:16px}.cattle-list-section{padding:24px}.empty-state{padding:40px 16px}.empty-icon{font-size:48px}}.form-group label:after{color:#ef4444;content:" *";font-weight:700}.form-group input:invalid{border-color:#fca5a5}.form-group input:valid{border-color:#a7f3d0}.form-group{animation:fadeInUp .3s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.form-group:has(input[name=customCategory]){animation:slideDown .3s ease-out}@keyframes slideDown{0%{max-height:0;opacity:0}to{max-height:100px;opacity:1}}.cattle-card-actions{border-top:1px solid #f3f4f6;display:flex;gap:8px;margin-top:16px;padding-top:16px}.edit-cattle-btn{background:#ecfdf5;border:none;border-radius:8px;color:#047857;cursor:pointer;font-size:14px;font-weight:600;padding:10px 16px;transition:all .2s ease}.edit-cattle-btn:hover{background:#d1fae5;color:#065f46}.delete-cattle-btn{background:#fee2e2;border:none;border-radius:8px;color:#b91c1c;cursor:pointer;font-size:14px;font-weight:600;padding:10px 16px;transition:all .2s ease}.delete-cattle-btn:hover{background:#fca5a5;color:#7f1d1d}.modal-content{box-shadow:0 20px 40px #00000026;padding:0}.modal-header h3{color:#1a1a1a;font-size:18px}.close-btn{align-items:center;border-radius:50%;display:flex;height:30px;justify-content:center;padding:0;width:30px}.edit-form{padding:24px}.edit-form .form-group{margin-bottom:20px}.edit-form .form-group label{color:#374151;display:block;font-size:14px;font-weight:600;margin-bottom:6px}.edit-form .form-group input,.edit-form .form-group select{border:1px solid #d1d5db;border-radius:8px;box-sizing:border-box;font-size:14px;padding:12px;transition:border-color .2s ease;width:100%}.edit-form .form-group input:focus,.edit-form .form-group select:focus{border-color:#15aabf;box-shadow:0 0 0 3px #15aabf1a;outline:none}.edit-form .form-actions{border-top:1px solid #e5e7eb;display:flex;gap:12px;margin-top:24px;padding-top:20px}.edit-form .cancel-btn{background:#6b7280;border:none;border-radius:8px;color:#fff;cursor:pointer;flex:1 1;font-size:14px;font-weight:600;padding:12px;transition:all .2s ease}.edit-form .cancel-btn:hover{background:#4b5563}.edit-form .save-btn{background:#15aabf;border:none;border-radius:8px;color:#fff;cursor:pointer;flex:1 1;font-size:14px;font-weight:600;padding:12px;transition:all .2s ease}.edit-form .save-btn:hover{background:#0d8a9e}.delete-confirmation-modal{max-width:480px;text-align:center}.delete-confirmation-modal .modal-header{align-items:center;border-bottom:1px solid #e5e7eb;flex-direction:column;padding:24px 24px 16px}.delete-icon{animation:pulse 2s infinite;font-size:48px;margin-bottom:12px}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}.delete-confirmation-modal .modal-header h3{color:#dc2626;font-size:20px;font-weight:700;margin:0}.delete-message{background:#fef2f2;border-radius:8px;margin:16px 24px;padding:24px}.delete-message p{color:#374151;font-size:16px;line-height:1.5;margin:0 0 12px}.delete-message p:last-child{margin-bottom:0}.warning-text{background:#fee2e2;border-left:4px solid #dc2626;border-radius:6px;color:#dc2626!important;font-size:14px!important;font-weight:600;padding:12px}.delete-confirm-btn{background:linear-gradient(135deg,#dc2626,#b91c1c);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;margin-left:8px;min-width:140px;padding:10px 20px;transition:all .2s ease}.delete-confirm-btn:hover{background:linear-gradient(135deg,#b91c1c,#991b1b);box-shadow:0 4px 12px #dc26264d;transform:translateY(-1px)}.delete-confirmation-modal .cancel-btn{background:#6b7280;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;min-width:120px;padding:10px 20px;transition:all .2s ease}.delete-confirmation-modal .cancel-btn:hover{background:#4b5563;transform:translateY(-1px)}.delete-confirmation-modal .form-actions{align-items:center;border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:center;margin:0 0 8px;padding:16px 24px 24px}.delete-confirmation-modal .cancel-btn,.delete-confirmation-modal .delete-confirm-btn{flex:0 0 auto;min-width:140px;width:auto}.delete-confirmation-modal .delete-confirm-btn{margin-left:0}.delete-confirmation-modal .cancel-btn{margin-right:0}@media (max-width:480px){.delete-confirmation-modal .form-actions{flex-direction:column-reverse;gap:12px}.delete-confirmation-modal .cancel-btn,.delete-confirmation-modal .delete-confirm-btn{min-width:0;width:100%}}.users-container{background:#f8fafc;display:flex;min-height:100vh}.users-content{flex:1 1;margin-left:250px;padding:30px}.users-header{align-items:center;border-bottom:2px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:30px;padding-bottom:20px}.users-header h1{color:#1f2937;font-size:2rem;font-weight:700;margin:0}.create-user-btn{background:linear-gradient(135deg,#15aabf,#0d8a9e);border:none;border-radius:8px;box-shadow:0 2px 8px #15aabf4d;color:#fff;cursor:pointer;font-weight:600;padding:12px 24px;transition:all .3s ease}.create-user-btn:hover{box-shadow:0 4px 12px #15aabf66;transform:translateY(-2px)}.users-filters{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;gap:20px;margin-bottom:30px;padding:20px}.search-box{flex:1 1}.search-box input{border:2px solid #e5e7eb;border-radius:8px;font-size:16px;padding:12px 16px;transition:all .3s ease;width:100%}.search-box input:focus{border-color:#15aabf;box-shadow:0 0 0 4px #15aabf26;outline:none}.role-filter select{background:#fff;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;font-size:16px;padding:12px 16px;transition:all .3s ease}.role-filter select:focus{border-color:#15aabf;box-shadow:0 0 0 4px #15aabf26;outline:none}.error-message,.success-message{align-items:center;animation:slideIn .3s ease;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:20px;padding:16px 20px}.error-message{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.success-message{background:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a}.error-message button,.success-message button{background:none;border:none;color:inherit;cursor:pointer;font-size:20px;opacity:.7}.error-message button:hover,.success-message button:hover{opacity:1}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.users-list{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.loading{font-size:18px}.loading,.no-users{color:#6b7280;padding:40px;text-align:center}.users-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));padding:20px}.user-card{background:#f8fafc;border:2px solid #e5e7eb;border-radius:12px;padding:20px;transition:all .3s ease}.user-card:hover{border-color:#15aabf;box-shadow:0 4px 12px #15aabf26;transform:translateY(-2px)}.user-info{gap:16px;margin-bottom:16px}.user-avatar,.user-info{align-items:center;display:flex}.user-avatar{background:linear-gradient(135deg,#15aabf,#0d8a9e);border-radius:50%;color:#fff;font-size:18px;font-weight:700;height:50px;justify-content:center;width:50px}.user-details h3{color:#1f2937;font-size:18px;font-weight:600;margin:0 0 4px}.user-details p{color:#6b7280;font-size:14px;margin:2px 0}.user-role{border-radius:4px;display:inline-block;font-size:12px;font-weight:600;margin-top:8px;padding:4px 8px;text-transform:uppercase}.role-admin{background:#fef3c7;color:#d97706}.role-user{background:#e0f2fe;color:#0277bd}.role-veterinarian{background:#f3e8ff;color:#7c3aed}.role-technician{background:#ecfdf5;color:#059669}.user-actions{display:flex;gap:8px}.delete-btn,.edit-btn{border:none;border-radius:6px;cursor:pointer;flex:1 1;font-size:14px;font-weight:600;padding:8px 16px;transition:all .3s ease}.edit-btn{background:#3b82f6;color:#fff}.edit-btn:hover{background:#2563eb}.delete-btn{background:#ef4444;color:#fff}.delete-btn:hover:not(:disabled){background:#dc2626}.delete-btn:disabled{background:#9ca3af;cursor:not-allowed}.access-denied{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;min-height:60vh;text-align:center}.access-denied h2{color:#dc2626;font-size:2rem;margin-bottom:16px}.access-denied p{font-size:16px;margin:8px 0}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a;max-height:90vh;max-width:500px;overflow-y:auto;width:100%}.modal-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:20px 24px}.modal-header h3{color:#1f2937;font-size:1.25rem;font-weight:600;margin:0}.close-btn{background:none;border:none;border-radius:4px;color:#6b7280;cursor:pointer;font-size:24px;padding:4px;transition:all .2s ease}.close-btn:hover{background:#f3f4f6;color:#374151}.user-form{padding:24px}.form-group{margin-bottom:20px}.form-group label{color:#374151;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.form-group input,.form-group select{border:2px solid #e5e7eb;border-radius:8px;box-sizing:border-box;font-size:16px;padding:12px 16px;transition:all .3s ease;width:100%}.form-group input:focus,.form-group select:focus{border-color:#15aabf;box-shadow:0 0 0 4px #15aabf26;outline:none}.form-actions{border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:flex-end;margin-top:30px;padding-top:20px}.cancel-btn,.submit-btn{border:none;border-radius:8px;cursor:pointer;font-weight:600;padding:12px 24px;transition:all .3s ease}.cancel-btn{background:#f3f4f6;border:2px solid #d1d5db;color:#374151}.cancel-btn:hover{background:#e5e7eb}.submit-btn{background:linear-gradient(135deg,#15aabf,#0d8a9e);box-shadow:0 2px 8px #15aabf4d;color:#fff}.submit-btn:hover{box-shadow:0 4px 12px #15aabf66;transform:translateY(-1px)}@media (max-width:768px){.users-content{margin-left:0;padding:20px}.users-header{align-items:stretch;gap:20px}.users-filters,.users-header{flex-direction:column}.users-grid{grid-template-columns:1fr}.user-info{text-align:center}.user-actions,.user-info{flex-direction:column}}.report-cattle-container{background:#f4f6fb;display:flex;min-height:100vh}.report-content{flex:1 1;margin-left:250px;max-width:1100px;padding:40px 40px 40px 30px}.report-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:32px}.report-header h1{color:#1f2937;font-size:32px;font-weight:700;margin:0}.report-header p{color:#6b7280;margin:8px 0 0}.reload-button{background:linear-gradient(135deg,#15aabf,#0d8a9e);border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:600;min-width:180px;padding:12px 24px;transition:transform .2s ease,box-shadow .2s ease;width:auto}.reload-button:hover{box-shadow:0 6px 16px #15aabf4d;transform:translateY(-1px)}.report-summary{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.report-summary-card{background:#fff;border-radius:16px;box-shadow:0 4px 20px #0f172a14;display:flex;flex-direction:column;gap:8px;padding:24px}.report-summary-title{color:#6b7280;font-size:14px;font-weight:600;text-transform:uppercase}.report-summary-value{color:#111827;font-size:28px;font-weight:700}.report-summary-description{color:#9ca3af;font-size:13px}.report-alerts{margin-top:48px}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.section-header h2{color:#1f2937;font-size:22px;font-weight:700;margin:0}.section-header span{color:#6b7280;font-weight:600}.alert-empty{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0f172a14;color:#6b7280;padding:24px;text-align:center}.alert-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.alert-card{background:#fff;border-radius:16px;box-shadow:0 10px 30px #0f172a1f;display:flex;flex-direction:column;gap:16px;padding:24px}.alert-card-header{align-items:center;display:flex;justify-content:space-between}.alert-name{color:#0f172a;font-size:18px;font-weight:700}.status-pill{border-radius:999px;font-size:12px;font-weight:700;padding:6px 12px;text-transform:uppercase}.status-success{background:#dcfce7;color:#166534}.status-danger{background:#fee2e2;color:#b91c1c}.status-warning{background:#fef3c7;color:#92400e}.status-info{background:#e0f2fe;color:#0369a1}.status-muted{background:#e5e7eb;color:#4b5563}.alert-details{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(2,minmax(120px,1fr))}.info-label{color:#9ca3af;display:block;font-size:12px;text-transform:uppercase}.info-value{color:#1f2937;display:block;font-size:14px;font-weight:600}.alert-message{color:#374151;font-size:14px;margin:0}.report-animal-list{margin-top:48px}.animal-table{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 8px 24px #0f172a1f;overflow:hidden}.animal-table-header,.animal-table-row{align-items:center;border-bottom:1px solid #f1f5f9;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr .6fr 1.4fr;padding:16px 24px}.animal-table-row:last-child{border-bottom:none}.animal-table-header{background:#f8fafc;color:#1f2937;font-size:12px;font-weight:700;text-transform:uppercase}.animal-table-row:nth-child(odd){background:#fff}.animal-table-row:nth-child(2n){background:#fdfdfd}.animal-name{color:#1f2937;font-weight:600}.trend{font-size:14px;font-weight:700}.trend-up{color:#16a34a}.trend-down{color:#dc2626}.trend-stable{color:#6b7280}.empty-state,.error-state,.loading-state{align-items:center;color:#6b7280;display:flex;flex:1 1;flex-direction:column;gap:16px;justify-content:center;margin-left:250px;padding:80px}.spinner{animation:spin 1s linear infinite;border:4px solid #f3f4f6;border-radius:50%;border-top-color:#15aabf;height:48px;width:48px}.animal-table-row span:nth-child(3),.animal-table-row span:nth-child(4),.animal-table-row span:nth-child(5){color:#9ca3af}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (max-width:1024px){.report-content{margin-left:240px;padding:32px 24px}.animal-table-header,.animal-table-row{grid-template-columns:1.5fr 1fr 1fr 1fr 1fr .6fr 1.4fr}}@media (max-width:768px){.empty-state,.error-state,.loading-state,.report-content{margin-left:0;padding:24px}.animal-table-header,.animal-table-row{gap:12px;grid-template-columns:repeat(2,minmax(140px,1fr))}}.report-tabs{border-bottom:2px solid #e5e7eb;display:flex;gap:8px;margin-bottom:32px;padding-bottom:0}.report-tab{background:#0000;border:none;border-bottom:3px solid #0000;color:#6b7280;cursor:pointer;font-size:15px;font-weight:600;margin-bottom:-2px;padding:14px 28px;transition:all .2s ease}.report-tab:hover{background:#15aabf0d;color:#15aabf}.report-tab.active{background:#0000;border-bottom-color:#15aabf;color:#15aabf}.export-buttons{display:flex;gap:12px;margin-bottom:24px}.export-btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 20px;transition:all .2s ease}.export-btn svg{height:18px;width:18px}.export-pdf{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff}.export-pdf:hover{box-shadow:0 6px 16px #dc26264d;transform:translateY(-2px)}.export-excel{background:linear-gradient(135deg,#16a34a,#15803d);color:#fff}.export-excel:hover{box-shadow:0 6px 16px #16a34a4d;transform:translateY(-2px)}.performance-summary{margin-bottom:32px}.performance-table-section{margin-top:32px}.performance-table-container{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 8px 24px #0f172a1f;overflow:hidden}.performance-table{border-collapse:collapse;font-size:14px;width:100%}.performance-table thead{background:#2c3e50}.performance-table thead th{border:none;color:#fff;font-size:12px;font-weight:700;letter-spacing:.5px;padding:16px 20px;text-align:center;text-transform:uppercase}.performance-table tbody tr{border-bottom:1px solid #dee2e6;transition:all .15s ease}.performance-table tbody tr:last-child{border-bottom:none}.performance-table tbody td{color:#1f2937;font-weight:500;padding:14px 20px;text-align:center}.performance-row.performance-excellent{background-color:#d4edda!important}.performance-row.performance-good{background-color:#f8f9fa!important}.performance-row.performance-good:nth-child(2n){background-color:#fff!important}.performance-row.performance-regular{background-color:#fff3cd!important}.performance-row.performance-critical{background-color:#f8d7da!important}.performance-row.performance-nodata{background-color:#e5e7eb!important}.performance-table tbody tr:hover{filter:brightness(.97)}.weight-gain{color:#16a34a;font-weight:700}.gmd-value{font-family:JetBrains Mono,Fira Code,monospace;font-weight:600}.performance-status-badge{border-radius:999px;display:inline-block;font-size:11px;font-weight:700;letter-spacing:.3px;padding:6px 14px;text-transform:uppercase}.performance-status-badge.performance-excellent{background:#166534;color:#fff}.performance-status-badge.performance-good{background:#4b5563;color:#fff}.performance-status-badge.performance-regular{background:#92400e;color:#fff}.performance-status-badge.performance-critical{background:#b91c1c;color:#fff}.performance-status-badge.performance-nodata{background:#6b7280;color:#fff}@media (max-width:1024px){.performance-table{font-size:13px}.performance-table tbody td,.performance-table thead th{padding:12px 14px}.export-buttons{flex-wrap:wrap}}@media (max-width:768px){.report-tabs{flex-direction:column;gap:4px}.report-tab{border-bottom:none;border-left:3px solid #0000;margin-bottom:0;margin-left:-2px;text-align:left}.report-tab.active{border-bottom-color:#0000;border-left-color:#15aabf}.performance-table-container{overflow-x:auto}.performance-table{min-width:700px}.export-buttons{flex-direction:column}.export-btn{justify-content:center}}
/*# sourceMappingURL=main.5e439ccb.css.map*/