:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{margin:0;padding:0;box-sizing:border-box}body,html{width:100%;height:100%}.App{min-height:100vh;width:100%;display:flex;justify-content:center;align-items:center;background-color:#f5f5f5}.auth-container{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 10px #0000001a;width:300px}.auth-container h1{margin-bottom:2rem;color:#333;text-align:center}.auth-toggle{display:flex;margin-bottom:1.5rem}.auth-toggle button{flex:1;padding:.5rem;border:1px solid #ddd;background:#fff;cursor:pointer}.auth-toggle button.active{background:#007bff;color:#000}.auth-toggle button:first-child{border-radius:4px 0 0 4px}.auth-toggle button:last-child{border-radius:0 4px 4px 0}form{display:flex;flex-direction:column;gap:1rem}input{padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}button[type=submit]{padding:.75rem;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem}button[type=submit]:hover{background:#0056b3}.parking-container{width:100%;max-width:1200px;padding:2rem}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.header h1{color:#333;margin:0}.logout-btn{padding:.5rem 1rem;background:#dc3545;color:#fff;border:none;border-radius:4px;cursor:pointer}.logout-btn:hover{background:#c82333}.parking-container h2{color:#333;margin-bottom:1.5rem}.parking-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.parking-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 10px #0000001a;border:1px solid #ddd}.parking-card h3{color:#333;margin-bottom:.5rem}.address{color:#666;margin-bottom:1rem;font-style:italic}.space-info p{margin:.25rem 0;color:#555}.status{margin-top:1rem;padding:.5rem;border-radius:4px;text-align:center;font-weight:700}.status.available{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.status.full{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.nav-tabs{display:flex;gap:1rem;margin-bottom:2rem;border-bottom:2px solid #ddd}.nav-tabs button{padding:.75rem 1.5rem;background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;font-size:1rem;color:#666;transition:all .3s ease}.nav-tabs button.active{color:#007bff;border-bottom-color:#007bff}.nav-tabs button:hover{color:#007bff}.book-btn{width:100%;padding:.75rem;background:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem;margin-top:1rem;transition:background .3s ease}.book-btn:hover{background:#218838}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal{background:#fff;border-radius:8px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #ddd}.modal-header h2{margin:0;color:#333}.close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#999;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.close-btn:hover{color:#333}.modal-body{padding:1.5rem}.space-info{background:#f8f9fa;padding:1rem;border-radius:4px;margin-bottom:1.5rem}.space-info h3{margin:0 0 .5rem;color:#333}.space-info p{margin:.25rem 0;color:#666}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;color:#333;font-weight:500}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.form-group textarea{resize:vertical;min-height:80px}.form-row{display:flex;gap:1rem}.form-row .form-group{flex:1}.booking-summary,.payment-summary{background:#e9ecef;padding:1rem;border-radius:4px;margin-bottom:1rem}.booking-summary h3,.payment-summary h3{margin:0 0 .5rem;color:#333}.booking-summary p,.payment-summary p{margin:.25rem 0;color:#555}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.modal-actions button{padding:.75rem 1.5rem;border:none;border-radius:4px;cursor:pointer;font-size:1rem}.modal-actions button[type=button]{background:#6c757d;color:#fff}.modal-actions button[type=submit],.modal-actions button:not([type]){background:#007bff;color:#fff}.modal-actions button:hover{opacity:.9}.modal-actions button:disabled{opacity:.6;cursor:not-allowed}.bookings-container{width:100%}.loading{text-align:center;padding:2rem;color:#666}.no-bookings{text-align:center;padding:3rem;color:#666}.bookings-list{display:flex;flex-direction:column;gap:1.5rem}.booking-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 10px #0000001a;border:1px solid #ddd}.booking-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.booking-header h3{margin:0;color:#333}.status-badge,.payment-badge{padding:.25rem .75rem;border-radius:12px;color:#fff;font-size:.875rem;font-weight:500}.booking-details{margin-bottom:1rem}.booking-details p{margin:.5rem 0;color:#555}.payment-status{margin-bottom:1rem}.booking-actions{display:flex;gap:1rem}.pay-btn{padding:.5rem 1rem;background:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.875rem}.pay-btn:hover{background:#218838}.cancel-btn{padding:.5rem 1rem;background:#dc3545;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.875rem}.cancel-btn:hover{background:#c82333}.error{background:#f8d7da;color:#721c24;padding:.75rem;border-radius:4px;margin-bottom:1rem;border:1px solid #f5c6cb}.success{background:#d4edda;color:#155724;padding:.75rem;border-radius:4px;margin-bottom:1rem;border:1px solid #c3e6cb}.cash-payment-info{margin-bottom:1rem}.info-box{background:#fff3cd;border:1px solid #ffeaa7;border-radius:4px;padding:1rem}.info-box h4{color:#856404;margin:0 0 .5rem;font-size:1rem}.info-box p{color:#856404;margin:.5rem 0;line-height:1.4}.referral-status{margin-top:.5rem;padding:.5rem;border-radius:4px;font-size:.875rem}.referral-status.valid{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.referral-status.invalid{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.discount{color:#28a745;font-weight:500}.surcharge{color:#dc3545;font-weight:500}.referral-section{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 10px #0000001a;border:1px solid #ddd;margin-bottom:2rem}.referral-section h3{margin:0 0 1rem;color:#333}.referral-code-display{background:#f8f9fa;padding:1rem;border-radius:4px;text-align:center;margin-bottom:1rem}.referral-code{font-size:1.5rem;font-weight:700;color:#007bff;letter-spacing:2px}.referral-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-top:1rem}.stat-card{text-align:center;padding:1rem;background:#f8f9fa;border-radius:4px}.stat-value{font-size:1.5rem;font-weight:700;color:#007bff}.stat-label{color:#666;font-size:.875rem}.referral-requirement,.generate-code-section{text-align:center;padding:2rem}.referral-requirement ul{text-align:left;display:inline-block;margin:1rem 0}.generate-btn,.copy-btn{background:#007bff;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-size:1rem;margin-top:1rem}.generate-btn:hover,.copy-btn:hover{background:#0056b3}.copy-btn:disabled{background:#28a745;cursor:not-allowed}.referral-instructions{margin:1.5rem 0}.referral-instructions h4{color:#333;margin-bottom:.5rem}.referral-instructions ul{padding-left:1.5rem}.referral-instructions li{margin:.5rem 0;color:#555}.referred-users{margin-top:2rem}.referred-users h4{color:#333;margin-bottom:1rem}.referral-list{display:flex;flex-direction:column;gap:.75rem}.referral-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#f8f9fa;border-radius:4px;border:1px solid #dee2e6}.referral-info{display:flex;flex-direction:column;gap:.25rem}.user-name{font-weight:500;color:#333}.referral-date{font-size:.875rem;color:#666}.referral-reward{font-weight:700;color:#28a745;font-size:1.1rem}.surcharge-info{color:#dc3545;font-size:.9rem}.discount-info{color:#28a745;font-size:.9rem}@media(max-width:768px){.parking-grid{grid-template-columns:1fr}.modal{width:95%;margin:1rem}.form-row,.booking-actions{flex-direction:column}.nav-tabs{flex-direction:column;gap:0}.nav-tabs button{border-bottom:1px solid #ddd;border-radius:0}}
