.tlsmap-container {
    border: 1px solid #ccc;
    border-radius: 4px;
    position: relative;
    background: #f8f9fa;
}

/* Professional Premium Info Panel */
.tls-info-panel {
    position: absolute;
    top: 55px; /* Positioned below Layer Control */
    right: 12px;
    width: 300px;
    background: white;
    z-index: 1001;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
    display: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tls-info-panel .panel-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #eee;
}

.tls-info-panel .panel-body {
    padding: 20px;
}

.tls-info-panel .close-panel {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tls-info-panel h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 300; 
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.tls-info-panel .status-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.tls-info-panel .price-tag {
    font-size: 24px;
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.tls-info-panel .detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.tls-info-panel .detail-item {
    display: flex;
    flex-direction: column;
}

.tls-info-panel .detail-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 500;
}

.tls-info-panel .detail-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.tls-info-panel .agent-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tls-info-panel .agent-avatar {
    width: 32px;
    height: 32px;
    background: #eef2f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a73e8;
    font-weight: bold;
    font-size: 12px;
}

/* Status Colors */
.status-pill.available { background: #e6fcf5; color: #0ca678; border: 1px solid #c3fae8; }
.status-pill.reserved { background: #fff9db; color: #f08c00; border: 1px solid #fff3bf; }
.status-pill.sold { background: #f1f3f5; color: #495057; border: 1px solid #e9ecef; }

@media (max-width: 768px) {
    .tls-info-panel {
        width: calc(100% - 24px);
        left: 12px;
        right: 12px;
        top: auto;
        bottom: 20px;
    }
}

/* 1. Search UI - Only icon initially */
.tlsmap-search-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    transition: all 0.3s ease;
}

.tlsmap-search-btn {
    width: 36px;
    height: 36px;
    background: white;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    z-index: 1005;
}

.tlsmap-search-input {
    width: 0;
    height: 36px;
    padding: 0;
    border: none;
    background: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 0 8px 8px 0;
    margin-left: -2px;
}

.tlsmap-search-wrapper.active .tlsmap-search-input {
    width: 220px;
    padding: 0 15px;
    border: 2px solid rgba(0,0,0,0.2);
    border-left: none;
}

.tlsmap-search-wrapper.active .tlsmap-search-btn {
    border-radius: 4px 0 0 4px;
}

/* 2. Status (Legend) - Icon toggle & Round colors */
.tls-legend-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.tls-legend-toggle {
    width: 36px;
    height: 36px;
    background: white;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.info.legend {
    background: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: none; /* Hidden by default */
    margin: 0;
}

.tls-legend-wrapper.active .info.legend {
    display: block;
}

.info.legend i {
    width: 12px;
    height: 12px;
    border-radius: 50% !important; /* Force round as requested */
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Watermark Overlay */
.map-watermark-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 450;
    pointer-events: none;
    opacity: 0.15;
    max-width: 450px;
    width: 70%;
}

/* Coordinates */
.mouse-coords {
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    border: none !important;
}

.tls-footer-copyright {
    font-size: 10px !important;
    color: #1a73e8 !important;
    margin-top: 8px;
    font-weight: 300;
}

/* Save Form Details */
.tlsmap-save-form { padding: 5px; min-width: 220px; }
.tlsmap-save-form input, .tlsmap-save-form select, .tlsmap-save-form textarea {
    width: 100%; margin-bottom: 10px; padding: 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px;
}
.tlsmap-save-btn {
    background: #1a73e8; color: white; border: none; padding: 10px; border-radius: 6px; cursor: pointer; width: 100%;
}
