*{margin:0;padding:0;box-sizing:border-box}input,textarea,select{background-color:#fff!important;color:#2c3e50!important;border:2px solid #bdc3c7;border-radius:5px;font-size:1rem;font-family:inherit}input:focus,textarea:focus,select:focus{outline:none;border-color:#3498db;background-color:#fff!important;color:#2c3e50!important}input:disabled,textarea:disabled,select:disabled{background-color:#ecf0f1!important;color:#7f8c8d!important;cursor:not-allowed;opacity:.7}input::placeholder,textarea::placeholder{color:#95a5a6!important;opacity:1}body{background-color:#f5f5f5;font-family:Verdana,sans-serif;color:#2c3e50}table,table td,table th,table tr,td,th,tbody td,tbody th,thead td,thead th{color:#2c3e50!important}p,span,div,h1,h2,h3,h4,h5,h6,label,li{color:#2c3e50}a{color:#3498db}a:hover{color:#2980b9}.header{background-color:#90b8e0;color:#fff;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 5px #0000001a}.logo{font-size:1.5rem;font-weight:700}.auth-icon{background:none;border:none;color:#fff;font-size:1.2rem;cursor:pointer;padding:.2rem;border-radius:50%;transition:background-color .3s}.auth-icon:hover{background-color:#ffffff1a}.main-content{padding:2rem;max-width:1380px;margin:0 auto}.video-section{background:#fff;border-radius:10px;padding:1.5rem;box-shadow:0 2px 10px #0000001a;margin-bottom:2rem}.video-title{margin-bottom:1rem;color:#2c3e50}.video-container{position:relative;width:100%;height:600px;background-color:#000;border-radius:8px;overflow:hidden;margin-bottom:1rem}.video-placeholder{width:100%;height:100%;background:linear-gradient(45deg,#333,#555);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.2rem}.video-controls{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.left-controls{display:flex;gap:.5rem;flex-wrap:nowrap}#parkingImage{object-fit:contain;width:100%;height:100%}.video-btn{background-color:#3498db;color:#fff;border:none;padding:.8rem 1.2rem;border-radius:5px;cursor:pointer;font-size:1rem;font-weight:700;transition:background-color .3s;white-space:nowrap}.video-btn:hover{background-color:#2980b9}.sidebar-toggle{background-color:#27ae60;color:#fff;border:none;padding:.8rem 1.5rem;border-radius:5px;cursor:pointer;font-size:1rem;font-weight:700;transition:background-color .3s;white-space:nowrap}.sidebar-toggle:hover{background-color:#219a52}.parking-info{display:flex;justify-content:space-between;margin-bottom:1rem;padding:1rem;background-color:#f8f9fa;border-radius:8px}.parking-stats{font-size:1.1rem;color:#2c3e50}.legend{display:flex;gap:1.5rem;align-items:center}.parking-details{margin-bottom:1rem;background-color:#fff;border-radius:8px;padding:1rem;box-shadow:0 2px 8px #0000000d;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem}.parking-details p{color:#2c3e50;font-size:.95rem}.parking-details span{font-weight:700;color:#1f4f7c}.legend-item{display:flex;align-items:center;gap:.5rem}.color-box{width:20px;height:20px;border-radius:3px}.free{background-color:#27ae60}.occupied{background-color:#e74c3c}.sidebar{position:fixed;top:0;right:-400px;width:400px;height:100vh;background-color:#fff;box-shadow:-2px 0 10px #0000001a;transition:right .3s ease;z-index:1000;padding:2rem}.sidebar.active{right:0}.sidebar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid #eee}.sidebar-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#666}.sidebar-content h3{margin-bottom:1rem;color:#2c3e50}.parking-list{list-style:none}.parking-list li{padding:.8rem;border-bottom:1px solid #eee;cursor:pointer;transition:background-color .3s}.parking-list li:hover{background-color:#f8f9fa}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:none;z-index:999}.overlay.active{display:block}.loader-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#fffc;display:flex;align-items:center;justify-content:center;z-index:1100;transition:opacity .3s ease}.loader-overlay.hidden{opacity:0;pointer-events:none}.loader{width:60px;height:60px;border:6px solid #dfe6ec;border-top-color:#3498db;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.auth-modal{display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;padding:2rem;border-radius:10px;box-shadow:0 5px 20px #0003;z-index:1001;width:90%;max-width:400px}.auth-modal.active{display:block}.auth-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #eee}.auth-modal-header h2{margin:0;color:#2c3e50;font-size:1.5rem}.auth-modal-close{background:none;border:none;font-size:1.8rem;cursor:pointer;color:#666;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;transition:color .2s ease;line-height:1}.auth-modal-close:hover{color:#2c3e50}.auth-form input{width:100%;padding:.8rem;margin-bottom:1rem;border:1px solid #ddd;border-radius:5px;background-color:#fff!important;color:#2c3e50!important}.password-input-wrapper{position:relative;margin-bottom:1rem}.password-input-wrapper input{padding-right:2.5rem;margin-bottom:0;background-color:#fff!important;color:#2c3e50!important}.auth-form .password-input-wrapper .password-toggle{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;padding:0;width:24px;height:24px;font-size:1.1rem;color:#666;display:flex;align-items:center;justify-content:center;transition:color .2s ease;z-index:1;line-height:1}.password-toggle:hover{color:#2c3e50}.password-toggle:focus{outline:none}.auth-form button{width:100%;padding:.8rem;background-color:#3498db;color:#fff;border:none;border-radius:5px;cursor:pointer}@media (max-width: 768px){.sidebar{width:100%;right:-100%}.video-container{height:300px}.parking-info{flex-direction:column;gap:1rem}.legend{justify-content:center}.video-controls{flex-direction:column;gap:.8rem}.left-controls{width:100%;justify-content:space-between}.video-btn,.sidebar-toggle{flex:1;text-align:center;padding:.8rem .5rem}.sidebar-toggle{width:100%}}@media (max-width: 480px){.video-btn,.sidebar-toggle{font-size:.9rem;padding:.7rem .4rem}.main-content,.video-section{padding:1rem}}.parkings-list-section{width:100%}.parkings-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:2rem;margin-top:1rem}.parking-card{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;overflow:hidden;cursor:pointer;transition:transform .3s ease,box-shadow .3s ease;display:flex;flex-direction:column}.parking-card:hover{transform:translateY(-5px);box-shadow:0 5px 20px #00000026}.parking-card-image{position:relative;width:100%;height:200px;background:linear-gradient(45deg,#333,#555);overflow:hidden}.parking-card-image img{width:100%;height:100%;object-fit:cover}.parking-card-image .no-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1rem}.parking-card-status{position:absolute;top:10px;right:10px;padding:.4rem .8rem;border-radius:20px;color:#fff;font-size:.85rem;font-weight:700}.parking-card-content{padding:1.5rem;flex-grow:1}.parking-card-title{font-size:1.3rem;color:#2c3e50;margin-bottom:.5rem;font-weight:700}.parking-card-address{color:#666;font-size:.95rem;margin-bottom:1rem}.parking-card-stats{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.stat-item{display:flex;justify-content:space-between;font-size:.9rem}.stat-label{color:#666}.stat-value{font-weight:700;color:#2c3e50}.parking-card-occupancy{font-size:.9rem;margin-top:.5rem;padding-top:.5rem;border-top:1px solid #eee}.parking-card-footer{padding:1rem 1.5rem;background-color:#f8f9fa;border-top:1px solid #eee}.view-details{color:#3498db;font-weight:700;font-size:.95rem}.loading-message,.empty-message,.error-message{grid-column:1 / -1;text-align:center;padding:3rem;color:#666;font-size:1.1rem}.error-message{color:#e74c3c}@media (max-width: 768px){.parkings-grid{grid-template-columns:1fr;gap:1.5rem}.parking-card-image{height:180px}}.admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem;margin-top:1rem}.admin-card{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;padding:2rem;cursor:pointer;transition:transform .3s ease,box-shadow .3s ease;text-align:center}.admin-card:hover{transform:translateY(-5px);box-shadow:0 5px 20px #00000026}.admin-card-icon{font-size:3rem;margin-bottom:1rem}.admin-card h3{color:#2c3e50;margin-bottom:.5rem;font-size:1.2rem}.admin-card p{color:#666;font-size:.9rem;margin:0}.auth-error{display:block;color:#e74c3c;margin-bottom:1rem;padding:.75rem;background:#fee;border-radius:5px;border:1px solid #fcc;font-size:.9rem}@media (max-width: 768px){.admin-grid{grid-template-columns:1fr}}#parkingStatusCard label:hover{background:#ffffff4d!important}#parkingStatusCard label:active{background:#fff6!important}#parkingStatusToggle:disabled{opacity:.6;cursor:not-allowed}.edit-parking-modal{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;z-index:2000}.edit-parking-modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#00000080}.edit-parking-modal-content{position:relative;background:#fff;border-radius:12px;box-shadow:0 5px 30px #0000004d;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;z-index:2001}.edit-parking-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #eee}.edit-parking-modal-header h2{margin:0;color:#2c3e50}.edit-parking-modal-body{padding:1.5rem}@media (max-width: 768px){.edit-parking-modal-content{width:95%;max-height:95vh}.edit-parking-modal-body{padding:1rem}}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000}.modal-content{position:relative;background:#fff;border-radius:12px;box-shadow:0 5px 30px #0000004d;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;z-index:2001}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #eee}.modal-header h2{margin:0;color:#2c3e50;font-size:1.5rem}.modal-body{padding:1.5rem;color:#2c3e50}.modal-footer{padding:1rem 1.5rem 1.5rem;display:flex;gap:.75rem;justify-content:flex-end;border-top:1px solid #eee}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:700;color:#2c3e50}.form-control{width:100%;padding:.75rem;border:2px solid #bdc3c7;border-radius:5px;font-size:1rem;color:#2c3e50!important;background-color:#fff!important;box-sizing:border-box;transition:border-color .3s,box-shadow .3s}.form-control:hover{border-color:#95a5a6;background-color:#fff!important;color:#2c3e50!important}.form-control:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a;background-color:#fff!important;color:#2c3e50!important}.form-control::placeholder{color:#95a5a6!important;opacity:1}.form-control:disabled{background-color:#ecf0f1!important;color:#7f8c8d!important;cursor:not-allowed;opacity:.7}@media (max-width: 768px){.modal-content{width:95%;max-height:95vh}.modal-body{padding:1rem}}.toast-container{position:fixed;top:20px;right:20px;z-index:10000;display:flex;flex-direction:column;gap:10px;max-width:400px;pointer-events:none}.toast{background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;padding:0;opacity:0;transform:translate(400px);transition:all .3s ease;pointer-events:auto;overflow:hidden}.toast-show{opacity:1;transform:translate(0)}.toast-hide{opacity:0;transform:translate(400px)}.toast-content{display:flex;align-items:center;gap:12px;padding:16px 20px}.toast-icon{font-size:1.5rem;flex-shrink:0}.toast-message{flex:1;font-size:.95rem;color:#2c3e50;line-height:1.4}.toast-close{background:none;border:none;font-size:1.5rem;color:#95a5a6;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:color .2s}.toast-close:hover{color:#2c3e50}.toast-success{border-left:4px solid #27ae60}.toast-success .toast-icon{color:#27ae60}.toast-error{border-left:4px solid #e74c3c}.toast-error .toast-icon{color:#e74c3c}.toast-warning{border-left:4px solid #f39c12}.toast-warning .toast-icon{color:#f39c12}.toast-info{border-left:4px solid #3498db}.toast-info .toast-icon{color:#3498db}@media (max-width: 768px){.toast-container{top:10px;right:10px;left:10px;max-width:none}.toast{transform:translateY(-100px)}.toast-show{transform:translateY(0)}.toast-hide{transform:translateY(-100px)}}.confirm-container{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10001;pointer-events:none}.confirm-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s ease;pointer-events:auto}.confirm-overlay.confirm-show{opacity:1}.confirm-overlay.confirm-hide{opacity:0}.confirm-dialog{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000004d;max-width:500px;width:90%;max-height:90vh;overflow:hidden;transform:scale(.9);transition:transform .2s ease;pointer-events:auto}.confirm-overlay.confirm-show .confirm-dialog{transform:scale(1)}.confirm-overlay.confirm-hide .confirm-dialog{transform:scale(.9)}.confirm-header{padding:1.5rem 1.5rem 1rem;border-bottom:1px solid #eee}.confirm-title{margin:0;font-size:1.25rem;font-weight:700;color:#2c3e50}.confirm-body{padding:1.5rem}.confirm-message{margin:0;font-size:1rem;color:#34495e;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}.confirm-footer{padding:1rem 1.5rem 1.5rem;display:flex;gap:.75rem;justify-content:flex-end;border-top:1px solid #eee}.confirm-button{padding:.75rem 1.5rem;border:none;border-radius:6px;color:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:opacity .2s,transform .1s;min-width:100px}.confirm-button:hover{opacity:.9;transform:translateY(-1px)}.confirm-button:active{transform:translateY(0)}.confirm-button.confirm-cancel{background:#95a5a6}.confirm-button.confirm-ok{font-weight:700}@media (max-width: 768px){.confirm-dialog{width:95%;max-width:none}.confirm-header,.confirm-body,.confirm-footer{padding:1rem}.confirm-footer{flex-direction:column}.confirm-button{width:100%}}/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */.pswp{--pswp-bg: #000;--pswp-placeholder-bg: #222;--pswp-root-z-index: 100000;--pswp-preloader-color: rgba(79, 79, 79, .4);--pswp-preloader-color-secondary: rgba(255, 255, 255, .9);--pswp-icon-color: #fff;--pswp-icon-color-secondary: #4f4f4f;--pswp-icon-stroke-color: #4f4f4f;--pswp-icon-stroke-width: 2px;--pswp-error-text-color: var(--pswp-icon-color)}.pswp{position:fixed;top:0;left:0;width:100%;height:100%;z-index:var(--pswp-root-z-index);display:none;touch-action:none;outline:0;opacity:.003;contain:layout style size;-webkit-tap-highlight-color:rgba(0,0,0,0)}.pswp:focus{outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--open{display:block}.pswp,.pswp__bg{transform:translateZ(0);will-change:opacity}.pswp__bg{opacity:.005;background:var(--pswp-bg)}.pswp,.pswp__scroll-wrap{overflow:hidden}.pswp__scroll-wrap,.pswp__bg,.pswp__container,.pswp__item,.pswp__content,.pswp__img,.pswp__zoom-wrap{position:absolute;top:0;left:0;width:100%;height:100%}.pswp__img,.pswp__zoom-wrap{width:auto;height:auto}.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--click-to-zoom.pswp--zoomed-in .pswp__img{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,.pswp__img{cursor:-webkit-zoom-out;cursor:-moz-zoom-out;cursor:zoom-out}.pswp__container,.pswp__img,.pswp__button,.pswp__counter{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__item{z-index:1;overflow:hidden}.pswp__hidden{display:none!important}.pswp__content{pointer-events:none}.pswp__content>*{pointer-events:auto}.pswp__error-msg-container{display:grid}.pswp__error-msg{margin:auto;font-size:1em;line-height:1;color:var(--pswp-error-text-color)}.pswp .pswp__hide-on-close{opacity:.005;will-change:opacity;transition:opacity var(--pswp-transition-duration) cubic-bezier(.4,0,.22,1);z-index:10;pointer-events:none}.pswp--ui-visible .pswp__hide-on-close{opacity:1;pointer-events:auto}.pswp__button{position:relative;display:block;width:50px;height:60px;padding:0;margin:0;overflow:hidden;cursor:pointer;background:none;border:0;box-shadow:none;opacity:.85;-webkit-appearance:none;-webkit-touch-callout:none}.pswp__button:hover,.pswp__button:active,.pswp__button:focus{transition:none;padding:0;background:none;border:0;box-shadow:none;opacity:1}.pswp__button:disabled{opacity:.3;cursor:auto}.pswp__icn{fill:var(--pswp-icon-color);color:var(--pswp-icon-color-secondary)}.pswp__icn{position:absolute;top:14px;left:9px;width:32px;height:32px;overflow:hidden;pointer-events:none}.pswp__icn-shadow{stroke:var(--pswp-icon-stroke-color);stroke-width:var(--pswp-icon-stroke-width);fill:none}.pswp__icn:focus{outline:0}div.pswp__img--placeholder,.pswp__img--with-bg{background:var(--pswp-placeholder-bg)}.pswp__top-bar{position:absolute;left:0;top:0;width:100%;height:60px;display:flex;flex-direction:row;justify-content:flex-end;z-index:10;pointer-events:none!important}.pswp__top-bar>*{pointer-events:auto;will-change:opacity}.pswp__button--close{margin-right:6px}.pswp__button--arrow{position:absolute;width:75px;height:100px;top:50%;margin-top:-50px}.pswp__button--arrow:disabled{display:none;cursor:default}.pswp__button--arrow .pswp__icn{top:50%;margin-top:-30px;width:60px;height:60px;background:none;border-radius:0}.pswp--one-slide .pswp__button--arrow{display:none}.pswp--touch .pswp__button--arrow{visibility:hidden}.pswp--has_mouse .pswp__button--arrow{visibility:visible}.pswp__button--arrow--prev{right:auto;left:0}.pswp__button--arrow--next{right:0}.pswp__button--arrow--next .pswp__icn{left:auto;right:14px;transform:scaleX(-1)}.pswp__button--zoom{display:none}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__zoom-icn-bar-v{display:none}.pswp__preloader{position:relative;overflow:hidden;width:50px;height:60px;margin-right:auto}.pswp__preloader .pswp__icn{opacity:0;transition:opacity .2s linear;animation:pswp-clockwise .6s linear infinite}.pswp__preloader--active .pswp__icn{opacity:.85}@keyframes pswp-clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pswp__counter{height:30px;margin-top:15px;margin-inline-start:20px;font-size:14px;line-height:30px;color:var(--pswp-icon-color);text-shadow:1px 1px 3px var(--pswp-icon-color-secondary);opacity:.85}.pswp--one-slide .pswp__counter{display:none}
