*{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.liza-login-wrapper{display:flex;justify-content:center;align-items:center;min-height:70vh;padding:40px 20px;background:#f3f4f6;box-sizing:border-box}.liza-login-box{max-width:400px;width:100%;padding:40px 32px;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a,0 10px 15px #0000000d;box-sizing:border-box;text-align:center}.liza-login-logo{display:flex;justify-content:center;margin:0 0 20px}.liza-login-logo img{max-width:180px;max-height:72px;width:auto;height:auto;object-fit:contain}.liza-login-box h2{margin:0 0 8px;color:#1f2937;text-align:center;font-size:22px;font-weight:600}.liza-login-shopname,.liza-login-box>p{text-align:center;color:#6b7280;margin:0 0 24px;font-size:15px;line-height:1.5}.liza-login-form{text-align:left;margin:0}.liza-login-form p{margin:0 0 16px}.liza-login-form label{display:block;margin:0 0 6px;font-weight:500;color:#1f2937;font-size:14px;text-align:left}.liza-login-form input[type=text],.liza-login-form input[type=password]{display:block;width:100%;max-width:100%;padding:12px 14px;border:1px solid #D1D5DB;border-radius:8px;font-size:16px;line-height:1.4;background:#f9fafb;box-sizing:border-box;transition:border-color .2s ease,background .2s ease}.liza-login-form input[type=text]:focus,.liza-login-form input[type=password]:focus{outline:none;border-color:#0f766e;background:#fff;box-shadow:0 0 0 3px #0f766e1a}.liza-login-submit,.liza-login-cta{margin:8px 0 0!important}.liza-login-lost{margin:20px 0 0!important;font-size:13px}.liza-login-lost a{color:#0f766e;text-decoration:none}.liza-login-lost a:hover{text-decoration:underline}.liza-login-already{text-align:center;padding:40px 20px}.remember-me label{display:flex;align-items:center;font-weight:400;cursor:pointer;color:#374151;font-size:14px}.remember-me input[type=checkbox]{margin-right:10px;width:auto;cursor:pointer}.liza-login-button{display:block;width:100%;box-sizing:border-box;padding:14px 16px;background:#1f2937;color:#fff!important;border:none;border-radius:8px;font-size:15px;font-weight:600;text-align:center;text-decoration:none!important;cursor:pointer;transition:background .2s ease,box-shadow .2s ease}.liza-login-button:hover,.liza-login-button:focus{background:#111827;color:#fff!important;box-shadow:0 4px 6px #0000001a}a.liza-login-button{display:block;width:100%}.login-error{padding:14px 16px;background:#fee2e2;border-left:4px solid #DC2626;color:#7f1d1d;margin-bottom:20px;border-radius:6px;font-size:14px}.login-success{padding:14px 16px;background:#ecfdf5;border-left:4px solid #10B981;color:#065f46;margin-bottom:20px;border-radius:6px;font-size:14px}.login-messages{min-height:20px}.liza-login-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 480px){.liza-login-wrapper{min-height:60vh;padding:24px 16px}.liza-login-box{padding:28px 20px}.liza-login-logo img{max-width:140px;max-height:56px}}.liza-access-denied{text-align:center;padding:80px 20px}.liza-access-denied p{font-size:16px;color:#6b7280;margin-bottom:24px}.liza-access-denied a{color:#0f766e;text-decoration:none;font-weight:500;transition:color .2s ease}.liza-access-denied a:hover{color:#134e4a;text-decoration:underline}.liza-driver-dashboard{max-width:1200px;margin:0 auto;padding:24px}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid #E5E7EB}.dashboard-header h2{margin:0;color:#1f2937;font-size:28px;font-weight:700}.header-controls,.date-selector{display:flex;align-items:center;gap:16px}.date-selector input[type=date]{padding:10px 14px;border:1px solid #D1D5DB;border-radius:8px;font-size:14px;background:#f9fafb;color:#1f2937;transition:border-color .2s ease}.date-selector input[type=date]:focus{outline:none;border-color:#0f766e}.delivery-count{padding:8px 14px;background:#f3f4f6;color:#1f2937;border-radius:6px;font-size:13px;font-weight:600}.btn-logout{padding:10px 18px;background:#6b7280;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-logout:hover{background:#4b5563;box-shadow:0 2px 4px #0000001a}.btn-logout:disabled{background:#d1d5db;cursor:not-allowed}.dashboard-footer{margin-top:80px;padding:32px 24px;text-align:center;border-top:1px solid #E5E7EB;background:#f9fafb;border-radius:10px}.dashboard-footer p{margin:0;color:#6b7280;font-size:13px;line-height:1.6}.delivery-map{width:100%;height:500px;margin-bottom:32px;border-radius:10px;box-shadow:0 1px 3px #0000001a,0 4px 6px #0000000d}.deliveries-list{display:grid;gap:20px}.no-deliveries{text-align:center;padding:80px 24px;background:#f9fafb;border-radius:10px;border:1px solid #E5E7EB}.no-deliveries p{margin:0;color:#6b7280;font-size:15px}.delivery-item{background:#fff;border:1px solid #E5E7EB;border-radius:10px;overflow:hidden;transition:all .2s ease}.delivery-item:hover{box-shadow:0 1px 3px #0000001a,0 10px 15px #0000000d;border-color:#d1d5db}.delivery-item.delivered{opacity:.75;background:#f9fafb}.delivery-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;background:#f9fafb;border-bottom:1px solid #E5E7EB}.delivery-header h3{margin:0;font-size:16px;font-weight:600;color:#1f2937}.order-status{padding:6px 12px;border-radius:6px;font-size:12px;font-weight:600}.status-pending{background:#fef3c7;color:#92400e}.status-delivered{background:#ecfdf5;color:#065f46}.delivery-content{padding:24px;display:grid;gap:24px}.delivery-address address{font-style:normal;line-height:1.6;color:#374151;margin:10px 0 0;font-size:14px}.customer-phone{margin-top:12px}.customer-phone a{color:#0f766e;text-decoration:none;font-weight:500;font-size:14px;transition:color .2s ease}.customer-phone a:hover{color:#134e4a}.delivery-items ul{margin:10px 0 0 20px;padding:0}.delivery-items li{color:#374151;line-height:1.8;font-size:14px}.delivery-note{padding:16px;background:#fef3c7;border-left:4px solid #F59E0B;border-radius:8px}.delivery-note p{margin:5px 0 0;color:#78350f;font-size:14px}.customer-note{padding:16px;background:#ecfdf5;border-left:4px solid #10B981;border-radius:8px;margin-top:12px}.customer-note strong{display:block;margin-bottom:10px;color:#065f46;font-size:14px}.customer-note .note-item{margin:8px 0 0;padding:10px;background:#fff;border-radius:6px;color:#065f46;line-height:1.5;font-size:13px}.customer-note .note-item:first-of-type{margin-top:0}.delivery-actions{padding:24px;background:#f9fafb;border-top:1px solid #E5E7EB}.mark-delivered-btn{width:100%;padding:12px 20px;background:#dc2626!important;color:#fff!important;border:none;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s ease}.mark-delivered-btn:hover{background:#b91c1c!important;box-shadow:0 4px 6px #0000001a}.mark-delivered-btn:disabled{background:#d1d5db!important;cursor:not-allowed}.mark-delivered-btn.delivered{background:#10b981!important}.delivered-info{text-align:center;color:#065f46;font-weight:500;margin:0;font-size:14px}.delivery-status-message{margin-top:12px;text-align:center;font-size:14px}.delivery-status-message .success{color:#10b981}.delivery-status-message .error{color:#dc2626}@media (max-width: 768px){.liza-driver-dashboard{padding:10px}.dashboard-header{flex-direction:column;align-items:flex-start;gap:15px}.dashboard-header h2{font-size:22px}.header-controls{width:100%;flex-direction:column;gap:10px}.date-selector{width:100%;justify-content:space-between}.btn-logout{width:100%;padding:10px}.delivery-map{height:300px}.delivery-header{flex-direction:column;align-items:flex-start;gap:10px}.delivery-content{padding:15px}.dashboard-footer{margin-top:40px;padding:20px 10px}.dashboard-footer p{font-size:12px}}.delivery-item.loading{opacity:.6;pointer-events:none}.delivery-item.loading .mark-delivered-btn{background:#ccc}@keyframes fadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-20px)}}.delivery-item.fade-out{animation:fadeOut .5s forwards}.login-success{padding:12px;background:#e8f5e9;border-left:4px solid #4caf50;color:#2e7d32;margin-bottom:20px;border-radius:4px}.login-messages{margin-bottom:15px}.liza-login-button .button-loading{display:none}.liza-login-button:disabled{opacity:.7;cursor:not-allowed}.sender-info h4,.order-products h4{font-size:15px;color:#444;margin-bottom:6px}.sender-info p,.order-products ul{font-size:14px;color:#333;line-height:1.5}.delivery-item{position:relative}.drag-handle{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:20px;color:#d1d5db;cursor:move;cursor:grab;user-select:none;padding:10px;line-height:1;transition:color .2s ease}.drag-handle:active{cursor:grabbing;color:#9ca3af}.delivery-item{padding-left:50px}.ui-sortable-helper{box-shadow:0 10px 25px #00000026;transform:scale(1.01)}.delivery-item-placeholder{background:#f0f9ff;border:2px dashed #0F766E;height:200px;margin-bottom:16px;border-radius:10px}.next-stop-container{margin-bottom:32px}.next-stop-card{background:linear-gradient(135deg,#1f2937,#374151);color:#fff;padding:28px;border-radius:10px;box-shadow:0 4px 6px #0000001a,0 10px 15px #0000000d}.next-stop-card h3{margin:0 0 18px;font-size:18px;font-weight:600;color:#fff!important}.next-stop-details{display:grid;gap:12px}.next-stop-name{font-size:16px;font-weight:600;margin:0;color:#fff}.next-stop-address{font-size:14px;opacity:.9;margin:0;color:#fff}.btn-start-navigation{display:inline-block;padding:11px 22px;background:#fff;color:#1f2937;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;text-decoration:none;margin-top:14px}.btn-start-navigation:hover{box-shadow:0 4px 12px #00000026}.route-controls{display:flex;align-items:center;gap:16px;margin-bottom:32px;padding:20px 24px;background:#f9fafb;border-radius:10px;border:1px solid #E5E7EB}.btn-optimize-route{padding:11px 22px;background:#1f2937;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-optimize-route:hover{background:#111827;box-shadow:0 4px 6px #0000001a}.btn-optimize-route:disabled{background:#d1d5db;cursor:not-allowed}.optimization-status{font-size:13px;font-weight:500;color:#6b7280}.timeslot-group{margin-bottom:28px;border-radius:10px;overflow:hidden;background:#fff;border:1px solid #E5E7EB;transition:all .2s ease}.timeslot-group:hover{box-shadow:0 1px 3px #0000001a,0 4px 6px #0000000d}.timeslot-header{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;background:#f9fafb;border-bottom:2px solid #0F766E;transition:all .2s ease}.timeslot-info{display:flex;align-items:center;gap:12px}.timeslot-icon{font-size:22px;line-height:1;opacity:.8}.timeslot-label{font-size:16px;font-weight:700;color:#1f2937}.timeslot-count{font-size:13px;font-weight:600;color:#6b7280;background:#e5e7eb;padding:4px 12px;border-radius:12px}.timeslot-deadline{font-size:13px;font-weight:600;color:#6b7280}.timeslot-items{padding:16px;min-height:60px;background:#fafbfc}.timeslot-items:empty:after{content:"Keine Lieferungen in diesem Zeitfenster";display:block;text-align:center;color:#95a5a6;font-style:italic;padding:20px}.position-badge{position:absolute;top:14px;right:14px;background:#0f766e;color:#fff;font-size:12px;font-weight:700;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0f766e4d;z-index:5;transition:all .2s ease}.delivery-item:hover .position-badge{transform:scale(1.08);box-shadow:0 4px 8px #0f766e4d}.delivery-item.flexible-item{border:2px dashed #D1D5DB!important;background:linear-gradient(135deg,#fff,#f9fafb)}.delivery-item.flexible-item:before{content:"";position:absolute;top:12px;left:50px;font-size:18px;opacity:.6}.delivery-item.flexible-item:hover{border-color:#9ca3af!important;background:linear-gradient(135deg,#fff,#f3f4f6)}.timeslot-items .delivery-item-placeholder{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border:2px dashed #2196f3;margin-bottom:15px;border-radius:8px;height:180px}.timeslot-items .delivery-item{margin-bottom:15px;position:relative}.timeslot-items .delivery-item:last-child{margin-bottom:0}.timeslot-group[data-timeslot=morgens] .timeslot-header{border-bottom-color:#0f766e}.timeslot-group[data-timeslot=morgens] .timeslot-deadline{color:#1f2937}.timeslot-group[data-timeslot=mittags] .timeslot-header{border-bottom-color:#0f766e}.timeslot-group[data-timeslot=mittags] .timeslot-deadline{color:#1f2937}.timeslot-group[data-timeslot=abends] .timeslot-header{border-bottom-color:#0f766e}.timeslot-group[data-timeslot=abends] .timeslot-deadline{color:#1f2937}.timeslot-group[data-timeslot=ganztaegig] .timeslot-header{border-bottom-color:#0f766e}.timeslot-group[data-timeslot=ganztaegig] .timeslot-deadline{color:#1f2937}@media (max-width: 768px){.timeslot-header{flex-direction:column;align-items:flex-start;gap:10px;padding:14px 16px}.timeslot-info{gap:8px}.timeslot-label{font-size:16px}.timeslot-icon{font-size:20px}.timeslot-count{font-size:12px;padding:3px 10px}.timeslot-deadline{font-size:13px;align-self:flex-end}.timeslot-items{padding:10px}.position-badge{width:28px;height:28px;font-size:12px;top:10px;right:10px}.delivery-item.flexible-item:before{font-size:16px;left:42px;top:10px}}@keyframes timeslot-highlight{0%,to{background:#fff}50%{background:#f0fffe}}.timeslot-group.highlight .timeslot-header{animation:timeslot-highlight 1s ease}@media (max-width: 768px){.delivery-item{padding-left:44px}.drag-handle{top:22px;left:8px;transform:none;font-size:20px}.next-stop-card{padding:20px}.next-stop-card h3{font-size:18px}.next-stop-name{font-size:16px;color:#fff!important}.next-stop-address{font-size:14px;color:#fff!important}.route-controls{flex-direction:column;align-items:stretch}.btn-optimize-route{width:100%}}.driver-note-form{animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.driver-note-form label{transition:color .2s ease}.driver-note-input{transition:border-color .2s ease,box-shadow .2s ease}.driver-note-input:focus{outline:none;border-color:#787878!important;box-shadow:0 0 0 3px #7878781a}.btn-select-photo{transition:all .3s ease}.btn-select-photo:hover{background:#111827!important;box-shadow:0 4px 6px #0000001a}.btn-select-photo:active{transform:scale(.98)}.photo-preview{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.photo-preview img{transition:transform .2s ease;border-radius:8px;box-shadow:0 1px 3px #0000001a}.photo-preview img:hover{transform:scale(1.01)}.btn-remove-photo{transition:all .2s ease;background:#dc2626}.btn-remove-photo:hover{background:#b91c1c;box-shadow:0 2px 4px #0000001a}.btn-save-note{transition:all .2s ease}.btn-save-note:hover{background:#111827!important;box-shadow:0 4px 6px #0000001a}.btn-save-note:disabled{opacity:.5;cursor:not-allowed}.note-save-status{font-weight:500;transition:all .2s ease;font-size:13px;color:#6b7280}.driver-note-display{animation:slideIn .3s ease;padding:16px;background:#ecfdf5;border-left:4px solid #10B981;border-radius:8px}.driver-note-display strong{display:block;margin-bottom:8px;color:#065f46;font-size:14px}.driver-note-display a{transition:color .2s ease;color:#0f766e}.driver-note-display a:hover{color:#134e4a!important}@media (max-width: 768px){.driver-note-form{padding:12px}.driver-note-input{font-size:16px}.btn-select-photo,.btn-save-note{width:100%;text-align:center}.photo-preview img{max-width:100%}}.liza-call-customer-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;background:#1f2937;color:#fff!important;border-radius:8px;text-decoration:none!important;font-weight:600;font-size:14px;min-height:48px;transition:all .2s ease;border:none;cursor:pointer;box-shadow:0 1px 2px #0000000d}.liza-call-customer-btn:hover{background:#111827;box-shadow:0 4px 6px #0000001a;transform:translateY(-1px)}.liza-call-customer-btn:active{transform:translateY(0)}@media (max-width: 768px){.liza-call-customer-btn{flex:1;width:100%;margin-top:4px}}.delivery-links{display:flex;flex-direction:column;gap:8px;margin:8px 0 0}.btn-navigation,.delivery-links .liza-call-customer-btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:48px;margin:0;padding:12px 16px;background:#1f2937;color:#fff!important;border-radius:8px;text-decoration:none!important;font-weight:600;font-size:16px;line-height:1.2}.delivery-header{padding-right:56px}.delivery-details{padding:16px 16px 16px 0}.status-badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap}.status-badge.pending{background:#fef3c7;color:#92400e}.status-badge.delivered{background:#ecfdf5;color:#065f46}@media (max-width: 768px){.delivery-header{gap:8px;padding:14px 52px 14px 12px}.delivery-header h3{font-size:16px}.delivery-details{padding:14px 12px 14px 0}}a.btn-logout{display:inline-flex;align-items:center;text-decoration:none;color:inherit;box-sizing:border-box}
