/* Map Container */
.creators-map {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #000000;
    background-color: #000000;
}

/* Map Controls */
.map-controls {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.map-search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.map-search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(129, 43, 140, 0.2);
}

.map-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    pointer-events: none;
}

/* Modal Styles */
.creator-modal {
    position: fixed;
    inset: 0;
    z-index: 99999999;
    /* Above everything else */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.creator-modal.active {
    opacity: 1;
    visibility: visible;
}

.creator-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.creator-modal-content {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.creator-modal.active .creator-modal-content {
    transform: translateY(0);
}

.creator-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.creator-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.creator-image-wrapper {
    width: 100%;
    height: 250px;
    position: relative;
}

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

.creator-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-secondary) 0%, transparent 100%);
}

.creator-info {
    padding: 25px;
    text-align: center;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.creator-language-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.creator-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.creator-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.creator-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    opacity: 0.9;
}

/* Custom Map Marker Label (if needed) */
.gm-style .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 8px !important;
}