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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #3a3a3a;
    margin: 0;
    padding: 0;
}

#app-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
}

h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 300;
}

main {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.intro-section {
    background: white;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.intro-text {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
    text-align: left;
}

.search-container {
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.search-fields {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.search-field {
    flex: 1;
    min-width: 200px;
}

.search-field input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.search-field input:focus {
    outline: none;
    border-color: #667eea;
}

.search-button,
.clear-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.clear-button {
    background: #e0e0e0;
    color: #333;
}

.clear-button:hover {
    background: #d0d0d0;
}

.search-results {
    max-width: 1200px;
    margin: 1rem auto 0;
    padding: 0.75rem;
    background: #f9f9f9;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #666;
    display: none;
}

.search-results.visible {
    display: block;
}

.category-filter {
    max-width: 1200px;
    margin: 1rem auto 0;
}

.category-toggle {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-toggle:hover {
    background: #f0f0f0;
    border-color: #667eea;
}

.category-toggle .arrow {
    transition: transform 0.3s;
}

.category-toggle.active .arrow {
    transform: rotate(180deg);
}

.category-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
    border: 0 solid #e0e0e0;
    border-radius: 0 0 5px 5px;
    margin-top: -2px;
}

.category-dropdown.open {
    max-height: 300px;
    overflow-y: auto;
    border-width: 2px;
    border-top: 1px solid #e0e0e0;
}

.category-list {
    padding: 0.5rem;
}

.category-list .loading-categories {
    padding: 0.5rem;
    color: #666;
    text-align: center;
}

.category-checkbox {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 3px;
}

.category-checkbox:hover {
    background: #f5f5f5;
}

.category-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.category-checkbox label {
    cursor: pointer;
    flex: 1;
    user-select: none;
}

.category-count {
    color: #666;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

/* Celebrity Directory Section */
.personality-directory {
    background: white;
    padding: 2rem 1rem;
    border-top: 1px solid #e0e0e0;
}

.personality-directory h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.alphabetic-list {
    max-width: 1200px;
    margin: 0 auto;
}

.alphabetic-list .loading-list {
    padding: 1rem;
    color: #666;
    text-align: center;
    font-size: 0.85rem;
}

.letter-group {
    margin-bottom: 1.5rem;
}

.letter-header {
    font-size: 1rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #667eea;
}

.letter-entries {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.3rem;
}

@media (min-width: 768px) {
    .letter-entries {
        grid-template-columns: repeat(2, 1fr);
    }
}

.personality-link {
    padding: 0.35rem 0.5rem;
    color: #5568d3;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s;
    display: block;
    font-size: 0.85rem;
    cursor: pointer;
}

.personality-link:hover {
    background: #f5f5f5;
    color: #764ba2;
    text-decoration: underline;
}

.country-personality-item {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.country-personality-item .personality-link {
    display: inline;
    font-size: 1rem;
    font-weight: 600;
}

.country-personality-item .meta-text {
    display: inline;
    font-size: 0.85rem;
    color: #666;
    margin-left: 0.5rem;
}

.celebrity-of-day-section {
    background: transparent;
    padding: 0;
    margin: 1rem auto 1.5rem;
    max-width: 1200px;
}

.celebrity-of-day-section h2 {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.celebrity-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.celebrity-image {
    flex-shrink: 0;
    width: 250px;
}

.celebrity-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.celebrity-info {
    flex: 1;
}

.celebrity-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.celebrity-info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.celebrity-info h3 a:hover {
    color: #667eea;
    text-decoration: underline;
}

.celebrity-birthplace {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.celebrity-excerpt {
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.read-more-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.read-more-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .celebrity-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .celebrity-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.born-today-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
}

.born-today-section h2 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 600;
}

.born-today-list {
    font-size: 0.85rem;
    line-height: 1.8;
}

.born-today-list .personality-link {
    display: inline;
    padding: 0.35rem 0.5rem;
}

.born-today-list .no-results {
    color: #666;
    font-style: italic;
    margin: 0;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 500px;
    z-index: 1;
    flex: 1;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    z-index: 1000;
}

.loading.hidden {
    display: none;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

footer {
    background: #2c3e50;
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin: 0.5rem 0;
}

.footer-attribution {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.footer-attribution a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-attribution a:hover {
    color: white;
}

.footer-social {
    margin-bottom: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #1877f2;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.social-link:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.social-link svg {
    flex-shrink: 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 0;
}

.leaflet-popup-content {
    margin: 0;
    min-width: 250px;
}

.popup-content {
    padding: 1rem;
}

.popup-content h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.popup-content .popup-link {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.popup-content .popup-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.popup-content .birth-info {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.popup-content .description {
    line-height: 1.5;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.popup-content .categories {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.popup-content .category {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(102, 126, 234, 0.6);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: rgba(102, 126, 234, 0.8);
    color: white;
    font-weight: bold;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    header {
        padding: 1.5rem 1rem;
    }
    
    #map {
        min-height: 400px;
    }
    
    .popup-content {
        min-width: 200px;
    }
    
    .search-fields {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-field {
        min-width: 100%;
    }
    
    .search-button,
    .clear-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.2rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .loading {
        padding: 1.5rem 2rem;
    }
}

/* Feedback Button - Fixed position */
.feedback-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 998;
}

.feedback-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Feedback Modal */
.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.feedback-modal.active {
    display: flex;
}

.feedback-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.feedback-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.feedback-modal-close:hover {
    transform: rotate(90deg);
}

#feedbackForm {
    padding: 2rem;
}

.feedback-form-group {
    margin-bottom: 1.5rem;
}

.feedback-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.feedback-form-group input,
.feedback-form-group select,
.feedback-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.feedback-form-group input:focus,
.feedback-form-group select:focus,
.feedback-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.feedback-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.feedback-form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.85rem;
}

.feedback-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feedback-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.feedback-btn-cancel,
.feedback-btn-submit {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.feedback-btn-cancel {
    background: #e0e0e0;
    color: #666;
}

.feedback-btn-cancel:hover {
    background: #d0d0d0;
}

.feedback-btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feedback-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.feedback-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.feedback-result {
    margin-top: 1rem;
}

.feedback-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
}

.feedback-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .feedback-button {
        bottom: 20px;
        right: 20px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .feedback-form-row {
        grid-template-columns: 1fr;
    }
    
    #feedbackForm {
        padding: 1.5rem;
    }
    
    .feedback-form-actions {
        flex-direction: column-reverse;
    }
    
    .feedback-btn-cancel,
    .feedback-btn-submit {
        width: 100%;
    }
}

/* ========================================
   PERSONALITY DETAIL PAGES
   ======================================== */

/* Header specific to personality pages */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 1;
}

/* Personality card */
.personality-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.personality-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1rem;
}

.personality-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    font-weight: 600;
    color: #333;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.category-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

/* Detailed Bio Styles */
.detailed-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.detailed-bio h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.detailed-bio h3:first-child {
    margin-top: 0;
}

.detailed-bio p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.detailed-bio ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.detailed-bio li {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.detailed-bio li strong {
    color: #667eea;
    font-weight: 600;
}

.detailed-bio .bio-quote {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    font-style: italic;
    font-size: 1.1rem;
    color: #444;
}

.detailed-bio .bio-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: #667eea;
    text-align: right;
}

.detailed-bio img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.detailed-bio figure {
    margin: 1.5rem 0;
}

.detailed-bio figure img {
    margin: 0;
}

.detailed-bio figcaption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
    text-align: center;
}

/* Desktop only: Enable float alignment for left/right images */
@media (min-width: 769px) {
    .detailed-bio figure.img-left {
        float: left;
        max-width: 350px;
        margin: 0 1.5rem 1rem 0;
    }

    .detailed-bio figure.img-right {
        float: right;
        max-width: 350px;
        margin: 0 0 1rem 1.5rem;
    }

    .detailed-bio figure.img-center {
        margin: 1.5rem auto;
        text-align: center;
        max-width: 600px;
    }
}

/* Mobile: All images centered, no text wrapping */
@media (max-width: 768px) {
    .detailed-bio figure.img-left,
    .detailed-bio figure.img-right,
    .detailed-bio figure.img-center {
        float: none !important;
        margin: 1.5rem auto !important;
        text-align: center;
        max-width: 100%;
    }
}

/* Map section */
.map-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

#map {
    width: 100%;
    height: 500px;
    border-radius: 8px;
}

/* Born Today on personality pages */
.born-today-list .personality-link {
    display: inline;
    padding: 0.35rem 0.5rem;
}

.born-today-list .no-results {
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Personality directory on detail pages */
.personality-directory {
    background: white;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.personality-directory h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.personality-link.current {
    background: #667eea;
    color: white;
    font-weight: 600;
    pointer-events: none;
}

/* Responsive adjustments for personality pages */
@media (max-width: 768px) {
    .personality-card {
        padding: 1.5rem;
    }
    
    .personality-name {
        font-size: 2rem;
    }
    
    .personality-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    #map {
        height: 350px;
    }
}

/* Map Controls Container */
.map-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Toggle Buttons (Museums & Clustering) */
.toggle-museums-btn,
.toggle-clustering-btn {
    padding: 0.75rem 1.5rem;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.toggle-museums-btn {
    background: #e67e22;
}

.toggle-museums-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

.toggle-museums-btn.active {
    background: #e67e22;
}

.toggle-clustering-btn {
    background: #667eea;
}

.toggle-clustering-btn:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.toggle-clustering-btn.active {
    background: #4a5ab3;
}

/* Museum Popup Styles */
.museum-popup .museum-icon {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.museum-popup h3 {
    color: #e67e22;
    margin-bottom: 0.75rem;
}

.museum-popup .museum-location {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.museum-popup .museum-personality {
    margin: 0.75rem 0;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 5px;
    font-size: 0.9rem;
}

.museum-popup .museum-personality a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.museum-popup .museum-personality a:hover {
    text-decoration: underline;
}

.museum-popup .museum-website {
    margin-top: 1rem;
}

.museum-popup .museum-website a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #e67e22;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.museum-popup .museum-website a:hover {
    background: #d35400;
}
