:root {
    --bg-primary: #f8f9fa; /* Light gray background */
    --bg-secondary: #ffffff; /* White background for panels */
    --text-primary: #212529; /* Dark text */
    --text-secondary: #6c757d; /* Gray text for labels */
    --accent: #0d6efd; /* Standard Primary Blue */
    --accent-hover: #0b5ed7;
    --border: #ced4da;
    --panel-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --font-primary: 'Inter', sans-serif;
    --font-serif: 'Inter', sans-serif; /* Keep it simple, remove serif */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-weight: 600;
    color: var(--text-primary);
}

/* Fallback for the text-gradient class if used, just simple solid color */
.text-gradient {
    color: var(--text-primary);
}

.container {
    max-width: 480px; 
    margin: 0 auto;
    padding: 20px;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Renamed visually to simple-panel but keeping the class for HTML compatibility */
.glass-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px; /* Simpler borders */
    padding: 24px;
    box-shadow: var(--panel-shadow);
}

.input-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}

.input-field {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-field:focus {
    outline: 0;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn-primary, .btn-success, .btn-danger {
    font-weight: 500;
    font-size: 1rem;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.15s ease-in-out;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-success { 
    background-color: #198754; 
    color: #ffffff; 
}
.btn-success:hover {
    background-color: #157347;
}

.btn-danger { 
    background-color: #dc3545; 
    color: #ffffff; 
}
.btn-danger:hover {
    background-color: #bb2d3b;
}

/* Navbar */
.top-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 100;
}
.nav-brand {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.15s;
}
.nav-links a:hover {
    color: var(--accent);
}
.btn-logout {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
}
.btn-logout:hover {
    color: #dc3545;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #e9ecef; /* Simple gray placeholder background */
}

.bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 24px;
    z-index: 10;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.floating-widget {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 10;
}

.flex-between { display: flex; justify-content: space-between; align-items: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-sm { font-size: 0.85rem; }
