.header{position:sticky;top:0;z-index:100}.header-content{display:flex;justify-content:space-between;align-items:center}.logo{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:#2d5a27;font-size:1.25rem;font-weight:700}.logo-icon{font-size:1.5rem}.logo-centered{justify-content:center;margin-bottom:1.5rem}.nav{display:flex;gap:1rem}.nav a{text-decoration:none;color:#4a3728;font-weight:500;padding:.75rem 1rem;border-radius:.5rem;transition:background-color .2s}.nav a:hover{background-color:#f5f1e8}.footer{background:#fff;border-top:1px solid #e0d7cf;padding:1.5rem 0;text-align:center;color:#8a7567}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.75rem;padding:.75rem 1.5rem;font-size:1rem;font-weight:600;text-decoration:none;border:none;border-radius:.5rem;cursor:pointer;transition:all .2s}.btn-primary{background:#2d5a27;color:#fff}.btn-primary:hover{background:#23481f}.btn-secondary{background:#fff;color:#4a3728;border:1px solid #e0d7cf}.btn-secondary:hover{background:#f5f1e8}.btn-block{width:100%}.btn-link{background:none;color:#2d5a27;padding:.75rem 0}.btn-link:hover{text-decoration:underline}.form-group{margin-bottom:1.5rem}.form-group label{display:block;font-weight:600;margin-bottom:.75rem}.form-group input,.form-group textarea,.form-group select{width:100%;padding:.75rem 1rem;font-size:1rem;border:1px solid #e0d7cf;border-radius:.5rem}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#2d5a27;box-shadow:0 0 0 3px rgba(45,106,79,.1)}.form-hint{display:block;font-size:.875rem;color:#8a7567;margin-top:.5rem}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:linear-gradient(135deg, #2d5a27 0%, #23481f 100%)}.auth-card{background:#fff;border-radius:.75rem;padding:3rem;width:100%;max-width:420px;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}.auth-title{text-align:center;font-size:1.5rem;margin-bottom:.75rem}.auth-subtitle{text-align:center;color:#8a7567;margin-bottom:2rem}.auth-form{margin-bottom:1.5rem}.auth-footer{text-align:center;padding-top:1.5rem;border-top:1px solid #e0d7cf;margin-top:1.5rem}.auth-footer a{color:#2d5a27;text-decoration:none;font-weight:600}.auth-back{text-align:center;margin-top:1rem}.auth-back a{color:#8a7567;text-decoration:none}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;color:#8a7567}.spinner{width:48px;height:48px;border:4px solid #e0d7cf;border-top-color:#2d5a27;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{to{transform:rotate(360deg)}}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:1.5rem;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)}.farm-info{display:flex;align-items:center;gap:1rem}.farm-logo-small{width:64px;height:64px;border-radius:.5rem;object-fit:cover;background:#f5f1e8}.farm-info h1{font-size:1.5rem;margin-bottom:.5rem}.status-badge{display:inline-block;padding:.5rem 1rem;border-radius:9999px;font-size:.875rem;font-weight:600;background:#22c55e;color:#fff}.status-badge.paused{background:#f59e0b}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));gap:1.5rem;margin-bottom:2rem}.metric-card{background:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);text-align:center}.metric-value{font-size:2rem;font-weight:700;color:#2d5a27;margin-bottom:.5rem}.metric-label{color:#8a7567;font-size:.875rem}.alerts-section{background:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);margin-bottom:2rem;border-left:4px solid #f59e0b}.alerts-section h3{margin-bottom:1rem}.alerts-list{list-style:none}.alerts-list li{padding:.75rem 0;border-bottom:1px solid #e0d7cf;display:flex;justify-content:space-between}.alerts-list li:last-child{border-bottom:none}.quick-actions{background:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);margin-bottom:2rem}.quick-actions h3{margin-bottom:1rem}.action-buttons{display:flex;flex-wrap:wrap;gap:1rem}.recent-orders{background:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)}.recent-orders h3{margin-bottom:1rem}.orders-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.order-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f5f1e8;border-radius:.5rem}.order-number{font-weight:600;color:#2d5a27}.order-status{font-size:.875rem;padding:.5rem .75rem;border-radius:.25rem;background:#2d5a27;color:#fff}.empty-state{text-align:center;padding:3rem;background:#fff;border-radius:.75rem}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h2{font-size:1.5rem;margin-bottom:.75rem}.empty-state p{color:#8a7567;margin-bottom:1.5rem}.farm-selector{text-align:center;padding:2rem}.farm-cards{display:grid;grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));gap:1.5rem;margin-top:2rem}.farm-card{background:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 4px 8px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.06);cursor:pointer;transition:transform .2s,box-shadow .2s}.farm-card:hover{transform:translateY(-4px);box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}.farm-card h3{font-size:1.125rem;margin-bottom:.75rem}.farm-card p{color:#8a7567;font-size:.875rem}.toast{position:fixed;bottom:2rem;right:2rem;padding:1rem 1.5rem;background:#4a3728;color:#fff;border-radius:.5rem;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);transform:translateY(100px);opacity:0;transition:transform .3s,opacity .3s;z-index:1000;max-width:400px}.toast.show{transform:translateY(0);opacity:1}.toast.success{background:#22c55e}.toast.error{background:#ef4444}.toast.warning{background:#f59e0b}@media(max-width: 768px){.dashboard-header{flex-direction:column;align-items:flex-start;gap:1rem}.metrics-grid{grid-template-columns:repeat(2, 1fr)}.action-buttons{flex-direction:column}.action-buttons .btn{width:100%}.nav{gap:.75rem}.nav a{padding:.75rem;font-size:.875rem}}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.page-header h1{font-size:1.5rem}.modal{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.modal-content{position:relative;background:#fff;border-radius:.75rem;padding:2rem;width:100%;max-width:450px;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.modal-header h2{font-size:1.25rem}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#8a7567;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.modal-close:hover{color:#4a3728}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem}.team-list{display:flex;flex-direction:column;gap:1rem}.team-member-card{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)}.member-info{flex:1}.member-email{font-weight:600;font-size:1rem;margin-bottom:.5rem}.member-details{display:flex;gap:.75rem;align-items:center}.member-role{font-size:.875rem;padding:.5rem .75rem;background:#f5f1e8;border-radius:.25rem;color:#4a3728}.member-status{font-size:.75rem;padding:.5rem .75rem;border-radius:.25rem;background:#22c55e;color:#fff}.member-status.pending{background:#f59e0b}.member-status.suspended{background:#ef4444}.member-status.revoked{background:#8a7567}.member-actions{display:flex;gap:.75rem;align-items:center}.role-select{padding:.75rem;border:1px solid #e0d7cf;border-radius:.5rem;font-size:.875rem}.btn-sm{padding:.75rem 1rem;font-size:.875rem}.owner-badge{font-size:.875rem;color:#8a7567;font-style:italic}.profile-header{display:flex;align-items:center;gap:1.5rem;margin-bottom:2rem;padding:1.5rem;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)}.profile-avatar{width:80px;height:80px;border-radius:50%;background:#2d5a27;color:#fff;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700}.profile-info h1{font-size:1.5rem;margin-bottom:.5rem}.profile-info p{color:#8a7567}.profile-section{background:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);margin-bottom:1.5rem}.profile-section h2{font-size:1.125rem;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:1px solid #e0d7cf}.image-upload{display:flex;gap:1.5rem;align-items:flex-start}.image-preview{width:120px;height:120px;border-radius:.5rem;background:#f5f1e8;display:flex;align-items:center;justify-content:center;font-size:2rem;color:#8a7567;border:2px dashed #e0d7cf}.image-preview.has-image{background-size:cover;background-position:center}.upload-buttons{display:flex;flex-direction:column;gap:.75rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}@media(max-width: 768px){.form-row{grid-template-columns:1fr}.team-member-card{flex-direction:column;align-items:flex-start;gap:1rem}.member-actions{width:100%;justify-content:space-between}.page-header{flex-direction:column;align-items:flex-start;gap:1rem}.page-header .btn{width:100%}}.form-actions{display:flex;gap:1rem;margin-top:2rem}textarea{resize:vertical;min-height:100px}.filters-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding:1rem;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)}.search-box input{padding:.75rem 1rem;border:1px solid #e0d7cf;border-radius:.5rem;min-width:250px}.filter-group{display:flex;gap:.75rem}.filter-group select{padding:.75rem 1rem;border:1px solid #e0d7cf;border-radius:.5rem;background:#fff}.bulk-actions{display:flex;align-items:center;gap:1rem;padding:1rem;background:#2d5a27;color:#fff;border-radius:.75rem;margin-bottom:1.5rem}.bulk-buttons{display:flex;gap:.75rem}.bulk-buttons .btn{background:#fff;color:#2d5a27}.products-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));gap:1.5rem}.product-card{background:#fff;border-radius:.75rem;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);overflow:hidden;transition:transform .2s,box-shadow .2s;position:relative}.product-card:hover{transform:translateY(-4px);box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}.product-select{position:absolute;top:.75rem;left:.75rem;z-index:10}.product-checkbox{width:20px;height:20px;cursor:pointer}.product-image{height:200px;background:#f5f1e8;display:flex;align-items:center;justify-content:center;position:relative}.product-image img{width:100%;height:100%;object-fit:cover}.no-image{font-size:4rem;color:#8a7567}.product-image .status-badge{position:absolute;bottom:.75rem;right:.75rem}.product-info{padding:1.5rem}.product-name{font-size:1.125rem;margin-bottom:.5rem;color:#4a3728}.product-category{font-size:.875rem;color:#8a7567;margin-bottom:1rem}.product-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #e0d7cf}.product-price{font-size:1.25rem;font-weight:700;color:#2d5a27}.product-inventory{font-size:.875rem;color:#8a7567}.product-inventory.low-stock{color:#f59e0b;font-weight:600}.product-actions{display:flex;gap:.75rem}.product-actions .btn{flex:1}label input[type=checkbox]{margin-right:.75rem}@media(max-width: 768px){.filters-bar{flex-direction:column;gap:1rem}.search-box input{width:100%}.filter-group{width:100%;flex-direction:column}.filter-group select{width:100%}.bulk-actions{flex-direction:column;text-align:center}.bulk-buttons{flex-wrap:wrap;justify-content:center}.products-grid{grid-template-columns:1fr}}
