body{margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.login-container{align-items:center;background:linear-gradient(135deg,#0a1628,#1a237e 50%,#0d47a1);display:flex;justify-content:center;min-height:100vh;padding:20px}.login-box{background:linear-gradient(135deg,#1e3a5f,#2c5282);border:1px solid #ffffff1a;border-radius:16px;box-shadow:0 20px 60px #00000080;max-width:420px;padding:40px;width:100%}.login-header{margin-bottom:40px;text-align:center}.login-header .logo{filter:drop-shadow(0 4px 8px rgba(0,0,0,.3));height:120px;margin-bottom:20px;object-fit:contain;width:120px}.login-header h1{color:#fff;font-size:28px;font-weight:700;margin:10px 0;text-shadow:0 2px 4px #0000004d}.form-group{margin-bottom:20px}.form-group input{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;box-sizing:border-box;color:#fff;font-size:16px;padding:12px 16px;transition:all .3s;width:100%}.form-group input::placeholder{color:#ffffff80}.form-group input:focus{background:#ffffff26;border-color:#64b5f6;box-shadow:0 0 0 3px #64b5f61a;outline:none}.form-group input:disabled{background-color:#ffffff0d;cursor:not-allowed}.error-message{background-color:#f4433633;font-size:14px}button{background:linear-gradient(135deg,#1976d2,#1565c0);border:none;border-radius:8px;box-shadow:0 4px 12px #1976d24d;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:14px;transition:all .2s;width:100%}button:hover:not(:disabled){box-shadow:0 6px 16px #1976d280;transform:translateY(-2px)}button:active:not(:disabled){transform:translateY(0)}button:disabled{cursor:not-allowed;opacity:.6}@media (max-width:480px){.login-box{padding:30px 20px}.login-header .logo{height:100px;width:100px}.login-header h1{font-size:24px}}.edit-product-modal{max-height:90vh;max-width:700px;overflow-y:auto}@media (max-width:768px){.edit-product-modal{border-radius:0;max-height:100vh;max-width:100%}}.modal-overlay{align-items:center;background:#000c;bottom:0;display:flex;justify-content:center;left:0;overflow-y:auto;padding:20px;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:linear-gradient(135deg,#1e3a5f,#2c5282);border:1px solid #ffffff1a;border-radius:16px;box-shadow:0 20px 60px #00000080;max-height:90vh;max-width:1000px;overflow-y:auto;position:relative;width:100%}.close-btn{align-items:center;background:#f4433633;border:1px solid #f443364d;border-radius:50%;color:#ff6b6b;cursor:pointer;display:flex;font-size:24px;height:40px;justify-content:center;position:absolute;right:15px;top:15px;transition:all .2s;width:40px;z-index:10}.close-btn:hover{background:#f443364d;transform:scale(1.1)}.detail-container{grid-gap:30px;display:grid;gap:30px;grid-template-columns:1fr 1fr;padding:40px}.detail-images{display:flex;flex-direction:column;gap:15px}.main-image{align-items:center;background:#0003;border-radius:12px;display:flex;height:400px;justify-content:center;overflow:hidden;width:100%}.main-image img{height:100%;object-fit:contain;width:100%}.no-image-large{font-size:100px;opacity:.3}.image-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:5px}.image-thumbnails img{border:2px solid #0000;border-radius:8px;cursor:pointer;flex-shrink:0;height:80px;object-fit:cover;transition:all .2s;width:80px}.image-thumbnails img:hover{border-color:#64b5f6}.image-thumbnails img.active{border-color:#1976d2;transform:scale(1.05)}.detail-info{display:flex;flex-direction:column;gap:20px}.detail-header h2{color:#fff;font-size:28px;margin:0 0 10px}.badges-detail{display:flex;flex-wrap:wrap;gap:10px}.detail-price{color:#64b5f6;font-size:32px;font-weight:700;margin:0}.detail-specs{background:#0003;border-radius:8px;display:flex;flex-direction:column;gap:12px;padding:15px}.spec-item{display:flex;gap:10px;justify-content:space-between}.spec-label{color:#ffffffb3;font-weight:500}.spec-value{color:#fff;font-weight:600;text-align:right}.detail-description{background:#0003;border-radius:8px;padding:15px}.detail-description h3{color:#fff;font-size:18px;margin:0 0 10px}.detail-description p{word-wrap:break-word;color:#fffc;line-height:1.6;margin:0}.detail-actions{display:flex;flex-direction:column;gap:10px}.detail-actions button{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;padding:12px;transition:all .2s}.btn-primary{background:linear-gradient(135deg,#1976d2,#1565c0);color:#fff}.btn-primary:hover{box-shadow:0 4px 12px #1976d266;transform:translateY(-2px)}.btn-warning{background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff}.btn-warning:hover{box-shadow:0 4px 12px #ff980066;transform:translateY(-2px)}.btn-danger{background:linear-gradient(135deg,#f44336,#d32f2f);color:#fff}.btn-danger:hover{box-shadow:0 4px 12px #f4433666;transform:translateY(-2px)}.confirm-dialog{align-items:center;background:#000c;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:2000}.confirm-content{background:linear-gradient(135deg,#1e3a5f,#2c5282);border:1px solid #ffffff1a;border-radius:12px;max-width:400px;padding:30px;text-align:center;width:100%}.confirm-content h3{color:#fff;font-size:24px;margin:0 0 15px}.confirm-content p{color:#fffc;margin:10px 0}.confirm-buttons{display:flex;gap:10px;margin-top:20px}.confirm-buttons button{border:none;border-radius:8px;cursor:pointer;flex:1 1;font-weight:600;padding:12px;transition:all .2s}.confirm-buttons button:first-child{background:#ffffff1a;border:1px solid #fff3;color:#fff}.confirm-buttons button:first-child:hover{background:#fff3}@media (max-width:768px){.modal-overlay{align-items:flex-start;padding:0}.modal-content{border-radius:0;max-height:100vh;max-width:100%}.detail-container{gap:20px;grid-template-columns:1fr;padding:60px 20px 20px}.main-image{height:300px}.detail-header h2{font-size:22px}.detail-price{font-size:28px}.close-btn{font-size:20px;height:35px;width:35px}}@media (max-width:480px){.detail-container{padding:50px 15px 15px}.main-image{height:250px}.no-image-large{font-size:80px}.image-thumbnails img{height:60px;width:60px}.detail-header h2{font-size:20px}.detail-price{font-size:24px}.detail-description h3{font-size:16px}.detail-actions button{font-size:13px;padding:10px}.confirm-content{padding:20px}.confirm-content h3{font-size:20px}}.product-card{background:linear-gradient(135deg,#1e3a5f,#2c5282);border:1px solid #ffffff1a;border-radius:12px;box-shadow:0 4px 12px #0000004d;cursor:pointer;overflow:hidden;transition:all .3s}.product-card:hover{box-shadow:0 8px 20px #0006;transform:translateY(-4px)}.product-card:active{transform:translateY(-2px)}.product-image{align-items:center;background:#0003;display:flex;height:200px;justify-content:center;position:relative;width:100%}.product-image img{height:100%;object-fit:cover;width:100%}.no-image{font-size:60px;opacity:.3}.badges{align-items:flex-end;display:flex;flex-direction:column;gap:8px;position:absolute;right:10px;top:10px}.badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;font-size:12px;font-weight:600;padding:6px 12px;white-space:nowrap}.badge.disponible{background:#4caf50e6;color:#fff}.badge.no-disponible{background:#f44336e6;color:#fff}.cantidad-badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;font-size:11px;font-weight:600;padding:6px 12px;white-space:nowrap}.cantidad-badge.pocas{animation:pulse 2s infinite;background:#ff9800e6;color:#fff}.cantidad-badge.medias{background:#ffc107e6;color:#333}.cantidad-badge.muchas{background:#4caf50e6;color:#fff}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.product-info{padding:16px}.product-info h3{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#fff;display:-webkit-box;font-size:18px;font-weight:600;margin:0 0 8px;overflow:hidden;text-overflow:ellipsis}.product-specs{color:#ffffffb3;font-size:14px;margin:4px 0}.product-price{color:#64b5f6;font-size:24px;font-weight:700;margin:8px 0}.product-estado{color:#fff9;font-size:13px;margin:4px 0}@media (max-width:768px){.product-image{height:180px}.no-image{font-size:50px}.product-info h3{font-size:16px}.product-price{font-size:20px}.badge{font-size:11px;padding:5px 10px}.cantidad-badge{font-size:10px;padding:5px 10px}}@media (max-width:480px){.product-image{height:160px}.product-info{padding:12px}.product-info h3{font-size:15px}.product-specs{font-size:13px}.product-price{font-size:18px}.product-estado{font-size:12px}}.add-product-modal{max-height:90vh;max-width:800px;overflow-y:auto}.modal-header{align-items:center;background:linear-gradient(135deg,#1e3a5f,#2c5282);border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding:20px 30px;position:-webkit-sticky;position:sticky;top:0;z-index:10}.modal-header h2{color:#fff;font-size:24px;margin:0}.add-product-modal form{padding:30px}.form-section{margin-bottom:30px}.form-section h3{color:#fff;font-size:18px;margin:0 0 15px}.image-upload-area{min-height:200px}.upload-label{cursor:pointer;display:block}.upload-placeholder{background:#0003;border:2px dashed #ffffff4d;border-radius:12px;padding:40px;text-align:center;transition:all .3s}.upload-placeholder:hover{background:#64b5f61a;border-color:#64b5f6}.upload-placeholder p{color:#ffffffb3;margin:10px 0 0}.image-previews{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.preview-item{aspect-ratio:1;background:#0003;border-radius:8px;overflow:hidden;position:relative}.preview-item img{height:100%;object-fit:cover;width:100%}.remove-image{align-items:center;background:#f44336e6;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:16px;height:28px;justify-content:center;position:absolute;right:5px;top:5px;transition:all .2s;width:28px}.remove-image:hover{background:#f44336;transform:scale(1.1)}.add-more{align-items:center;aspect-ratio:1;background:#0003;border:2px dashed #ffffff4d;border-radius:8px;cursor:pointer;display:flex;font-size:40px;justify-content:center;transition:all .3s}.add-more:hover{background:#64b5f61a;border-color:#64b5f6}.form-row{grid-gap:15px;display:grid;gap:15px;grid-template-columns:1fr 1fr}.form-group,.form-row{margin-bottom:15px}.form-group label{color:#e3f2fd;display:block;font-size:14px;font-weight:500;margin-bottom:8px}.form-group input,.form-group select,.form-group textarea{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;box-sizing:border-box;color:#fff;font-size:16px;padding:12px 16px;transition:all .3s;width:100%}.form-group input::placeholder,.form-group textarea::placeholder{color:#ffffff80}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{background:#ffffff26;border-color:#64b5f6;box-shadow:0 0 0 3px #64b5f61a;outline:none}.form-group select{cursor:pointer}.form-group textarea{font-family:inherit;resize:vertical}.error-message{background:#f4433633;border:1px solid #f443364d;border-radius:8px;color:#ff6b6b;margin-bottom:20px;padding:12px;text-align:center}.form-actions{display:flex;gap:15px;margin-top:30px}.form-actions button{border:none;border-radius:8px;cursor:pointer;flex:1 1;font-size:16px;font-weight:600;padding:14px;transition:all .2s}.form-actions button:first-child{background:#ffffff1a;border:1px solid #fff3;color:#fff}.form-actions button:first-child:hover:not(:disabled){background:#fff3}.btn-submit{background:linear-gradient(135deg,#4caf50,#45a049);color:#fff}.btn-submit:hover:not(:disabled){box-shadow:0 4px 12px #4caf5066;transform:translateY(-2px)}.form-actions button:disabled{cursor:not-allowed;opacity:.6}@media (max-width:768px){.add-product-modal{border-radius:0;max-height:100vh;max-width:100%}.modal-header{padding:15px 20px}.modal-header h2{font-size:20px}.add-product-modal form{padding:20px}.form-row{grid-template-columns:1fr}.image-previews{gap:10px;grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.form-section h3{font-size:16px}}@media (max-width:480px){.modal-header{padding:12px 15px}.modal-header h2{font-size:18px}.add-product-modal form{padding:15px}.upload-placeholder{padding:30px 20px}.image-previews{grid-template-columns:repeat(auto-fill,minmax(80px,1fr))}.form-actions{flex-direction:column}.form-actions button{width:100%}}.user-management-modal{max-height:90vh;max-width:700px;overflow-y:auto}.user-management-content{padding:20px 30px 30px}.users-header{align-items:center;display:flex;flex-wrap:wrap;gap:15px;justify-content:space-between;margin-bottom:20px}.users-header h3{color:#fff;font-size:20px;margin:0}.btn-add-user{background:linear-gradient(135deg,#4caf50,#45a049);border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:600;padding:10px 20px;transition:all .2s;white-space:nowrap}.btn-add-user:hover{box-shadow:0 4px 12px #4caf5066;transform:translateY(-2px)}.add-user-form{background:#0003;border-radius:12px;margin-bottom:25px;padding:20px}.add-user-form h4{color:#fff;font-size:16px;margin:0 0 15px}.users-list{display:flex;flex-direction:column;gap:12px}.user-card{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;display:flex;gap:15px;justify-content:space-between;padding:16px;transition:all .2s}.user-card:hover{background:#ffffff14;transform:translateY(-2px)}.user-info{flex:1 1;gap:15px;min-width:0}.user-avatar,.user-info{align-items:center;display:flex}.user-avatar{background:linear-gradient(135deg,#1976d2,#1565c0);border-radius:50%;flex-shrink:0;font-size:24px;height:50px;justify-content:center;width:50px}.user-details{flex:1 1;min-width:0}.user-details h4{color:#fff;font-size:16px;margin:0 0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.role-badge{border-radius:12px;font-size:12px;font-weight:600;padding:4px 12px;white-space:nowrap}.role-badge.admin{background:#ff980033;border:1px solid #ff98004d;color:#ffb74d}.role-badge.vendedor{background:#4caf5033;border:1px solid #4caf504d;color:#81c784}.btn-delete-user{background:#f4433633;border:1px solid #f443364d;border-radius:8px;color:#ff6b6b;cursor:pointer;flex-shrink:0;font-size:18px;height:40px;transition:all .2s;width:40px}.btn-delete-user:hover{background:#f443364d;transform:scale(1.1)}.current-user-badge{background:#2196f333;border:1px solid #2196f34d;border-radius:12px;color:#64b5f6;flex-shrink:0;font-size:12px;font-weight:600;padding:6px 16px;white-space:nowrap}.empty-state{color:#ffffff80;padding:40px}.empty-state p{font-size:16px}@media (max-width:768px){.user-management-modal{border-radius:0;max-height:100vh;max-width:100%}.user-management-content{padding:15px 20px 20px}.users-header{align-items:stretch;flex-direction:column}.users-header h3{font-size:18px}.btn-add-user{width:100%}.user-card{padding:12px}.user-avatar{font-size:22px;height:45px;width:45px}.user-details h4{font-size:15px}}@media (max-width:480px){.user-management-content{padding:12px 15px 15px}.user-card{flex-wrap:wrap}.user-info{flex:1 1 100%}.user-avatar{font-size:20px;height:40px;width:40px}.user-details h4{font-size:14px}.role-badge{font-size:11px;padding:3px 10px}.btn-delete-user{font-size:16px;height:35px;width:35px}.current-user-badge{font-size:11px;padding:5px 12px}}.dashboard{background:linear-gradient(135deg,#0a1628,#1a237e 50%,#0d47a1);min-height:100vh}.dashboard-header{background:linear-gradient(135deg,#1e3a5f,#2c5282);box-shadow:0 4px 12px #0000004d;padding:20px}.header-content{gap:10px;justify-content:space-between;margin-bottom:20px}.header-content,.header-left{align-items:center;display:flex}.header-left{flex:1 1;gap:15px;min-width:0}.header-logo{border-radius:8px;flex-shrink:0;height:50px;object-fit:contain;width:50px}.header-left>div{flex:1 1;min-width:0}.dashboard-header h1{color:#fff;font-size:24px;margin:0}.dashboard-header h1,.dashboard-header p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-header p{color:#ffffffb3;font-size:14px;margin:5px 0 0}.header-right{gap:10px}.header-right,.users-btn{align-items:center;display:flex;flex-shrink:0}.users-btn{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:24px;height:45px;justify-content:center;transition:all .2s;width:45px}.users-btn:hover{background:#fff3;transform:translateY(-2px)}.logout-btn{background:#f4433633;border:1px solid #f443364d;border-radius:8px;color:#ff6b6b;cursor:pointer;flex-shrink:0;font-weight:600;padding:10px 20px;transition:all .2s;white-space:nowrap}.logout-btn:hover{background:#f443364d;transform:translateY(-2px)}.search-bar{margin-top:20px}.search-bar input{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;box-sizing:border-box;color:#fff;font-size:16px;padding:12px 16px;width:100%}.search-bar input::placeholder{color:#ffffff80}.search-bar input:focus{background:#ffffff26;border-color:#64b5f6;outline:none}.filter-bar{align-items:center;background:#ffffff0d;gap:15px;justify-content:space-between;padding:15px 20px}.filter-bar,.filters{display:flex;flex-wrap:wrap}.filters{gap:10px}.filters button{background:#0000;border:1px solid #fff3;border-radius:20px;color:#ffffffb3;cursor:pointer;font-size:14px;padding:8px 20px;transition:all .2s;white-space:nowrap}.filters button.active{background:#1976d2;border-color:#1976d2;color:#fff}.add-btn{background:linear-gradient(135deg,#4caf50,#45a049);border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:600;padding:10px 20px;transition:all .2s;white-space:nowrap}.add-btn:hover{box-shadow:0 4px 12px #4caf5066;transform:translateY(-2px)}.products-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));padding:20px}.empty-state{color:#ffffffb3;grid-column:1/-1;padding:60px 20px;text-align:center}.empty-state p{font-size:24px;margin-bottom:20px}.empty-state button{background:#1976d2;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:12px 24px}@media (max-width:768px){.dashboard-header{padding:15px}.header-content{margin-bottom:15px}.header-logo{height:40px;width:40px}.dashboard-header h1{font-size:18px}.dashboard-header p{font-size:12px}.users-btn{font-size:20px;height:40px;width:40px}.logout-btn{font-size:14px;padding:8px 12px}.filter-bar{padding:12px 15px}.add-btn{margin-top:10px;width:100%}.products-grid{gap:15px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));padding:15px}}@media (max-width:480px){.header-left{gap:10px}.header-logo{height:35px;width:35px}.dashboard-header h1{font-size:16px}.logout-btn{font-size:12px;padding:8px 10px}.products-grid{grid-template-columns:1fr}}*{box-sizing:border-box;margin:0;padding:0}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;overflow-x:hidden}.App{min-height:100vh}input,select,textarea{font-size:16px!important}
/*# sourceMappingURL=main.1c267bfd.css.map*/