.bus-schedule-container{max-width:100%;width:100%;margin:0 auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;background-color:#f0f7ff;border-radius:20px;box-shadow:0 10px 30px rgba(0,65,255,.1);color:#1a365d;position:relative;overflow:hidden;box-sizing:border-box}.bus-schedule-container:before{content:"";position:absolute;top:0;right:0;width:150px;height:150px;background:radial-gradient(circle,rgba(59,130,246,.1) 0%,rgba(59,130,246,0) 70%);z-index:0}.bus-selection,.stop-selection{margin-bottom:20px;background-color:#fff;padding:16px;border-radius:16px;border:1px solid #e0e7ff;box-shadow:0 4px 12px rgba(0,32,128,.05);position:relative;transition:all .3s ease}.bus-selection:hover,.stop-selection:hover{box-shadow:0 6px 16px rgba(0,32,128,.1);transform:translateY(-2px)}.bus-schedule-container label{display:block;margin-bottom:12px;font-weight:600;color:#1e40af;font-size:16px;padding-left:26px;position:relative}.bus-schedule-container select{width:100%;padding:14px 16px;border:1px solid #bfdbfe;border-radius:12px;background-color:#f8fafc;font-size:16px;color:#1e293b;box-shadow:0 1px 2px rgba(0,32,128,.05);transition:all .3s ease;appearance:none;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%233b82f6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');background-repeat:no-repeat;background-position:right 12px center;background-size:16px}.bus-schedule-container select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.25);transform:translateY(-1px)}.schedule-display{margin-top:0;border-top-left-radius:0;border-top-right-radius:0;padding:20px;background-color:#fff;border:1px solid #e0e7ff;border-radius:16px;box-shadow:0 8px 20px rgba(0,32,128,.08);position:relative;overflow:hidden;transition:all .3s ease}.schedule-display:before{content:"";position:absolute;top:0;left:0;width:100%;height:6px;background:linear-gradient(90deg,#3b82f6,#60a5fa,#93c5fd);border-radius:6px 6px 0 0}.schedule-title{margin-top:10px;margin-bottom:20px;font-size:18px;color:#1e40af;text-align:center;display:block;font-weight:600;line-height:1.4}.schedule-title i{vertical-align:middle;margin-right:8px;display:inline-block;color:#3b82f6}.day-schedule{margin-top:0;border-top-left-radius:0;border-top-right-radius:0;margin-bottom:20px;background-color:#f8fafc;border-radius:14px;padding:16px;box-shadow:0 2px 6px rgba(0,32,128,.05);border:1px solid #e0e7ff;transition:all .3s ease}.day-schedule:hover{box-shadow:0 4px 12px rgba(0,32,128,.1);transform:translateY(-2px)}.day-schedule h4{margin-top:0;margin-bottom:15px;color:#1e40af;border-bottom:1px solid #e0e7ff;padding-bottom:10px;font-size:16px;display:flex;align-items:center;font-weight:600}.day-schedule h4 i{margin-right:8px;color:#3b82f6}.times-list{display:flex;flex-wrap:wrap;gap:8px}.time-item{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;background-color:#dbeafe;border-radius:10px;font-size:14px;color:#1e40af;font-weight:500;transition:all .2s;border:1px solid #bfdbfe;position:relative;overflow:hidden}.time-item:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to bottom,rgba(255,255,255,.2),rgba(255,255,255,0));pointer-events:none}.time-item:hover{background-color:#bfdbfe;transform:translateY(-2px);box-shadow:0 2px 5px rgba(0,32,128,.1)}.time-item.passed{text-decoration:line-through;color:#94a3b8;background-color:#f1f5f9;border-color:#e2e8f0;opacity:.7}.time-item.upcoming{background-color:#3b82f6;color:#fff;border-color:#2563eb;font-weight:600;box-shadow:0 2px 8px rgba(37,99,235,.3);animation:pulse 2s infinite}@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(59,130,246,.4)}70%{box-shadow:0 0 0 6px rgba(59,130,246,0)}100%{box-shadow:0 0 0 0 rgba(59,130,246,0)}}.loading-indicator{text-align:center;padding:20px;font-style:italic;color:#64748b;display:flex;align-items:center;justify-content:center;gap:10px;background-color:rgba(255,255,255,.8);border-radius:12px;box-shadow:0 4px 12px rgba(0,32,128,.1);margin:20px 0}.loading-indicator i{animation:spin 1s linear infinite;color:#3b82f6}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.active-selection{background-color:#eff6ff;border-color:#93c5fd;box-shadow:0 0 0 2px rgba(59,130,246,.3)}.switching-direction{opacity:.7;transition:opacity .3s ease}.direction-switch-container{margin:20px 0;text-align:center}.direction-switch-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;background-color:#3b82f6;border:none;border-radius:12px;color:#fff;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px rgba(59,130,246,.3);position:relative;overflow:hidden}.direction-switch-btn:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to bottom,rgba(255,255,255,.2),rgba(255,255,255,0));pointer-events:none}.direction-switch-btn:hover{background-color:#2563eb;box-shadow:0 6px 16px rgba(37,99,235,.4);transform:translateY(-2px)}.direction-switch-btn:active{transform:scale(.98) translateY(0);background-color:#1d4ed8;box-shadow:0 2px 8px rgba(37,99,235,.3)}.direction-switch-btn i{margin-right:8px;transition:transform .3s ease}.direction-switch-btn:hover i{transform:rotate(180deg)}.no-schedule{padding:30px 20px;text-align:center;color:#64748b;font-style:italic;background-color:#f8fafc;border-radius:12px;border:1px dashed #cbd5e1;margin:20px 0;position:relative}.no-schedule:before{content:"😕";display:block;font-size:24px;margin-bottom:10px}.route-direction-info{display:block;font-size:14px;color:#1e40af;margin-top:5px;font-weight:500;background-color:#dbeafe;padding:6px 12px;border-radius:8px;border:1px solid #bfdbfe;text-align:center;width:fit-content;margin:8px auto 0;box-shadow:0 2px 4px rgba(0,32,128,.05)}.next-departures-container{margin:20px 0;padding:16px;background-color:#e0f2fe;border-radius:14px;border:1px solid #93c5fd;box-shadow:0 4px 12px rgba(0,32,128,.08);position:relative}.next-departures-container h4{margin-top:0;margin-bottom:15px;color:#0c4a6e;font-size:18px;font-weight:600;display:flex;align-items:center;justify-content:center}.next-departures-container h4 i{margin-right:8px;color:#0284c7}.next-departures-list{display:flex;flex-direction:column;gap:10px}.next-departure-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background-color:#fff;border-radius:10px;border:1px solid #bae6fd;box-shadow:0 2px 6px rgba(0,32,128,.05);transition:all .3s ease;flex-wrap:wrap;gap:8px}.next-departure-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,32,128,.1)}.next-departure-time{font-size:18px;font-weight:700;color:#0c4a6e;min-width:60px}.next-departure-minutes{font-size:14px;color:#0369a1;background-color:#f0f9ff;padding:4px 10px;border-radius:20px;font-weight:500;flex-grow:1;text-align:right;white-space:nowrap}.next-departure-minutes.urgent{background-color:#fee2e2;color:#b91c1c;animation:pulse-red 2s infinite}.next-departure-minutes.soon{background-color:#fef3c7;color:#92400e}@keyframes pulse-red{0%{box-shadow:0 0 0 0 rgba(185,28,28,.4)}70%{box-shadow:0 0 0 6px rgba(185,28,28,0)}100%{box-shadow:0 0 0 0 rgba(185,28,28,0)}}.schedule-tabs{display:flex;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;margin:0;padding:0;scrollbar-width:thin;scrollbar-color:#3b82f6 #dbeafe;background-color:#f8fafc;border-top-left-radius:16px;border-top-right-radius:16px;border:1px solid #e0e7ff;border-bottom:none;width:100%}.schedule-tabs::-webkit-scrollbar{height:4px}.schedule-tabs::-webkit-scrollbar-track{background:#dbeafe;border-radius:10px}.schedule-tabs::-webkit-scrollbar-thumb{background-color:#3b82f6;border-radius:10px}.schedule-tab{display:flex;align-items:center;justify-content:center;padding:12px 16px;margin:0;background-color:#f8fafc;border:none;border-right:1px solid #e0e7ff;border-radius:0;color:#1e40af;font-weight:500;font-size:14px;cursor:pointer;transition:all .3s ease;white-space:nowrap;flex:1;min-width:0;text-align:center}.schedule-tab:first-child{border-top-left-radius:16px}.schedule-tab:last-child{border-right:none;border-top-right-radius:16px}.schedule-tab.active{background-color:#3b82f6;color:#fff;border-color:#2563eb;box-shadow:none}.schedule-tab:hover:not(.active){background-color:#dbeafe}.schedule-display{margin-top:0;border-top-left-radius:6;border-top-right-radius:6}.day-schedule{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}@media (min-width:769px){.schedule-tabs{display:none}.schedule-display{border-radius:16px}}@media (min-width:992px){.bus-schedule-container{padding:30px}.bus-schedule-layout{display:flex;flex-wrap:wrap;gap:20px}.bus-schedule-column{flex:1;min-width:300px}.bus-selection,.stop-selection{margin-bottom:20px}.bus-schedule-container h2{font-size:28px}.schedule-title{font-size:22px}.day-schedule h4{font-size:18px}.time-item{font-size:16px;padding:10px 14px}.times-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:10px}.next-departures-list{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.next-departure-item{height:100%}}@media (min-width:768px) and (max-width:991px){.bus-schedule-container{max-width:90%;padding:25px}.times-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:8px}.next-departures-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}}@media (max-width:767px){.bus-schedule-container{max-width:100%;padding:15px;border-radius:15px}.bus-schedule-container h2{font-size:20px}.schedule-title{font-size:16px}.time-item{padding:6px 10px;font-size:13px}.next-departures-list{flex-direction:column}}@media (max-width:480px){.bus-schedule-container{padding:12px;border-radius:12px}.bus-schedule-container h2{font-size:18px}.schedule-title{font-size:15px}.day-schedule h4{font-size:15px}.times-list{gap:6px}.time-item{padding:5px 8px;font-size:12px}.direction-switch-btn{padding:10px 16px;font-size:14px}.next-departure-item{flex-direction:column;align-items:flex-start}.next-departure-minutes{width:100%;text-align:left}}@media (max-width:768px){.schedule-tabs{display:flex}.day-schedule{margin-bottom:15px;padding:12px}}@media (max-width:480px){.schedule-tab{padding:8px 12px;font-size:12px}}.specific-days{font-size:.85em;font-weight:700;color:#555;margin-left:2px}.time-item .specific-days{display:inline-block;margin-left:2px}.next-departure-time .specific-days{font-size:.8em;color:#666}.bus-schedule-updates-container{max-width:100%;width:100%;margin:20px auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;background-color:#f8fafc;border-radius:16px;box-shadow:0 8px 20px rgba(0,32,128,.08);color:#1a365d;border:1px solid #e0e7ff}.no-updates-message{text-align:center;padding:40px 20px;background-color:#f0f9ff;border-radius:12px;border:1px dashed #93c5fd;color:#0369a1}.no-updates-message p{font-size:18px;margin:0}.updates-list{margin:20px 0}.updates-header{background-color:#eff6ff;border-radius:10px 10px 0 0;border:1px solid #bfdbfe;border-bottom:none}.update-item.header{display:grid;grid-template-columns:1fr 2fr 1fr 1.5fr 1.5fr 1.5fr;gap:15px;padding:15px;font-weight:700;color:#1e40af;background-color:#dbeafe;border-radius:10px 10px 0 0}.updates-body{border:1px solid #bfdbfe;border-top:none;border-radius:0 0 10px 10px;overflow:hidden}.update-item{display:grid;grid-template-columns:1fr 2fr 1fr 1.5fr 1.5fr 1.5fr;gap:15px;padding:15px;border-bottom:1px solid #e0e7ff;transition:background-color .3s ease}.update-item:last-child{border-bottom:none}.update-item:hover{background-color:#f8fafc}.update-bus{display:flex;align-items:center}.bus-number-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;background-color:#3b82f6;color:#fff;border-radius:20px;font-weight:700;font-size:14px;min-width:40px;text-align:center}.update-stop{display:flex;align-items:center;font-weight:500}.update-direction{display:flex;align-items:center}.direction-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase}.direction-direct{background-color:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.direction-reverse{background-color:#fef3c7;color:#92400e;border:1px solid #fde68a}.update-time{display:flex;align-items:center;gap:8px}.old-time{color:#94a3b8;text-decoration:line-through;font-size:14px}.time-arrow{color:#3b82f6;font-weight:700}.new-time{color:#059669;font-weight:700;font-size:16px;background-color:#d1fae5;padding:4px 8px;border-radius:6px}.update-day{font-size:14px;color:#475569}.update-day small{color:#64748b;font-size:12px}.update-date{font-size:14px;color:#475569}.updates-footer{margin-top:20px;padding-top:15px;border-top:1px solid #e0e7ff;text-align:center}.updates-count{color:#64748b;font-size:14px;display:flex;align-items:center;justify-content:center;gap:8px}.updates-count i{color:#3b82f6}.edit-stop-form{margin-top:10px}.edit-stop-button{margin-right:5px;margin-bottom:5px}.stop-name-display{display:block;padding:5px 0}@media (max-width:768px){.update-item.header,.update-item{grid-template-columns:1fr;gap:10px}.update-item.header>div{display:none}.update-item.header:before{content:"Последние обновления";font-size:18px;font-weight:700;color:#1e40af;padding:10px}.update-item{padding:15px;border:1px solid #e0e7ff;border-radius:8px;margin-bottom:10px}.update-bus,.update-stop,.update-direction,.update-time,.update-day,.update-date{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px solid #f1f5f9}.update-bus:before{content:"Автобус:";font-weight:600;color:#1e40af}.update-stop:before{content:"Остановка:";font-weight:600;color:#1e40af}.update-direction:before{content:"Направление:";font-weight:600;color:#1e40af}.update-time:before{content:"Время:";font-weight:600;color:#1e40af}.update-day:before{content:"Дни:";font-weight:600;color:#1e40af}.update-date:before{content:"Дата:";font-weight:600;color:#1e40af}.update-item:last-child{margin-bottom:0}}.bus-schedule-container .bus-selection label .dashicons-car:before{content:"";display:inline-block;width:20px;height:20px;background-image:url(//rasp.by/wp-content/plugins/bus-scheduleV/css/../img/bus-icon.png);background-size:contain;background-repeat:no-repeat;background-position:center;filter:brightness(0) saturate(100%) invert(31%) sepia(89%) saturate(1537%) hue-rotate(202deg) brightness(95%) contrast(93%);vertical-align:middle;position:absolute;left:0;top:2px}.bus-schedule-container .stop-selection label .dashicons-location:before{content:"";display:inline-block;width:20px;height:20px;background-image:url(//rasp.by/wp-content/plugins/bus-scheduleV/css/../img/stop-icon.png);background-size:contain;background-repeat:no-repeat;background-position:center;filter:brightness(0) saturate(100%) invert(31%) sepia(89%) saturate(1537%) hue-rotate(202deg) brightness(95%) contrast(93%);vertical-align:middle;position:absolute;left:0;top:2px}@media (max-width:767px){.bus-schedule-container .bus-selection label .dashicons-car:before,.bus-schedule-container .stop-selection label .dashicons-location:before{width:18px;height:18px;top:3px}}@media (max-width:480px){.bus-schedule-container .bus-selection label .dashicons-car:before,.bus-schedule-container .stop-selection label .dashicons-location:before{width:16px;height:16px;top:4px}}.error-message{background-color:#fee2e2;color:#b91c1c;padding:12px 16px;border-radius:8px;margin:10px 0;border:1px solid #fecaca;display:none}.error-message:before{content:"⚠️ ";margin-right:8px}#bus-select optgroup{font-weight:700;color:#1e40af;background-color:#f0f7ff}#bus-select optgroup option{font-weight:400;color:#1e293b;padding-left:20px}#bus-select optgroup option:hover{background-color:#dbeafe}.wp-list-table tr.group-header{background-color:#f0f7ff !important}.wp-list-table tr.group-header td{font-weight:700;color:#1e40af;border-bottom:2px solid #bfdbfe}.wp-list-table tr.indented-row td:first-child{padding-left:30px}@media (max-width:768px){.bus-schedule-container select,.bus-schedule-container optgroup,.bus-schedule-container option{font-size:14px}}@media (max-width:480px){.bus-schedule-container select,.bus-schedule-container optgroup,.bus-schedule-container option{font-size:12px}}