.dashboard-container{padding: 60px 0;min-height: calc(100vh - 200px);}
.dashboard-sidebar{background: #ffffff;border-radius: 12px;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);padding: 0;position: sticky;top: 180px;}
.dashboard-sidebar .nav-link{padding: 16px 24px;color: #2d3748;text-decoration: none;display: flex;align-items: center;gap: 12px;border-left: 3px solid transparent;transition: all 0.2s ease;font-weight: 500;}
.dashboard-sidebar .nav-link:hover{background-color: #f8f9fa;border-left-color: #007bff;color: #007bff;}
.dashboard-sidebar .nav-link.active{background-color: #e7f3ff;border-left-color: #007bff;color: #007bff;font-weight: 600;}
.dashboard-sidebar .nav-link i{font-size: 18px;}
.dashboard-content{background: #ffffff;border-radius: 12px;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);padding: 40px;}
.dashboard-welcome{margin-bottom: 40px;}
.dashboard-welcome h2{font-size: 32px;font-weight: 700;color: #2d3748;margin-bottom: 12px;}
.dashboard-welcome p{color: #718096;font-size: 16px;}
.quick-links{display: grid;grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));gap: 20px;margin-top: 40px;}
.quick-link-card{background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);border-radius: 12px;padding: 30px 20px;text-align: center;text-decoration: none;transition: all 0.3s ease;border: 2px solid transparent;}
.quick-link-card:hover{transform: translateY(-4px);box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);border-color: #007bff;text-decoration: none;}
.quick-link-card i{font-size: 40px;margin-bottom: 16px;display: block;background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;background-clip: text;}
.quick-link-card h5{color: #2d3748;font-weight: 600;margin-bottom: 8px;font-size: 18px;}
.quick-link-card p{color: #718096;font-size: 14px;margin: 0;}
@media (max-width: 991px){.dashboard-sidebar{position: static;margin-bottom: 30px;} .quick-links{grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 576px){.quick-links{grid-template-columns: 1fr;} .dashboard-content{padding: 24px;}}
.ordine-row{cursor: pointer;transition: background 0.2s;}
.ordine-row:hover{background-color: #f8f9fa !important;}
.storico-row{cursor: pointer;transition: background 0.2s;}
.storico-row:hover{background-color: #f8f9fa !important;}
.drop-zone{border: 2px dashed #adb5bd;border-radius: 8px;padding: 40px 20px;text-align: center;color: #6c757d;cursor: pointer;transition: border-color 0.2s, background 0.2s;background: #f8f9fa;}
.drop-zone.drag-over{border-color: #206bc4;background: #eef4fb;color: #206bc4;}
.drop-zone i{font-size: 2.5rem;display: block;margin-bottom: 12px;opacity: 0.5;}
.upload-progress{display: none;margin-top: 12px;}
.doc-thumb{width: 48px;height: 48px;object-fit: cover;border-radius: 4px;}
.doc-icon{width: 48px;height: 48px;display: flex;align-items: center;justify-content: center;background: #f0f0f0;border-radius: 4px;font-size: 1.4rem;}
.doc-select-input{max-width: 180px;}
.detail-preview{width: 80px;height: 60px;object-fit: cover;cursor: pointer;border-radius: 6px;background: #fff;}
.storico-item-card{border: 1px solid #e9ecef;border-radius: 8px;overflow: hidden;transition: box-shadow 0.2s;position: relative;}
.storico-item-card:hover{box-shadow: 0 4px 16px rgba(0,0,0,0.10);}
.storico-item-card img{width: 100%;height: 200px;object-fit: contain;background: #f8f9fa;padding: 8px;display: block;}
.storico-item-card .card-footer{padding: 0.5rem;background: #fff;text-align: center;}
#lightbox-overlay{display: none;position: fixed;inset: 0;background: rgba(0,0,0,0.88);z-index: 9999;align-items: center;justify-content: center;}
#lightbox-overlay.active{display: flex;}
#lightbox-overlay img{max-width: 92vw;max-height: 92vh;object-fit: contain;border-radius: 4px;box-shadow: 0 8px 40px rgba(0,0,0,0.6);}
#lightbox-close{position: absolute;top: 1.2rem;right: 1.5rem;color: #fff;font-size: 2rem;cursor: pointer;line-height: 1;opacity: 0.8;transition: opacity 0.15s;background: none;border: none;padding: 0;}
#lightbox-close:hover{opacity: 1;}
.placeholder-img-fallback{height: 200px;color: #adb5bd;}
.tracking-badge-active{background-color: #e9f5ff;color: #206bc4;font-size: 0.85rem;padding: 0.5rem 0.75rem;}
.tracking-badge-inactive{background-color: #f0f0f0;color: #666;font-size: 0.85rem;padding: 0.5rem 0.75rem;}
