body { margin: 0; padding: 0; font-family: Arial, sans-serif; background: #e9ecef; }
#map { height: 100vh; width: 100vw; z-index: 1; }

/* --- AUTHENTICATION OVERLAY --- */
#authOverlay { display: flex; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.85); z-index: 3000; justify-content: center; align-items: center; }
.auth-card { background: white; padding: 30px; border-radius: 10px; width: 320px; box-shadow: 0 4px 20px rgba(0,0,0,0.5); display: flex; flex-direction: column; gap: 15px; }
.auth-card h2 { margin: 0 0 10px 0; text-align: center; color: #ff5722; }
.auth-card input { padding: 12px; font-size: 14px; border: 1px solid #ccc; border-radius: 6px; }
.auth-card button { padding: 12px; background: #ff5722; color: white; border: none; font-weight: bold; font-size: 15px; border-radius: 6px; cursor: pointer; transition: 0.3s; }
.auth-card button:hover { background: #e64a19; }
.switch-text { text-align: center; font-size: 13px; color: #0277bd; cursor: pointer; margin-top: 5px; font-weight: bold; }
.switch-text:hover { text-decoration: underline; }

/* --- MAP FORMS & CONTROLS --- */
.popup-form { display: flex; flex-direction: column; gap: 8px; width: 240px; max-height: 400px; overflow-y: auto; overflow-x: hidden; }
.popup-form input[type="text"], .popup-form input[type="url"], .popup-form select { padding: 6px; font-size: 13px; width: 90%; }
.popup-form button { padding: 8px; background: #ff5722; color: white; border: none; cursor: pointer; font-weight: bold; border-radius: 4px; }
.gmap-btn { display: inline-block; margin-top: 5px; padding: 6px 10px; background: #4285F4; color: white; text-decoration: none; border-radius: 4px; font-size: 13px; text-align: center; }
.action-buttons { display: flex; gap: 8px; margin-top: 10px; }
.edit-btn { background: #ffc107; color: black; padding: 6px; border: none; cursor: pointer; font-size: 12px; border-radius: 4px; font-weight: bold; flex: 1; }
.delete-btn { background: #dc3545; color: white; padding: 6px; border: none; cursor: pointer; font-size: 12px; border-radius: 4px; font-weight: bold; flex: 1; }

.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 13px; margin: 4px 0; background: #f9f9f9; padding: 6px; border-radius: 4px; border: 1px solid #ccc; }
.checkbox-group label { display: flex; align-items: center; gap: 4px; cursor: pointer; }

.padav-text { font-size: 13px; color: #d84315; margin-top: 5px; font-weight: bold; padding: 4px; background: #ffeee8; border-radius: 4px; }
.padav-row { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.padav-divider { padding-top: 8px; border-top: 1px dashed #ccc; }
.add-more-btn { background: #2196F3 !important; padding: 5px !important; font-size: 11px !important; margin-top: 2px; }

.top-controls { position: absolute; top: 15px; right: 15px; z-index: 1000; display: flex; gap: 10px; }
.control-btn { background: white; padding: 8px 15px; border: 2px solid #333; border-radius: 20px; cursor: pointer; font-weight: bold; font-size: 14px; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.control-btn:hover { background: #f0f0f0; }

/* --- ADMIN DASHBOARD MODAL --- */
#adminModal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; max-height: 85vh; background: white; z-index: 2000; box-shadow: 0 5px 25px rgba(0,0,0,0.6); border-radius: 10px; padding: 20px; overflow-y: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 15px; }
.section-title { font-size: 15px; color: #333; margin: 15px 0 10px 0; border-bottom: 1px dashed #ccc; padding-bottom: 5px; }

.data-card { background: #f8f9fa; border: 1px solid #dee2e6; padding: 12px; border-radius: 8px; margin-bottom: 10px; font-size: 13px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.data-card b { font-size: 15px; color: #212529; }
.card-actions { margin-top: 10px; display: flex; gap: 10px; }
.approve-btn { background: #28a745; color: white; border: none; padding: 6px 12px; cursor: pointer; border-radius: 4px; font-weight: bold; flex: 1; }
.reject-btn { background: #dc3545; color: white; border: none; padding: 6px 12px; cursor: pointer; border-radius: 4px; font-weight: bold; flex: 1; }