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

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 400px;
    background: white;
    padding: 30px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    overflow-y: auto;
    max-height: 100vh;
    z-index: 1;
    -webkit-overflow-scrolling: touch;
}

#map {
    flex: 1;
    height: 100vh;
    position: relative;
}

.file-input-container {
    margin-bottom: 20px;
}

.search-container {
    margin: 0 0 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.search-container h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

#predictive-search, #city-search, .gender-filter {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

#predictive-search:focus, #city-search:focus, .gender-filter:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.suggestions-container {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.suggestion-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f5f5f5;
}

.suggestion-item .value {
    font-size: 15px;
    margin-bottom: 4px;
    color: #333;
}

.suggestion-item .label {
    font-size: 13px;
    color: #666;
}

.filter-container {
    margin-bottom: 20px;
}

.filter-container h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

#towns-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.town-filter {
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
}

.town-filter.active {
    background: #007bff;
    color: white;
}

#location-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-item {
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    border: 1px solid #ddd;
}

.location-item:hover {
    background-color: #f0f0f0;
}

.location-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.location-details {
    color: #666;
    font-size: 14px;
}

.info-window-content {
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.profile-header {
    background: #4285f4;
    color: white;
    padding: 15px;
    position: relative;
}

.profile-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

.join-date {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
}

.contact-badge {
    background: #4caf50;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 8px;
}

.profile-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-quote {
    padding: 15px;
    font-style: italic;
    color: #666;
    background: #f8f9fa;
    margin: 10px 0;
    border-left: 4px solid #4285f4;
}

.profile-details {
    padding: 15px;
}

.language-section {
    font-size: 14px;
    color: #666;
}

.action-icons {
    display: flex;
    justify-content: space-around;
    padding: 10px 15px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.icon-button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

.icon-button:hover {
    transform: scale(1.2);
}

.message-button {
    padding: 15px;
    text-align: center;
}

.send-message {
    background: #4285f4;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.send-message:hover {
    background: #3367d6;
}

.report-link {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #eee;
}

.report-marker {
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.report-marker:hover {
    text-decoration: underline;
}

/* Responsive design */
/* (Old mobile media query removed to avoid conflict with new sidebar implementation) */

/* Google Maps custom styles */
.gm-style-iw {
    padding: 0 !important;
    max-height: 600px !important;
    user-select: none !important;
}

.gm-style-iw-a {
    cursor: pointer;
}

.gm-style-iw-a.draggable {
    cursor: grab !important;
}

.gm-style-iw-a.dragging {
    cursor: grabbing !important;
}

.gm-style-iw-d {
    overflow-y: auto !important;
    max-height: 600px !important;
    padding: 0 !important;
}

.gm-style-iw-c {
    padding: 0 !important;
    width: 400px !important;
    max-width: 400px !important;
    max-height: 600px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    transition: none !important; /* Remove transition for smoother dragging */
}

/* Keep the default info window tail/arrow */
.gm-style-iw-t::after {
    background: linear-gradient(45deg, #ffffff 50%, rgba(255, 255, 255, 0) 51%, rgba(255, 255, 255, 0) 100%) !important;
    box-shadow: -2px 2px 2px 0 rgba(178, 178, 178, .4) !important;
}

.gm-style .gm-style-iw-tc {
    display: none !important;
}

.profile-header-banner {
    background: #000;
    color: white;
    padding: 20px;
    text-align: center;
}

.profile-header-banner h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.location-info {
    margin-top: 8px;
    font-size: 16px;
    color: #e0e0e0;
    font-weight: 500;
}

.profile-subtitle {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.profile-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.send-email-button {
    display: block;
    width: calc(100% - 40px);
    margin: 20px auto;
    padding: 12px;
    background: #4285f4;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    text-align: center;
    letter-spacing: 1px;
}

.send-email-button:hover:not(.disabled) {
    background: #3367d6;
    transform: translateY(-1px);
}

.send-email-button.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.send-email-button.disabled:hover {
    background: #ccc;
    transform: none;
}

.profile-description {
    padding: 24px 30px;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    border-bottom: 1px solid #e8e8e8;
    font-family: 'Georgia', serif;
    font-style: italic;
    background-color: #fafafa;
    position: relative;
}

.profile-description:before {
    content: "\201C";
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 40px;
    color: #e0e0e0;
    font-family: Georgia, serif;
    line-height: 0.8;
}

.profile-description:after {
    content: "\201D";
    position: absolute;
    bottom: 0;
    right: 15px;
    font-size: 40px;
    color: #e0e0e0;
    font-family: Georgia, serif;
    line-height: 0.8;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .gm-style .gm-style-iw-c {
        max-width: 320px !important;
    }

    .profile-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Remove default info window close button styles */
.gm-ui-hover-effect {
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    top: 0 !important;
    right: 0 !important;
}

/* Search input */
#search {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Location list */
#locationList {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    height: calc(100vh - 120px); /* Account for search inputs */
}

#locationList .info-window-content {
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

#locationList .profile-header-banner {
    margin-top: 20px;
}

#locationList .profile-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

#locationList .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#locationList .email-modal {
    position: fixed;
    left: 300px; /* Align with sidebar width */
}

/* Town filters */
#townFilters {
    margin-bottom: 20px;
}

.town-filter {
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
}

.town-filter.active {
    background: #007bff;
    color: white;
}

/* Info Window Styles */
.info-window {
    padding: 0;
    max-width: 400px;
    font-family: Arial, sans-serif;
}

.info-window-header {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    margin: 0 auto 15px;
    display: block;
    object-fit: cover;
}

.profile-name {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.profile-location {
    font-size: 16px;
    color: #666;
    margin: 5px 0;
}

.profile-description {
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
}

.profile-detail {
    font-size: 14px;
}

.detail-label {
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
}

.detail-value {
    color: #333;
}

/* Google Maps InfoWindow Overrides */
.gm-style-iw {
    padding: 0 !important;
    max-height: 90vh !important;
}

.gm-style-iw-d {
    overflow-y: auto !important;
    max-height: 80vh !important;
    padding: 0 !important;
}

.gm-style-iw-c {
    padding: 0 !important;
    width: 400px !important;
    max-width: 400px !important;
    max-height: 80vh !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.gm-ui-hover-effect {
    top: 0 !important;
    right: 0 !important;
}

.email-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.email-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.email-modal-header {
    background: #4285f4;
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.email-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.email-modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.email-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

textarea.email-input {
    resize: vertical;
    min-height: 120px;
}

.send-button {
    background: #4285f4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

.send-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Ensure modal is above Google Maps elements */
.email-modal {
    z-index: 10000;
}

.gender-filter-container {
    margin: 20px 0 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.gender-filter-container h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.gender-filter {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    cursor: pointer;
}

.gender-filter:hover {
    border-color: #c0c0c0;
}

.gender-filter:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

/* Slider styles */
.slider-container {
    width: 100%;
    padding: 10px 0 15px;
}

.slider-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Dual slider styles - these are now handled in the HTML inline styles */

/* Add styles for the new filters */

.filter-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.filter-select:hover {
    border-color: #c0c0c0;
}

.filter-select:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

/* Dropdown search inputs */
.dropdown-search {
    position: relative;
    width: 100%;
}

.dropdown-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    color: #333;
}

.dropdown-input:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.dropdown-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
}

/* Selected tags */
.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    min-height: 30px;
}

.tag {
    display: inline-flex;
    align-items: center;
    background: #e7f0fe;
    color: #1a73e8;
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 13px;
    max-width: 100%;
}

.tag-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    background: #1a73e8;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    line-height: 1;
}

/* Ensure consistent styling for all search suggestions divs */
.search-suggestions {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: none;
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

/* Specific positioning for state and country suggestions */
#state-suggestions,
#country-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 2px;
}

.suggestion-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

/* Multi-select dropdown styles */
.multi-select {
    width: 100%;
    min-height: 120px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    color: #333;
    font-size: 14px;
}

.multi-select:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.multi-select option {
    padding: 8px 12px;
    margin-bottom: 2px;
    border-radius: 2px;
    cursor: pointer;
}

.multi-select option:checked {
    background-color: #e7f0fe;
    color: #1a73e8;
    font-weight: bold;
}

.multi-select option:hover {
    background-color: #f5f5f5;
}

/* Style for the selected spiritual interests tags */
#selected-spiritual.selected-tags {
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #f9f9f9;
    min-height: 40px;
}

/* Testimonial Button */
.testimonial-button {
    display: block;
    width: calc(100% - 40px);
    margin: 20px auto;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    text-align: center;
    letter-spacing: 1px;
}

.testimonial-button:hover {
    background-color: #45a049;
    transform: translateY(-1px);
}

/* Testimonial Modal */
.testimonial-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.testimonial-modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-modal-header h3 {
    margin: 0;
    color: #333;
}

.testimonial-input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

/* Testimonials Section */
.testimonials-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.testimonials-section h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.testimonial {
    background-color: white;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.testimonial-author {
    color: #888;
    font-size: 14px;
    text-align: right;
}

.no-testimonials {
    color: #888;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.warning-message {
    margin-top: 8px;
    padding: 12px;
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 4px;
    color: #c53030;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(197, 48, 48, 0.1);
}

.warning-message i {
    color: #c53030;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
} 

/* Improved Report User Modal Styles */
.report-modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.45);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: background 0.2s;
}

.report-modal-content {
    background: #fff;
    padding: 32px 28px 24px 28px;
    border-radius: 16px;
    width: 95%;
    max-width: 380px;
    position: relative;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.18);
    animation: popIn 0.22s cubic-bezier(.4,2,.6,1) both;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@keyframes popIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.report-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.report-modal-header h3 {
    margin: 0;
    font-size: 1.25em;
    font-weight: 600;
    color: #2d3571;
    letter-spacing: 0.5px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0 6px;
    color: #b0b0b0;
    transition: color 0.2s;
    border-radius: 50%;
    line-height: 1;
}
.close-modal:hover {
    color: #2d3571;
    background: #f0f0f0;
}

.report-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.report-modal-body .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.report-modal-body label {
    font-size: 1rem;
    font-weight: 500;
    color: #2d3571;
    margin-bottom: 2px;
}

.report-modal-body select,
.report-modal-body textarea {
    font-size: 1rem;
    padding: 10px 12px;
    border-radius: 7px;
    border: 1.5px solid #e0e3ea;
    background: #f8f9fb;
    color: #222;
    transition: border 0.2s;
    outline: none;
}
.report-modal-body select:focus,
.report-modal-body textarea:focus {
    border: 1.5px solid #2d3571;
    background: #fff;
}

.report-modal-body textarea {
    min-height: 90px;
    resize: vertical;
}

.submit-report-button {
    margin-top: 10px;
    background: linear-gradient(90deg, #2d3571 60%, #4e5ba6 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 0;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px #0001;
    transition: background 0.18s, box-shadow 0.18s;
    width: 100%;
    letter-spacing: 0.5px;
}
.submit-report-button:hover {
    background: linear-gradient(90deg, #1a204a 60%, #2d3571 100%);
    box-shadow: 0 4px 16px #0002;
}

/* Login prompt overlay styles */
#login-prompt-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: center;
    z-index: 1000;
    max-width: 400px;
    width: 90%;
    animation: fadeIn 0.3s ease-in-out;
}

#login-prompt-overlay h2 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

#login-prompt-overlay p {
    margin: 0 0 20px 0;
    color: #666;
    line-height: 1.5;
    font-size: 16px;
}

#login-prompt-overlay .button-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

#login-prompt-overlay button {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    font-size: 14px;
    min-width: 100px;
}

#login-prompt-overlay button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

#login-prompt-overlay button:last-child {
    background: #34a853;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Mobile sidebar toggle button */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 1000;
    background: #1a73e8;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    align-items: center;
    gap: 8px;
}

.sidebar-toggle:hover {
    background: #1557b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.toggle-icon {
    font-size: 18px;
}

.toggle-text {
    font-size: 14px;
}

/* Mobile sidebar overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: flex;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        z-index: 1001;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .container {
        flex-direction: column;
    }
    
    #map {
        height: calc(100vh - 64px);
        width: 100%;
    }
} 